Message API

An introduction to the message-related APIs in the header file c8messages.h, including their purposes and parameters.

A C8_MESSAGE_TYPE describes whether a message is entering or exiting an internal window.

Most adapters will use C8_MESSAGE_POSITIVE for all messages. A normal message is a positive message. In other words, it corresponds to a row of data in the stream.

The other types of messages are not currently intended for use with adapters.

In general, when a "const *" is returned for data associated with an object (for example, a schema associated with a message), the validity of the returned pointer is limited to the lifetime of the pointer's owner (for example, the message). Attempts to de-reference the pointer after the owner no longer exists may result in a runtime exception.