summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-25 23:25:56 +0200
committerGravatar Jonathan Beck2008-08-31 19:32:27 +0200
commit6ac4ceb4c6ee63c279f4841381a3eb09598f3517 (patch)
tree37de86e9d99a56c2e4ef1e7b5db28bd252cd4a39 /include
parentc042f7ca2731fa5c8a5aa13789f5901ae5a3af7a (diff)
downloadlibimobiledevice-6ac4ceb4c6ee63c279f4841381a3eb09598f3517.tar.gz
libimobiledevice-6ac4ceb4c6ee63c279f4841381a3eb09598f3517.tar.bz2
migrate main.c
Diffstat (limited to 'include')
-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" {
//afc specific error
#define IPHONE_E_NO_SUCH_FILE -10
+enum {
+ AFC_FILE_READ = 0x00000002, // seems to be able to read and write files
+ AFC_FILE_WRITE = 0x00000003, // writes and creates a file, blanks it out, etc.
+ AFC_FILE_RW = 0x00000005, // seems to do the same as 2. Might even create the file.
+ AFC_FILE_OP4 = 0x00000004, // no idea -- appears to be "write" -- clears file beforehand like 3
+ AFC_FILE_OP6 = 0x00000006, // no idea yet -- appears to be the same as 5.
+ AFC_FILE_OP1 = 0x00000001, // no idea juuust yet... probably read.
+ AFC_FILE_OP0 = 0x00000000,
+ AFC_FILE_OP10 = 0x0000000a
+};
+
struct iphone_device_int;
typedef struct iphone_device_int *iphone_device_t;