Event interface

The mm-sync API defines general event categories and specific event types as well as structures for holding information returned for particular event types. This information can include the synchronization operation ID, timestamps, and details on the database file entries that were added or modified.

All events have an associated mmsync_event_t structure, which is returned by mm_sync_events_get(). The mmsync_event_t structure contains the event type, its size, and a field to access additional data. The data field points to the contents of another structure that holds extra information specific to the event's type.