summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-03-22 16:07:07 +0100
committerGravatar Martin Szulecki2012-03-22 16:07:07 +0100
commit7457346a7ad7dddc0188cd1cd6fc5920aabfe39a (patch)
tree4d9aa158fc2fb1e05d3349ca8a5ec22207a9a7e4 /include
parent0331050438d1bd5824237d13240a766a9b503b55 (diff)
downloadlibimobiledevice-7457346a7ad7dddc0188cd1cd6fc5920aabfe39a.tar.gz
libimobiledevice-7457346a7ad7dddc0188cd1cd6fc5920aabfe39a.tar.bz2
Mass replace UUID by UDID, which is the correct term for it
Diffstat (limited to 'include')
-rw-r--r--include/libimobiledevice/libimobiledevice.h6
-rw-r--r--include/libimobiledevice/lockdown.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/include/libimobiledevice/libimobiledevice.h b/include/libimobiledevice/libimobiledevice.h
index d0923d6..f7b747a 100644
--- a/include/libimobiledevice/libimobiledevice.h
+++ b/include/libimobiledevice/libimobiledevice.h
@@ -66,7 +66,7 @@ enum idevice_event_type {
66/** Provides information about the occured event. */ 66/** Provides information about the occured event. */
67typedef struct { 67typedef struct {
68 enum idevice_event_type event; /**< The event type. */ 68 enum idevice_event_type event; /**< The event type. */
69 const char *uuid; /**< The device unique id. */ 69 const char *udid; /**< The device unique id. */
70 int conn_type; /**< The connection type. Currently only 1 for usbmuxd. */ 70 int conn_type; /**< The connection type. Currently only 1 for usbmuxd. */
71} idevice_event_t; 71} idevice_event_t;
72 72
@@ -83,7 +83,7 @@ idevice_error_t idevice_get_device_list(char ***devices, int *count);
83idevice_error_t idevice_device_list_free(char **devices); 83idevice_error_t idevice_device_list_free(char **devices);
84 84
85/* device structure creation and destruction */ 85/* device structure creation and destruction */
86idevice_error_t idevice_new(idevice_t *device, const char *uuid); 86idevice_error_t idevice_new(idevice_t *device, const char *udid);
87idevice_error_t idevice_free(idevice_t device); 87idevice_error_t idevice_free(idevice_t device);
88 88
89/* connection/disconnection */ 89/* connection/disconnection */
@@ -97,7 +97,7 @@ idevice_error_t idevice_connection_receive(idevice_connection_t connection, char
97 97
98/* misc */ 98/* misc */
99idevice_error_t idevice_get_handle(idevice_t device, uint32_t *handle); 99idevice_error_t idevice_get_handle(idevice_t device, uint32_t *handle);
100idevice_error_t idevice_get_uuid(idevice_t device, char **uuid); 100idevice_error_t idevice_get_udid(idevice_t device, char **udid);
101 101
102#ifdef __cplusplus 102#ifdef __cplusplus
103} 103}
diff --git a/include/libimobiledevice/lockdown.h b/include/libimobiledevice/lockdown.h
index 97df6b0..4e7a4e8 100644
--- a/include/libimobiledevice/lockdown.h
+++ b/include/libimobiledevice/lockdown.h
@@ -94,7 +94,7 @@ lockdownd_error_t lockdownd_goodbye(lockdownd_client_t client);
94 94
95/* Helper */ 95/* Helper */
96void lockdownd_client_set_label(lockdownd_client_t client, const char *label); 96void lockdownd_client_set_label(lockdownd_client_t client, const char *label);
97lockdownd_error_t lockdownd_get_device_uuid(lockdownd_client_t control, char **uuid); 97lockdownd_error_t lockdownd_get_device_udid(lockdownd_client_t control, char **udid);
98lockdownd_error_t lockdownd_get_device_name(lockdownd_client_t client, char **device_name); 98lockdownd_error_t lockdownd_get_device_name(lockdownd_client_t client, char **device_name);
99lockdownd_error_t lockdownd_get_sync_data_classes(lockdownd_client_t client, char ***classes, int *count); 99lockdownd_error_t lockdownd_get_sync_data_classes(lockdownd_client_t client, char ***classes, int *count);
100lockdownd_error_t lockdownd_data_classes_free(char **classes); 100lockdownd_error_t lockdownd_data_classes_free(char **classes);