libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobilebackup2_version_exchange()

mobilebackup2_error_t mobilebackup2_version_exchange ( mobilebackup2_client_t  client,
double  local_versions[],
char  count,
double *  remote_version 
)

Performs the mobilebackup2 protocol version exchange.

Parameters
clientThe MobileBackup client to use.
local_versionsAn array of supported versions to send to the remote.
countThe number of items in local_versions.
remote_versionHolds the protocol version of the remote on success.
Returns
MOBILEBACKUP2_E_SUCCESS on success, or a MOBILEBACKUP2_E_* error code otherwise.