diff options
| author | 2010-03-16 03:13:38 +0100 | |
|---|---|---|
| committer | 2010-03-16 03:13:38 +0100 | |
| commit | 08d2af5d611319748afba2aaba5e6c8a99f1b396 (patch) | |
| tree | 8bf4a3533f2acf11368dc37a9c653689ace99b77 /src/afc.h | |
| parent | 3e0c5021100c879ff7d0776d4c7bb4f0ec88e0d7 (diff) | |
| download | libimobiledevice-08d2af5d611319748afba2aaba5e6c8a99f1b396.tar.gz libimobiledevice-08d2af5d611319748afba2aaba5e6c8a99f1b396.tar.bz2 | |
Complete documentation of public interface and fix a lot of bogus comments
This change unifies the documentation comment syntax, fixes a few bad
documentation comments and completes documentation where it was missing.
Diffstat (limited to 'src/afc.h')
| -rw-r--r-- | src/afc.h | 58 |
1 files changed, 29 insertions, 29 deletions
| @@ -62,34 +62,34 @@ struct afc_client_private { | |||
| 62 | 62 | ||
| 63 | /* AFC Operations */ | 63 | /* AFC Operations */ |
| 64 | enum { | 64 | enum { |
| 65 | AFC_OP_STATUS = 0x00000001, // Status | 65 | AFC_OP_STATUS = 0x00000001, /* Status */ |
| 66 | AFC_OP_DATA = 0x00000002, // Data | 66 | AFC_OP_DATA = 0x00000002, /* Data */ |
| 67 | AFC_OP_READ_DIR = 0x00000003, // ReadDir | 67 | AFC_OP_READ_DIR = 0x00000003, /* ReadDir */ |
| 68 | AFC_OP_READ_FILE = 0x00000004, // ReadFile | 68 | AFC_OP_READ_FILE = 0x00000004, /* ReadFile */ |
| 69 | AFC_OP_WRITE_FILE = 0x00000005, // WriteFile | 69 | AFC_OP_WRITE_FILE = 0x00000005, /* WriteFile */ |
| 70 | AFC_OP_WRITE_PART = 0x00000006, // WritePart | 70 | AFC_OP_WRITE_PART = 0x00000006, /* WritePart */ |
| 71 | AFC_OP_TRUNCATE = 0x00000007, // TruncateFile | 71 | AFC_OP_TRUNCATE = 0x00000007, /* TruncateFile */ |
| 72 | AFC_OP_REMOVE_PATH = 0x00000008, // RemovePath | 72 | AFC_OP_REMOVE_PATH = 0x00000008, /* RemovePath */ |
| 73 | AFC_OP_MAKE_DIR = 0x00000009, // MakeDir | 73 | AFC_OP_MAKE_DIR = 0x00000009, /* MakeDir */ |
| 74 | AFC_OP_GET_FILE_INFO = 0x0000000a, // GetFileInfo | 74 | AFC_OP_GET_FILE_INFO = 0x0000000a, /* GetFileInfo */ |
| 75 | AFC_OP_GET_DEVINFO = 0x0000000b, // GetDeviceInfo | 75 | AFC_OP_GET_DEVINFO = 0x0000000b, /* GetDeviceInfo */ |
| 76 | AFC_OP_WRITE_FILE_ATOM = 0x0000000c, // WriteFileAtomic (tmp file+rename) | 76 | AFC_OP_WRITE_FILE_ATOM = 0x0000000c, /* WriteFileAtomic (tmp file+rename) */ |
| 77 | AFC_OP_FILE_OPEN = 0x0000000d, // FileRefOpen | 77 | AFC_OP_FILE_OPEN = 0x0000000d, /* FileRefOpen */ |
| 78 | AFC_OP_FILE_OPEN_RES = 0x0000000e, // FileRefOpenResult | 78 | AFC_OP_FILE_OPEN_RES = 0x0000000e, /* FileRefOpenResult */ |
| 79 | AFC_OP_READ = 0x0000000f, // FileRefRead | 79 | AFC_OP_READ = 0x0000000f, /* FileRefRead */ |
| 80 | AFC_OP_WRITE = 0x00000010, // FileRefWrite | 80 | AFC_OP_WRITE = 0x00000010, /* FileRefWrite */ |
| 81 | AFC_OP_FILE_SEEK = 0x00000011, // FileRefSeek | 81 | AFC_OP_FILE_SEEK = 0x00000011, /* FileRefSeek */ |
| 82 | AFC_OP_FILE_TELL = 0x00000012, // FileRefTell | 82 | AFC_OP_FILE_TELL = 0x00000012, /* FileRefTell */ |
| 83 | AFC_OP_FILE_TELL_RES = 0x00000013, // FileRefTellResult | 83 | AFC_OP_FILE_TELL_RES = 0x00000013, /* FileRefTellResult */ |
| 84 | AFC_OP_FILE_CLOSE = 0x00000014, // FileRefClose | 84 | AFC_OP_FILE_CLOSE = 0x00000014, /* FileRefClose */ |
| 85 | AFC_OP_FILE_SET_SIZE = 0x00000015, // FileRefSetFileSize (ftruncate) | 85 | AFC_OP_FILE_SET_SIZE = 0x00000015, /* FileRefSetFileSize (ftruncate) */ |
| 86 | AFC_OP_GET_CON_INFO = 0x00000016, // GetConnectionInfo | 86 | AFC_OP_GET_CON_INFO = 0x00000016, /* GetConnectionInfo */ |
| 87 | AFC_OP_SET_CON_OPTIONS = 0x00000017, // SetConnectionOptions | 87 | AFC_OP_SET_CON_OPTIONS = 0x00000017, /* SetConnectionOptions */ |
| 88 | AFC_OP_RENAME_PATH = 0x00000018, // RenamePath | 88 | AFC_OP_RENAME_PATH = 0x00000018, /* RenamePath */ |
| 89 | AFC_OP_SET_FS_BS = 0x00000019, // SetFSBlockSize (0x800000) | 89 | AFC_OP_SET_FS_BS = 0x00000019, /* SetFSBlockSize (0x800000) */ |
| 90 | AFC_OP_SET_SOCKET_BS = 0x0000001A, // SetSocketBlockSize (0x800000) | 90 | AFC_OP_SET_SOCKET_BS = 0x0000001A, /* SetSocketBlockSize (0x800000) */ |
| 91 | AFC_OP_FILE_LOCK = 0x0000001B, // FileRefLock | 91 | AFC_OP_FILE_LOCK = 0x0000001B, /* FileRefLock */ |
| 92 | AFC_OP_MAKE_LINK = 0x0000001C, // MakeLink | 92 | AFC_OP_MAKE_LINK = 0x0000001C, /* MakeLink */ |
| 93 | AFC_OP_SET_FILE_TIME = 0x0000001E // set st_mtime | 93 | AFC_OP_SET_FILE_TIME = 0x0000001E /* set st_mtime */ |
| 94 | }; | 94 | }; |
| 95 | 95 | ||
