diff options
author | Zoltan Balaton | 2009-01-13 22:22:20 -0800 |
---|---|---|
committer | Matt Colyer | 2009-01-13 22:22:20 -0800 |
commit | dc165be9172878144da2fba50139748db32d2986 (patch) | |
tree | 687b24114ee46d495d48afec563088dbd071ab56 | |
parent | bf652fe9ec366cf7da27473566bcc30990193990 (diff) | |
download | libimobiledevice-dc165be9172878144da2fba50139748db32d2986.tar.gz libimobiledevice-dc165be9172878144da2fba50139748db32d2986.tar.bz2 |
Correctly handle file modes.
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | include/libiphone/libiphone.h | 8 |
2 files changed, 5 insertions, 4 deletions
@@ -6,3 +6,4 @@ Christophe Fergeau Martin S. Paul Sladen Patrick Walton +Zoltan Balaton diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index b3e3f95..e4500f0 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h @@ -52,10 +52,10 @@ extern "C" { typedef int16_t iphone_error_t; typedef enum { - IPHONE_AFC_FILE_READ = 0x00000002, // seems to be able to read and write files - IPHONE_AFC_FILE_WRITE = 0x00000003, // writes and creates a file, blanks it out, etc. - IPHONE_AFC_FILE_RW = 0x00000005, // seems to do the same as 2. Might even create the file. - IPHONE_AFC_FILE_OP4 = 0x00000004, // no idea -- appears to be "write" -- clears file beforehand like 3 + IPHONE_AFC_FILE_READ = 0x00000001, // seems to be able to read and write files + IPHONE_AFC_FILE_WRITE = 0x00000002, // writes and creates a file, blanks it out, etc. + IPHONE_AFC_FILE_RW = 0x00000003, // seems to do the same as 2. Might even create the file. + IPHONE_AFC_FILE_CREAT = 0x00000004, // no idea -- appears to be "write" -- clears file beforehand like 3 IPHONE_AFC_FILE_OP6 = 0x00000006, // no idea yet -- appears to be the same as 5. IPHONE_AFC_FILE_OP1 = 0x00000001, // no idea juuust yet... probably read. IPHONE_AFC_FILE_OP0 = 0x00000000, |