diff options
| author | 2009-05-24 00:25:03 +0200 | |
|---|---|---|
| committer | 2009-05-24 00:25:03 +0200 | |
| commit | 36ea32e0064f33d6a285684c3069f4d75bbac7a8 (patch) | |
| tree | 039291b47e954fe8529f52e1fc71f7e924761a6a /src/iphone.h | |
| parent | 46f8d46845355e6a33a6dcb97ba11d4c4cab62eb (diff) | |
| parent | 435f5feb4b5c501db52743a170908687d3ba6f60 (diff) | |
| download | libimobiledevice-36ea32e0064f33d6a285684c3069f4d75bbac7a8.tar.gz libimobiledevice-36ea32e0064f33d6a285684c3069f4d75bbac7a8.tar.bz2 | |
Merge branch 'master' of git://github.com/MattColyer/libiphone into martin
Conflicts:
src/Makefile.am
Diffstat (limited to 'src/iphone.h')
| -rw-r--r-- | src/iphone.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/iphone.h b/src/iphone.h index 15515e3..94d2f9f 100644 --- a/src/iphone.h +++ b/src/iphone.h | |||
| @@ -22,24 +22,11 @@ | |||
| 22 | #ifndef IPHONE_H | 22 | #ifndef IPHONE_H |
| 23 | #define IPHONE_H | 23 | #define IPHONE_H |
| 24 | 24 | ||
| 25 | #ifndef USBMUX_H | 25 | #include <stdint.h> |
| 26 | #include "usbmux.h" | ||
| 27 | #warning usbmux not included? | ||
| 28 | #endif | ||
| 29 | |||
| 30 | #include <usb.h> | ||
| 31 | #include <libiphone/libiphone.h> | ||
| 32 | |||
| 33 | #define BULKIN 0x85 | ||
| 34 | #define BULKOUT 0x04 | ||
| 35 | 26 | ||
| 36 | struct iphone_device_int { | 27 | struct iphone_device_int { |
| 37 | char *buffer; | 28 | char *buffer; |
| 38 | struct usb_dev_handle *device; | 29 | uint32_t handle; |
| 39 | struct usb_device *__device; | ||
| 40 | }; | 30 | }; |
| 41 | 31 | ||
| 42 | // Function definitions | ||
| 43 | int send_to_phone(iphone_device_t phone, char *data, int datalen); | ||
| 44 | int recv_from_phone(iphone_device_t phone, char *data, int datalen, int timeout); | ||
| 45 | #endif | 32 | #endif |
