libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ lockdownd_query_type()

lockdownd_error_t lockdownd_query_type ( lockdownd_client_t  client,
char **  type 
)

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 lockdownd client
typeThe type returned by the service daemon. Pass NULL to ignore.
Returns
LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG when client is NULL