Frees message memory resources.
void PalmLsnFree( struct a_palm_msg * const msg )
msg The a_palm_msg instance to be freed.
The following example shows a partial listing for allocating the message structure, processing the message, and using PalmLsnFree to free resources.
a_palm_msg * ulMsg; ... // Allocate the message structure ulMsg = PalmLsnAllocate(); ... // Fill the message fields ret = PalmLsnDupMessage( ulMsg, msgBody ); ... // Process the message ret = PalmLsnProcess( ulMsg, configDb, NULL, handled ); ... // Free the message PalmLsnFree( ulMsg ); |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |