From 6ac4ceb4c6ee63c279f4841381a3eb09598f3517 Mon Sep 17 00:00:00 2001
From: Jonathan Beck
Date: Mon, 25 Aug 2008 23:25:56 +0200
Subject: migrate main.c

---
 include/libiphone/libiphone.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'include/libiphone')

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;
 
-- 
cgit v1.1-32-gdbae