diff options
| -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 | |||
| 6 | Martin S. | 6 | Martin S. |
| 7 | Paul Sladen | 7 | Paul Sladen |
| 8 | Patrick Walton | 8 | Patrick Walton |
| 9 | 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" { | |||
| 52 | typedef int16_t iphone_error_t; | 52 | typedef int16_t iphone_error_t; |
| 53 | 53 | ||
| 54 | typedef enum { | 54 | typedef enum { |
| 55 | IPHONE_AFC_FILE_READ = 0x00000002, // seems to be able to read and write files | 55 | IPHONE_AFC_FILE_READ = 0x00000001, // seems to be able to read and write files |
| 56 | IPHONE_AFC_FILE_WRITE = 0x00000003, // writes and creates a file, blanks it out, etc. | 56 | IPHONE_AFC_FILE_WRITE = 0x00000002, // writes and creates a file, blanks it out, etc. |
| 57 | IPHONE_AFC_FILE_RW = 0x00000005, // seems to do the same as 2. Might even create the file. | 57 | IPHONE_AFC_FILE_RW = 0x00000003, // seems to do the same as 2. Might even create the file. |
| 58 | IPHONE_AFC_FILE_OP4 = 0x00000004, // no idea -- appears to be "write" -- clears file beforehand like 3 | 58 | IPHONE_AFC_FILE_CREAT = 0x00000004, // no idea -- appears to be "write" -- clears file beforehand like 3 |
| 59 | IPHONE_AFC_FILE_OP6 = 0x00000006, // no idea yet -- appears to be the same as 5. | 59 | IPHONE_AFC_FILE_OP6 = 0x00000006, // no idea yet -- appears to be the same as 5. |
| 60 | IPHONE_AFC_FILE_OP1 = 0x00000001, // no idea juuust yet... probably read. | 60 | IPHONE_AFC_FILE_OP1 = 0x00000001, // no idea juuust yet... probably read. |
| 61 | IPHONE_AFC_FILE_OP0 = 0x00000000, | 61 | IPHONE_AFC_FILE_OP0 = 0x00000000, |
