Error and message handlers

Most applications use callback routines to handle errors messages.

Client-Library provides in-line message handling as an alternative to callback message handling. In-line message handling gives an application control over when it handles messages. The ct_diag routine initializes in-line message handling at the connection level.

Client-Library and CS-Library use structures to return error and message information to message callback routines: