mmsync_status_t

Synchronization status of a single mediastore

Synopsis:

#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;

Data:

uint32_t operation_id
Synchronization operation ID.
uint16_t passes_done
Flags indicating which synchronization passes have been completed.
uint16_t current_pass
Flag indicating which pass, if any, is in progress.
uint16_t passes_to_do
Flags indicating which synchronization passes have not yet been started.
uint16_t reserved[1]
Packing element.
uint32_t flags
Operation status flags (currently, only MM_SYNC_THREAD_IS_SUSPENDED is supported).

Library:

mmsyncclient

Description:

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