Changes in uspace/lib/c/include/ipc/vfs.h [11baebb:06256b0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/vfs.h
r11baebb r06256b0 63 63 64 64 typedef enum { 65 VFS_IN_OPEN = IPC_FIRST_USER_METHOD, 66 VFS_IN_READ, 65 VFS_IN_READ = IPC_FIRST_USER_METHOD, 67 66 VFS_IN_WRITE, 68 67 VFS_IN_SEEK, … … 75 74 VFS_IN_SYNC, 76 75 VFS_IN_REGISTER, 77 VFS_IN_MKDIR,78 76 VFS_IN_UNLINK, 79 77 VFS_IN_RENAME, 80 VFS_IN_STAT,81 78 VFS_IN_DUP, 82 79 VFS_IN_WAIT_HANDLE, 83 80 VFS_IN_MTAB_GET, 84 VFS_IN_STATFS 81 VFS_IN_WALK, 82 VFS_IN_OPEN2, 83 VFS_IN_UNLINK2, 85 84 } vfs_in_request_t; 86 85 … … 91 90 VFS_OUT_TRUNCATE, 92 91 VFS_OUT_CLOSE, 93 VFS_OUT_MOUNT,94 92 VFS_OUT_MOUNTED, 95 VFS_OUT_UNMOUNT,96 93 VFS_OUT_UNMOUNTED, 94 VFS_OUT_GET_SIZE, 95 VFS_OUT_IS_EMPTY, 97 96 VFS_OUT_SYNC, 98 97 VFS_OUT_STAT, 99 98 VFS_OUT_LOOKUP, 99 VFS_OUT_LINK, 100 100 VFS_OUT_DESTROY, 101 VFS_OUT_STATFS,102 101 VFS_OUT_LAST 103 102 } vfs_out_request_t; … … 127 126 128 127 /** 129 * Lookup will succeed only if the object is a root directory. The flag is130 * mutually exclusive with L_FILE and L_MP.128 * Lookup will not cross any mount points. 129 * If the lookup would have to cross a mount point, it returns EXDEV instead. 131 130 */ 132 #define L_ ROOT4131 #define L_DISABLE_MOUNTS 4 133 132 134 133 /** … … 151 150 152 151 /** 153 * L_LINK is used for linking to an already existing nodes.154 */155 #define L_LINK 64156 157 /**158 152 * L_UNLINK is used to remove leaves from the file system namespace. This flag 159 153 * cannot be passed directly by the client, but will be set by VFS during … … 170 164 #define L_OPEN 256 171 165 166 /* 167 * Walk flags. 168 */ 169 enum { 170 /** 171 * WALK_PARTIAL requests that if the whole path cannot be traversed, 172 * the walk() operation should return the last visited file, along 173 * with an indication of how many directories have been traversed. 174 */ 175 //WALK_PARTIAL = (1 << 0), 176 177 WALK_MAY_CREATE = (1 << 1), 178 WALK_MUST_CREATE = (1 << 2), 179 180 WALK_REGULAR = (1 << 3), 181 WALK_DIRECTORY = (1 << 4), 182 183 WALK_ALL_FLAGS = WALK_MAY_CREATE | WALK_MUST_CREATE | WALK_REGULAR | WALK_DIRECTORY, 184 }; 185 186 enum { 187 MODE_READ = 1, 188 MODE_WRITE = 2, 189 MODE_APPEND = 4, 190 }; 191 172 192 #endif 173 193
Note:
See TracChangeset
for help on using the changeset viewer.