summaryrefslogtreecommitdiffstats
path: root/include/libiphone
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-12-07 18:58:55 +0100
committerGravatar Matt Colyer2009-12-07 19:46:43 -0800
commitb9ecd70c30ac1fd7024cadfcda9c7be1d1f7f44f (patch)
tree0d4b425c9d4293f86224612c5d1fb29b99199082 /include/libiphone
parent62c23c1ccafedab1bf8bed2fb0e511462b8ab4cc (diff)
downloadlibimobiledevice-b9ecd70c30ac1fd7024cadfcda9c7be1d1f7f44f.tar.gz
libimobiledevice-b9ecd70c30ac1fd7024cadfcda9c7be1d1f7f44f.tar.bz2
cache device uuid in client struct
When accessing/storing key info with userprefs, a device uuid is required that makes it possible to distinguish between different devices. On execution of lockdownd_client_new, the uuid is queried via lockdown and now stored in the client struct for later reuse. This patch also removes the uuid parameter from lockdownd_pair().
Diffstat (limited to 'include/libiphone')
-rw-r--r--include/libiphone/lockdown.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libiphone/lockdown.h b/include/libiphone/lockdown.h
index daa5800..e6b75da 100644
--- a/include/libiphone/lockdown.h
+++ b/include/libiphone/lockdown.h
@@ -63,7 +63,7 @@ lockdownd_error_t lockdownd_start_service(lockdownd_client_t client, const char
63lockdownd_error_t lockdownd_stop_session(lockdownd_client_t client); 63lockdownd_error_t lockdownd_stop_session(lockdownd_client_t client);
64lockdownd_error_t lockdownd_send(lockdownd_client_t client, plist_t plist); 64lockdownd_error_t lockdownd_send(lockdownd_client_t client, plist_t plist);
65lockdownd_error_t lockdownd_recv(lockdownd_client_t client, plist_t *plist); 65lockdownd_error_t lockdownd_recv(lockdownd_client_t client, plist_t *plist);
66lockdownd_error_t lockdownd_pair(lockdownd_client_t client, char *uuid, char *host_id); 66lockdownd_error_t lockdownd_pair(lockdownd_client_t client, char *host_id);
67lockdownd_error_t lockdownd_get_device_uuid(lockdownd_client_t control, char **uuid); 67lockdownd_error_t lockdownd_get_device_uuid(lockdownd_client_t control, char **uuid);
68lockdownd_error_t lockdownd_get_device_name(lockdownd_client_t client, char **device_name); 68lockdownd_error_t lockdownd_get_device_name(lockdownd_client_t client, char **device_name);
69lockdownd_error_t lockdownd_enter_recovery(lockdownd_client_t client); 69lockdownd_error_t lockdownd_enter_recovery(lockdownd_client_t client);