libimobiledevice  1.3.0-dirty
API Documentation - Return to Homepage

◆ afc_get_device_info_key()

afc_error_t afc_get_device_info_key ( afc_client_t client,
const char * key,
char ** value )

Get a specific key of the device info list for a client connection.

Known key values are: Model, FSTotalBytes, FSFreeBytes and FSBlockSize. This is a helper function for afc_get_device_info().

Parameters
clientThe client to get device info for.
keyThe key to get the value of.
valueThe value for the key if successful or NULL otherwise.
Returns
AFC_E_SUCCESS on success or an AFC_E_* error value.