mm_sync_status_get_byid()

Get the status of a synchronization, based on the operation ID.

Synopsis:

#include <mmsync/mmsyncclient.h>
int mm_sync_status_get_byid( mmsync_hdl_t *hdl, 
                             mmsync_status_t *status, 
                             uint32_t id, 
                             uint32_t flags )

Arguments:

hdl

The mm-sync connection handle

status

A status element to store the results in

id

The operation ID of the synchronization whose status is to be retrieved

flags

Must be 0; reserved for future use

Library:

mmsyncclient

Description:

Get the status of a synchronization, based on the operation ID.

Returns:

>=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.