diff options
Diffstat (limited to 'src/iphone.h')
| -rw-r--r-- | src/iphone.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/iphone.h b/src/iphone.h index f12d0eb..556a93a 100644 --- a/src/iphone.h +++ b/src/iphone.h | |||
| @@ -33,13 +33,13 @@ | |||
| 33 | #define BULKIN 0x85 | 33 | #define BULKIN 0x85 |
| 34 | #define BULKOUT 0x04 | 34 | #define BULKOUT 0x04 |
| 35 | 35 | ||
| 36 | typedef struct iPhone_s { | 36 | struct iphone_device_int { |
| 37 | char *buffer; | 37 | char *buffer; |
| 38 | struct usb_dev_handle *device; | 38 | struct usb_dev_handle *device; |
| 39 | struct usb_device *__device; | 39 | struct usb_device *__device; |
| 40 | } iPhone; | 40 | }; |
| 41 | 41 | ||
| 42 | // Function definitions | 42 | // Function definitions |
| 43 | int send_to_phone(iPhone *phone, char *data, int datalen); | 43 | int send_to_phone(iphone_device_t phone, char *data, int datalen); |
| 44 | int recv_from_phone(iPhone *phone, char *data, int datalen); | 44 | int recv_from_phone(iphone_device_t phone, char *data, int datalen); |
| 45 | #endif | 45 | #endif |
