mm_sync_control()

Send commands to a synchronization in progress.

Synopsis:

#include <mmsync/mmsyncclient.h>
int mm_sync_control( mmsync_hdl_t *hdl, 
                         uint32_t op_id, 
                         strm_dict_t *extended_options, 
                         uint32_t flags )

Arguments:

hdl

The mm-sync connection handle

op_id

The operation ID of the synchronization being controlled

extended_options

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

Must be 0; reserved for future use

Library:

mmsyncclient

Description:

Send commands to a synchronization in progress. Currently, the only command supported is priority_folder_set, which initiates a priority folder synchronization.

Returns:

0 on success, -1 on failure