Get the status of a synchronization, based on the operation ID.
#include <mmsync/mmsyncclient.h>
int mm_sync_status_get_byid( mmsync_hdl_t *hdl, mmsync_status_t *status, uint32_t id, uint32_t flags )
The mm-sync connection handle
A status element to store the results in
The operation ID of the synchronization whose status is to be retrieved
Must be 0; reserved for future use
Get the status of a synchronization, based on the operation ID.
>=0 values indicate the number of results on success. When no synchronization with the given operation ID is found, the return value is 0 because there are no results; this is not considered an error case. This function returns -1 on failure.