libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ restored_start_restore()

restored_error_t restored_start_restore ( restored_client_t  client,
plist_t  options,
uint64_t  version 
)

Requests to start a restore and retrieve it's port on success.

Parameters
clientThe restored client
optionsPLIST_DICT with options for the restore process or NULL
versionthe restore protocol version, see restored_query_type()
Returns
RESTORE_E_SUCCESS on success, RESTORE_E_INVALID_ARG if a parameter is NULL, RESTORE_E_START_RESTORE_FAILED if the request fails