diff options
| author | 2008-08-11 22:32:01 +0200 | |
|---|---|---|
| committer | 2008-08-31 19:27:19 +0200 | |
| commit | e1b22c51edd2c3b416d111a63e1a84ab3ba7817e (patch) | |
| tree | 5c22a2f6ab33927ab61b9e43c9382e0a2ffd8734 /src/iphone.h | |
| parent | de4b279089d40131346cbd28e4f27b6e9716fab9 (diff) | |
| download | libimobiledevice-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.h | 3 |
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 |
| 42 | void free_iPhone(iPhone *victim); | ||
| 43 | iPhone *get_iPhone(); | ||
| 44 | int send_to_phone(iPhone *phone, char *data, int datalen); | 43 | int send_to_phone(iPhone *phone, char *data, int datalen); |
| 45 | int recv_from_phone(iPhone *phone, char *data, int datalen); | 44 | int recv_from_phone(iPhone *phone, char *data, int datalen); |
| 46 | #endif | 45 | #endif |
