summaryrefslogtreecommitdiffstats
path: root/iphone.h
diff options
context:
space:
mode:
authorGravatar Matt Colyer2008-07-29 10:13:37 -0700
committerGravatar Matt Colyer2008-07-29 10:13:37 -0700
commit3dc130f3049e250b2d5c0b48af1995fda2fad3d4 (patch)
tree9d801459ef68e83a0d4ca038c0589d8e4c8aa2b2 /iphone.h
parent6039e5bbfc36aa5210295c38f251ed178ce5adbb (diff)
downloadlibimobiledevice-3dc130f3049e250b2d5c0b48af1995fda2fad3d4.tar.gz
libimobiledevice-3dc130f3049e250b2d5c0b48af1995fda2fad3d4.tar.bz2
Autotooled the project with very basic versioning support.
Diffstat (limited to 'iphone.h')
-rw-r--r--iphone.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/iphone.h b/iphone.h
deleted file mode 100644
index a49b7ef..0000000
--- a/iphone.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/* iphone.h
- * iPhone struct
- * Written by FxChiP */
-
-#ifndef IPHONE_H
-#define IPHONE_H
-
-#ifndef USBMUX_H
-#include "usbmux.h"
-#warning usbmux not included?
-#endif
-
-#include <usb.h>
-
-#define BULKIN 0x85
-#define BULKOUT 0x04
-
-typedef struct {
- char *buffer;
- struct usb_dev_handle *device;
- struct usb_device *__device;
-} iPhone;
-
-// Function definitions
-void free_iPhone(iPhone *victim);
-iPhone *get_iPhone();
-int send_to_phone(iPhone *phone, char *data, int datalen);
-int recv_from_phone(iPhone *phone, char *data, int datalen);
-#endif