libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ lockdownd_get_value()

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

Retrieves a preferences plist using an optional domain and/or key name.

Parameters
clientAn initialized lockdownd client.
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 when client is NULL