diff options
| author | 2008-08-25 23:25:56 +0200 | |
|---|---|---|
| committer | 2008-08-31 19:32:27 +0200 | |
| commit | 6ac4ceb4c6ee63c279f4841381a3eb09598f3517 (patch) | |
| tree | 37de86e9d99a56c2e4ef1e7b5db28bd252cd4a39 /include/libiphone/libiphone.h | |
| parent | c042f7ca2731fa5c8a5aa13789f5901ae5a3af7a (diff) | |
| download | libimobiledevice-6ac4ceb4c6ee63c279f4841381a3eb09598f3517.tar.gz libimobiledevice-6ac4ceb4c6ee63c279f4841381a3eb09598f3517.tar.bz2 | |
migrate main.c
Diffstat (limited to 'include/libiphone/libiphone.h')
| -rw-r--r-- | include/libiphone/libiphone.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index 89b8529..768ff21 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h | |||
| @@ -46,6 +46,17 @@ extern "C" { | |||
| 46 | //afc specific error | 46 | //afc specific error |
| 47 | #define IPHONE_E_NO_SUCH_FILE -10 | 47 | #define IPHONE_E_NO_SUCH_FILE -10 |
| 48 | 48 | ||
| 49 | enum { | ||
| 50 | AFC_FILE_READ = 0x00000002, // seems to be able to read and write files | ||
| 51 | AFC_FILE_WRITE = 0x00000003, // writes and creates a file, blanks it out, etc. | ||
| 52 | AFC_FILE_RW = 0x00000005, // seems to do the same as 2. Might even create the file. | ||
| 53 | AFC_FILE_OP4 = 0x00000004, // no idea -- appears to be "write" -- clears file beforehand like 3 | ||
| 54 | AFC_FILE_OP6 = 0x00000006, // no idea yet -- appears to be the same as 5. | ||
| 55 | AFC_FILE_OP1 = 0x00000001, // no idea juuust yet... probably read. | ||
| 56 | AFC_FILE_OP0 = 0x00000000, | ||
| 57 | AFC_FILE_OP10 = 0x0000000a | ||
| 58 | }; | ||
| 59 | |||
| 49 | struct iphone_device_int; | 60 | struct iphone_device_int; |
| 50 | typedef struct iphone_device_int *iphone_device_t; | 61 | typedef struct iphone_device_int *iphone_device_t; |
| 51 | 62 | ||
