diff options
Diffstat (limited to 'libusbmuxd/usbmuxd.h')
| -rw-r--r-- | libusbmuxd/usbmuxd.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libusbmuxd/usbmuxd.h b/libusbmuxd/usbmuxd.h index eabd216..b8283d6 100644 --- a/libusbmuxd/usbmuxd.h +++ b/libusbmuxd/usbmuxd.h | |||
| @@ -38,7 +38,7 @@ extern "C" { | |||
| 38 | typedef struct { | 38 | typedef struct { |
| 39 | int handle; | 39 | int handle; |
| 40 | int product_id; | 40 | int product_id; |
| 41 | char uuid[41]; | 41 | char udid[41]; |
| 42 | } usbmuxd_device_info_t; | 42 | } usbmuxd_device_info_t; |
| 43 | 43 | ||
| 44 | /** | 44 | /** |
| @@ -104,9 +104,9 @@ int usbmuxd_get_device_list(usbmuxd_device_info_t **device_list); | |||
| 104 | int usbmuxd_device_list_free(usbmuxd_device_info_t **device_list); | 104 | int usbmuxd_device_list_free(usbmuxd_device_info_t **device_list); |
| 105 | 105 | ||
| 106 | /** | 106 | /** |
| 107 | * Gets device information for the device specified by uuid. | 107 | * Gets device information for the device specified by udid. |
| 108 | * | 108 | * |
| 109 | * @param uuid A device uuid of the device to look for. If uuid is NULL, | 109 | * @param udid A device UDID of the device to look for. If udid is NULL, |
| 110 | * This function will return the first device found. | 110 | * This function will return the first device found. |
| 111 | * @param device Pointer to a previously allocated (or static) | 111 | * @param device Pointer to a previously allocated (or static) |
| 112 | * usbmuxd_device_info_t that will be filled with the device info. | 112 | * usbmuxd_device_info_t that will be filled with the device info. |
| @@ -114,7 +114,7 @@ int usbmuxd_device_list_free(usbmuxd_device_info_t **device_list); | |||
| 114 | * @return 0 if no matching device is connected, 1 if the device was found, | 114 | * @return 0 if no matching device is connected, 1 if the device was found, |
| 115 | * or a negative value on error. | 115 | * or a negative value on error. |
| 116 | */ | 116 | */ |
| 117 | int usbmuxd_get_device_by_uuid(const char *uuid, usbmuxd_device_info_t *device); | 117 | int usbmuxd_get_device_by_udid(const char *udid, usbmuxd_device_info_t *device); |
| 118 | 118 | ||
| 119 | /** | 119 | /** |
| 120 | * Request proxy connect to | 120 | * Request proxy connect to |
