libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ restored_client_new()

restored_error_t restored_client_new ( idevice_t  device,
restored_client_t client,
const char *  label 
)

Creates a new restored client for the device.

Parameters
deviceThe device to create a restored client for
clientThe pointer to the location of the new restored_client
labelThe label to use for communication. Usually the program name.
Returns
RESTORE_E_SUCCESS on success, RESTORE_E_INVALID_ARG when client is NULL