FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kHealth_AddUpdateHandler ( kHealth  health,
kCallbackFx  function,
kPointer  receiver 
)

Registers a callback for periodic health polling.

This function can be used to register a callback that should be invoked periodically to poll for health updates. Multiple callbacks can be registered.

Parameters
healthHealth service.
functionCallback function.
receiverContext pointer for callback function (can be kNULL).
Returns
Operation status.