summaryrefslogtreecommitdiffstats
path: root/src/iphone.h
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-11 22:32:01 +0200
committerGravatar Jonathan Beck2008-08-31 19:27:19 +0200
commite1b22c51edd2c3b416d111a63e1a84ab3ba7817e (patch)
tree5c22a2f6ab33927ab61b9e43c9382e0a2ffd8734 /src/iphone.h
parentde4b279089d40131346cbd28e4f27b6e9716fab9 (diff)
downloadlibimobiledevice-e1b22c51edd2c3b416d111a63e1a84ab3ba7817e.tar.gz
libimobiledevice-e1b22c51edd2c3b416d111a63e1a84ab3ba7817e.tar.bz2
first shot at setting up a library
Diffstat (limited to 'src/iphone.h')
-rw-r--r--src/iphone.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/iphone.h b/src/iphone.h
index ec5e70d..746941f 100644
--- a/src/iphone.h
+++ b/src/iphone.h
@@ -28,6 +28,7 @@
28#endif 28#endif
29 29
30#include <usb.h> 30#include <usb.h>
31#include <libiphone/libiphone.h>
31 32
32#define BULKIN 0x85 33#define BULKIN 0x85
33#define BULKOUT 0x04 34#define BULKOUT 0x04
@@ -39,8 +40,6 @@ typedef struct {
39} iPhone; 40} iPhone;
40 41
41// Function definitions 42// Function definitions
42void free_iPhone(iPhone *victim);
43iPhone *get_iPhone();
44int send_to_phone(iPhone *phone, char *data, int datalen); 43int send_to_phone(iPhone *phone, char *data, int datalen);
45int recv_from_phone(iPhone *phone, char *data, int datalen); 44int recv_from_phone(iPhone *phone, char *data, int datalen);
46#endif 45#endif