Synchronization status of a single mediastore
#include <mmsync/types.h>
typedef struct s_mmsync_status { uint32_t operation_id; uint16_t passes_done; uint16_t current_pass; uint16_t passes_to_do; uint16_t reserved[1]; uint32_t flags; } mmsync_status_t;
The mmsync_status_t data type stores the synchronization status of a single mediastore. For the mm_sync_status_get_bydbname() and mm_sync_status_get_byid() functions, you must provide an mmsync_status_t object as an input/output argument, to give these functions a space for writing the status results.
For mm_sync_status_get(), you must pass in an array of mmsync_status_t objects as well as the array size, because this function returns the statuses of all active synchronizations (or as many statuses as the array can store).