Initializing help system before first use

XPRDsetmsgcb

XPRDsetmsgcb


Purpose
Set the message callback.
Synopsis
void XPRDsetmsgcb(void *ctx, long (*cbmsg)(void*,void *,char *,unsigned long));
Arguments
ctx 
Context to be passed to the callback routine
cbmsg 
Message callback. The first argument is always NULL; the second corresponds to ctx, the two final ones are the message buffer and its length
Further information
By default, messages produced by the library are sent to the default error stream.
Related topics