Send commands to a synchronization in progress.
#include <mmsync/mmsyncclient.h>
int mm_sync_control( mmsync_hdl_t *hdl, uint32_t op_id, strm_dict_t *extended_options, uint32_t flags )
The mm-sync connection handle
The operation ID of the synchronization being controlled
A set of key/value pairs with synchronization control commands, formatted as a comma-separated list of pairs, as follows: key1=value1,key2=value2,key3=value3,...
Key | Value | Description |
---|---|---|
action | Currently, only one action is supported: priority_folder_set | The action to perform on the synchronization |
folderID | The folderID of the mediastore folder to perform the action on | Used for actions requiring a folderID, such as priority_folder_set |
Action | Description |
---|---|
priority_folder_set | Initiates a priority folder synchronization. Requires the folderID key/value pair. |
Must be 0; reserved for future use
Send commands to a synchronization in progress. Currently, the only command supported is priority_folder_set, which initiates a priority folder synchronization.
0 on success, -1 on failure