summaryrefslogtreecommitdiffstats
path: root/usbmuxd.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-03-28 01:29:57 +0100
committerGravatar Nikias Bassen2009-03-28 01:29:57 +0100
commit50fc7586b2abf8a5ce999235c82d9de1bab98bfd (patch)
tree9d40ee339ca716bb43ad57817a4c0dc76b76d3b6 /usbmuxd.h
parent91d76eb4e449dec0cb23d56886817d9910963559 (diff)
downloadusbmuxd-50fc7586b2abf8a5ce999235c82d9de1bab98bfd.tar.gz
usbmuxd-50fc7586b2abf8a5ce999235c82d9de1bab98bfd.tar.bz2
debugging output fixed
'libusbmuxd' added to simplify use of usbmuxd in external tools testclient removed setting of configuration 3 disabled (to be handled by udev)
Diffstat (limited to 'usbmuxd.h')
-rw-r--r--usbmuxd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usbmuxd.h b/usbmuxd.h
index 896bb39..0749c87 100644
--- a/usbmuxd.h
+++ b/usbmuxd.h
@@ -24,15 +24,16 @@ struct usbmuxd_connect_request {
uint16_t reserved; // set to zero
} __attribute__((__packed__));
-struct am_device_info {
+struct usbmuxd_device {
uint32_t device_id;
uint16_t product_id;
char serial_number[40];
} __attribute__((__packed__));
+typedef struct usbmuxd_device usbmuxd_device_t;
struct usbmuxd_device_info_record {
struct usbmuxd_header header;
- struct am_device_info device_info;
+ struct usbmuxd_device device;
char padding[222];
} __attribute__((__packed__));