The 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 synchronization status of a single mediastore.
For the mm_sync_status_get_bydbname() and mm_sync_status_get_byid() functions, you must provide one mmsync_status_t object as an input/output argument, to give these functions a space to write 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 in the function call, because this function returns the status of all active synchronizations (or as many statuses as can be stored in the array).