summaryrefslogtreecommitdiffstats
path: root/usbmuxd.h
diff options
context:
space:
mode:
authorGravatar Paul Sladen2009-03-29 19:04:38 +0200
committerGravatar Nikias Bassen2009-03-29 19:04:38 +0200
commit15ea7e8a03ab519115b19b4b84c2ead96bf6c88c (patch)
treede0fb8f9ec61411d53bd82c9bdbed74a133f1bdc /usbmuxd.h
parent50fc7586b2abf8a5ce999235c82d9de1bab98bfd (diff)
downloadusbmuxd-15ea7e8a03ab519115b19b4b84c2ead96bf6c88c.tar.gz
usbmuxd-15ea7e8a03ab519115b19b4b84c2ead96bf6c88c.tar.bz2
[PATCH] usbmuxd/libusbmuxd.h: separate logic from implementation
tweak public parameter and struct names for clarity fix usbmuxd_scan() to return number of devices per documentation expand public documentation in libusbmux.h Signed-off-by: Nikias Bassen <nikias@gmx.li>
Diffstat (limited to 'usbmuxd.h')
-rw-r--r--usbmuxd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usbmuxd.h b/usbmuxd.h
index 0749c87..cc9b9d7 100644
--- a/usbmuxd.h
+++ b/usbmuxd.h
@@ -1,3 +1,5 @@
+/* Protocol defintion for usbmuxd proxy protocol */
+
#ifndef __USBMUXD_H
#define __USBMUXD_H
@@ -29,7 +31,6 @@ struct usbmuxd_device {
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;