qwf_net_EventClientCallback_t

QWF Network Manager event-handler prototype

Synopsis:

#include <qwf/qwf_net.h>
typedef void(* qwf_net_EventClientCallback_t)(qwf_Context_t *pCtx,
             qwf_net_Event_t *pEvent,
             void *pClientData);

Arguments:

pCtx
A pointer to the QWF service context
pEvent
A pointer to a QWF Network Manager event object. This object is destroyed by the service when the handler returns.
pClientData
An optional pointer to extra data to be passed back to the client so it can use the data when executing this event handler. You can specify NULL if you're not using extra data.

Library:

qwf_interface

Description:

This data type provides a prototype for registering a function that handles QWF Network Manager events. A client must provide a function that matches this prototype when calling qwf_net_RegisterCallback().

The event-handler function accepts input arguments containing pointers to the QWF service context, an event object and optionally, extra data. The function doesn't return anything.