summaryrefslogtreecommitdiffstats
path: root/include/libiphone
diff options
context:
space:
mode:
Diffstat (limited to 'include/libiphone')
-rw-r--r--include/libiphone/libiphone.h11
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
49enum {
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
49struct iphone_device_int; 60struct iphone_device_int;
50typedef struct iphone_device_int *iphone_device_t; 61typedef struct iphone_device_int *iphone_device_t;
51 62