mm_sync_events_register()

Register and unregister for mmsync 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

event

The event to deliver when an mm-sync event is received; set to NULL to unregister

Library:

mmsyncclient

Description:

Register and unregister for mm-sync event notifications. While a synchronization operation is active, it sends events indicating its progress. Events include synchronization start, errors, updates, pass completions, and the overall operation completion.

Returns:

0 on success, -1 on failure