diff options
| author | 2008-08-19 22:55:46 +0200 | |
|---|---|---|
| committer | 2008-08-31 19:27:20 +0200 | |
| commit | 89050631439f71ad652e68b59020f8801e100e45 (patch) | |
| tree | d1b64235991578d6b6bec70a2a0c371c2171a2f7 /src/iphone.h | |
| parent | 318f4bd51a25d5572f2dfd6f26c89fce52f43076 (diff) | |
| download | libimobiledevice-89050631439f71ad652e68b59020f8801e100e45.tar.gz libimobiledevice-89050631439f71ad652e68b59020f8801e100e45.tar.bz2 | |
migrate iphone.c
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 |
