summaryrefslogtreecommitdiffstats
path: root/src/AFC.h
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-03-24 20:58:43 +0100
committerGravatar Jonathan Beck2009-03-24 20:58:43 +0100
commit85b8a301be39c4b86cb7f38e80c3cb592240ccb9 (patch)
tree4974fc254afbf0226e610fd962b5dc74c094cf9f /src/AFC.h
parent19992c668afeb53a28e08a1f61572b5379f87590 (diff)
parent0114d8da493e69f14bc2669ae0ec6b9813b237cf (diff)
downloadlibimobiledevice-85b8a301be39c4b86cb7f38e80c3cb592240ccb9.tar.gz
libimobiledevice-85b8a301be39c4b86cb7f38e80c3cb592240ccb9.tar.bz2
Merge branch 'master' of git://github.com/MattColyer/libiphone into contact_sync
Conflicts: Makefile.am configure.ac src/AFC.h src/NotificationProxy.c src/lockdown.c
Diffstat (limited to 'src/AFC.h')
-rw-r--r--src/AFC.h35
1 files changed, 17 insertions, 18 deletions
diff --git a/src/AFC.h b/src/AFC.h
index 90b406a..86a924e 100644
--- a/src/AFC.h
+++ b/src/AFC.h
@@ -59,33 +59,32 @@ struct iphone_afc_file_int {
59enum { 59enum {
60 AFC_ERROR = 0x00000001, 60 AFC_ERROR = 0x00000001,
61 AFC_SUCCESS_RESPONSE = 0x00000002, 61 AFC_SUCCESS_RESPONSE = 0x00000002,
62 AFC_LIST_DIR = 0x00000003, // ReadDir 62 AFC_LIST_DIR = 0x00000003, // ReadDir
63 // 0x00000004 // ReadFile 63 // 0x00000004 // ReadFile
64 // 0x00000005 // WriteFile 64 // 0x00000005 // WriteFile
65 // 0x00000006 // WritePart 65 // 0x00000006 // WritePart
66 AFC_TRUNCATE = 0x00000007, // Truncate 66 AFC_TRUNCATE = 0x00000007, // Truncate
67 AFC_DELETE = 0x00000008, // RemovePath 67 AFC_DELETE = 0x00000008, // RemovePath
68 AFC_MAKE_DIR = 0x00000009, // MakeDir 68 AFC_MAKE_DIR = 0x00000009, // MakeDir
69 AFC_GET_INFO = 0x0000000a, // GetFileInfo 69 AFC_GET_INFO = 0x0000000a, // GetFileInfo
70 AFC_GET_DEVINFO = 0x0000000b, // GetDeviceInfo 70 AFC_GET_DEVINFO = 0x0000000b, // GetDeviceInfo
71 // 0x0000000c // same as 5, but writes to temp file, then renames it. 71 // 0x0000000c // same as 5, but writes to temp file, then renames it.
72 AFC_FILE_OPEN = 0x0000000d, // FileRefOpen 72 AFC_FILE_OPEN = 0x0000000d, // FileRefOpen
73 AFC_FILE_HANDLE = 0x0000000e, // _unknownPacket 73 AFC_FILE_HANDLE = 0x0000000e, // _unknownPacket
74 AFC_READ = 0x0000000f, // FileRefRead 74 AFC_READ = 0x0000000f, // FileRefRead
75 AFC_WRITE = 0x00000010, // FileRefWrite 75 AFC_WRITE = 0x00000010, // FileRefWrite
76 AFC_FILE_SEEK = 0x00000011, // FileRefSeek 76 AFC_FILE_SEEK = 0x00000011, // FileRefSeek
77 AFC_FILE_TELL = 0x00000012, // FileRefTell 77 AFC_FILE_TELL = 0x00000012, // FileRefTell
78 // 0x00000013 // _unknownPacket 78 // 0x00000013 // _unknownPacket
79 AFC_FILE_CLOSE = 0x00000014, // FileRefClose 79 AFC_FILE_CLOSE = 0x00000014, // FileRefClose
80 AFC_FILE_TRUNCATE = 0x00000015, // FileRefSetFileSize (ftruncate) 80 AFC_FILE_TRUNCATE = 0x00000015, // FileRefSetFileSize (ftruncate)
81 // 0x00000016 // SetFatalError 81 // 0x00000016 // SetFatalError
82 // 0x00000017 // SetConnectionOptions 82 // 0x00000017 // SetConnectionOptions
83 AFC_RENAME = 0x00000018, // RenamePath 83 AFC_RENAME = 0x00000018, // RenamePath
84 // 0x00000019 // SetFSBlockSize (0x800000) 84 // 0x00000019 // SetFSBlockSize (0x800000)
85 // 0x0000001A // SetBlockSize (0x800000) 85 // 0x0000001A // SetBlockSize (0x800000)
86 AFC_FILE_LOCK = 0x0000001B, // FileRefLock 86 AFC_FILE_LOCK = 0x0000001B, // FileRefLock
87 AFC_MAKE_LINK = 0x0000001C // MakeLink 87 AFC_MAKE_LINK = 0x0000001C // MakeLink
88}; 88};
89 89
90
91uint32_t iphone_afc_get_file_handle(iphone_afc_file_t file); 90uint32_t iphone_afc_get_file_handle(iphone_afc_file_t file);