mm_sync_events_register()

Register or unregister for mm-sync event notifications

Synopsis:

#include <mmsync/mmsyncclient.h>
int mm_sync_events_register( mmsync_hdl_t *hdl, 
                             struct sigevent *event )

Arguments:

hdl
The mm-sync connection handle pointer.
event
The event to deliver when an mm-sync event is received; set to NULL to unregister.

Library:

mmsyncclient

Description:

Register or unregister for mm-sync event notifications. When a synchronization is active, it sends events indicating its progress. These events include the synchronization start, errors, updates, pass completions, and the synchronization finish.

Returns:

0 on success, -1 on failure.