libimobiledevice  1.3.0-dirty
API Documentation - Return to Homepage

◆ lockdownd_get_value_cu()

lockdownd_error_t lockdownd_get_value_cu ( lockdownd_client_t client,
const char * domain,
const char * key,
plist_t * value )

Retrieves a value using an optional domain and/or key name from a lockdown client with established CU pairing session.

This is used to retrieve values that are only accessible after a CU pairing has been established, and would otherwise only be accessible with a valid device pairing.

Parameters
clientA lockdown client with an established CU pairing.
domainThe domain to query on or NULL for global domain
keyThe key name to request or NULL to query for all keys
valueA plist node representing the result value node
Returns
LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG if one of the parameters is invalid, LOCKDOWN_E_NO_RUNNING_SESSION if the current lockdown client does not have an established CU pairing session, or a LOCKDOWN_E_* error code otherwise.