libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ restored_query_type()

restored_error_t restored_query_type ( restored_client_t  client,
char **  type,
uint64_t *  version 
)

Query the type of the service daemon.

Depending on whether the device is queried in normal mode or restore mode, different types will be returned.

Parameters
clientThe restored client
typeThe type returned by the service daemon. Pass NULL to ignore.
versionThe restore protocol version. Pass NULL to ignore.
Returns
RESTORE_E_SUCCESS on success, RESTORE_E_INVALID_ARG when client is NULL