From 7457346a7ad7dddc0188cd1cd6fc5920aabfe39a Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 22 Mar 2012 16:07:07 +0100 Subject: Mass replace UUID by UDID, which is the correct term for it --- include/libimobiledevice/libimobiledevice.h | 6 +++--- include/libimobiledevice/lockdown.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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 { /** Provides information about the occured event. */ typedef struct { enum idevice_event_type event; /**< The event type. */ - const char *uuid; /**< The device unique id. */ + const char *udid; /**< The device unique id. */ int conn_type; /**< The connection type. Currently only 1 for usbmuxd. */ } idevice_event_t; @@ -83,7 +83,7 @@ idevice_error_t idevice_get_device_list(char ***devices, int *count); idevice_error_t idevice_device_list_free(char **devices); /* device structure creation and destruction */ -idevice_error_t idevice_new(idevice_t *device, const char *uuid); +idevice_error_t idevice_new(idevice_t *device, const char *udid); idevice_error_t idevice_free(idevice_t device); /* connection/disconnection */ @@ -97,7 +97,7 @@ idevice_error_t idevice_connection_receive(idevice_connection_t connection, char /* misc */ idevice_error_t idevice_get_handle(idevice_t device, uint32_t *handle); -idevice_error_t idevice_get_uuid(idevice_t device, char **uuid); +idevice_error_t idevice_get_udid(idevice_t device, char **udid); #ifdef __cplusplus } 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); /* Helper */ void lockdownd_client_set_label(lockdownd_client_t client, const char *label); -lockdownd_error_t lockdownd_get_device_uuid(lockdownd_client_t control, char **uuid); +lockdownd_error_t lockdownd_get_device_udid(lockdownd_client_t control, char **udid); lockdownd_error_t lockdownd_get_device_name(lockdownd_client_t client, char **device_name); lockdownd_error_t lockdownd_get_sync_data_classes(lockdownd_client_t client, char ***classes, int *count); lockdownd_error_t lockdownd_data_classes_free(char **classes); -- cgit v1.1-32-gdbae