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.
event
A sigevent to deliver when an mm-sync event occurs; use NULL to unregister from events.

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.