libimobiledevice  1.3.0-dirty
API Documentation - Return to Homepage

◆ lockdownd_get_device_name()

lockdownd_error_t lockdownd_get_device_name ( lockdownd_client_t client,
char ** device_name )

Retrieves the name of the device from lockdownd set by the user.

Parameters
clientAn initialized lockdownd client.
device_nameHolds the name of the device. The caller is responsible for freeing the memory.
Returns
LOCKDOWN_E_SUCCESS on success