From 15ea7e8a03ab519115b19b4b84c2ead96bf6c88c Mon Sep 17 00:00:00 2001 From: Paul Sladen Date: Sun, 29 Mar 2009 19:04:38 +0200 Subject: [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 --- usbmuxd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usbmuxd.h') 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; -- cgit v1.1-32-gdbae