libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobilebackup2_send_request()

mobilebackup2_error_t mobilebackup2_send_request ( mobilebackup2_client_t  client,
const char *  request,
const char *  target_identifier,
const char *  source_identifier,
plist_t  options 
)

Send a request to the connected mobilebackup2 service.

Parameters
client
requestThe request to send to the backup service. Currently, this is one of "Backup", "Restore", "Info", or "List".
target_identifierUDID of the target device.
source_identifierUDID of backup data?
optionsAdditional options in a plist of type PLIST_DICT.
Returns
MOBILEBACKUP2_E_SUCCESS if the request was successfully sent, or a MOBILEBACKUP2_E_* error value otherwise.