Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » MobiLink - Server-Initiated Synchronization » MobiLink Listener SDK for Palm » Message processing interface

PalmLsnAllocate function Next Page

PalmLsnFree function

Frees message memory resources.


void PalmLsnFree( struct a_palm_msg * const msg )

See also

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 );