diff options
author | Nikias Bassen | 2009-05-18 22:29:39 +0200 |
---|---|---|
committer | Matt Colyer | 2009-05-18 18:47:20 -0700 |
commit | 8eaac0513bfb238edec22d46320669f5c9c76542 (patch) | |
tree | 2db842339bf525d67017525bcbd3f4d35181e5ca /src/iphone.h | |
parent | dca1758c4f9602fc240c6a7c9ae45839e154d15f (diff) | |
download | libimobiledevice-8eaac0513bfb238edec22d46320669f5c9c76542.tar.gz libimobiledevice-8eaac0513bfb238edec22d46320669f5c9c76542.tar.bz2 |
Make use of usbmuxd and remove libusb dependencies
Signed-off-by: Matt Colyer <matt@colyer.name>
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 @@ #ifndef IPHONE_H #define IPHONE_H -#ifndef USBMUX_H -#include "usbmux.h" -#warning usbmux not included? -#endif - -#include <usb.h> -#include <libiphone/libiphone.h> - -#define BULKIN 0x85 -#define BULKOUT 0x04 +#include <stdint.h> struct iphone_device_int { char *buffer; - struct usb_dev_handle *device; - struct usb_device *__device; + uint32_t handle; }; -// Function definitions -int send_to_phone(iphone_device_t phone, char *data, int datalen); -int recv_from_phone(iphone_device_t phone, char *data, int datalen, int timeout); #endif |