Changes in uspace/lib/c/include/ipc/vfs.h [06256b0:11baebb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/vfs.h
r06256b0 r11baebb 63 63 64 64 typedef enum { 65 VFS_IN_READ = IPC_FIRST_USER_METHOD, 65 VFS_IN_OPEN = IPC_FIRST_USER_METHOD, 66 VFS_IN_READ, 66 67 VFS_IN_WRITE, 67 68 VFS_IN_SEEK, … … 74 75 VFS_IN_SYNC, 75 76 VFS_IN_REGISTER, 77 VFS_IN_MKDIR, 76 78 VFS_IN_UNLINK, 77 79 VFS_IN_RENAME, 80 VFS_IN_STAT, 78 81 VFS_IN_DUP, 79 82 VFS_IN_WAIT_HANDLE, 80 83 VFS_IN_MTAB_GET, 81 VFS_IN_WALK, 82 VFS_IN_OPEN2, 83 VFS_IN_UNLINK2, 84 VFS_IN_STATFS 84 85 } vfs_in_request_t; 85 86 … … 90 91 VFS_OUT_TRUNCATE, 91 92 VFS_OUT_CLOSE, 93 VFS_OUT_MOUNT, 92 94 VFS_OUT_MOUNTED, 95 VFS_OUT_UNMOUNT, 93 96 VFS_OUT_UNMOUNTED, 94 VFS_OUT_GET_SIZE,95 VFS_OUT_IS_EMPTY,96 97 VFS_OUT_SYNC, 97 98 VFS_OUT_STAT, 98 99 VFS_OUT_LOOKUP, 99 VFS_OUT_LINK,100 100 VFS_OUT_DESTROY, 101 VFS_OUT_STATFS, 101 102 VFS_OUT_LAST 102 103 } vfs_out_request_t; … … 126 127 127 128 /** 128 * Lookup will not cross any mount points.129 * If the lookup would have to cross a mount point, it returns EXDEV instead.129 * Lookup will succeed only if the object is a root directory. The flag is 130 * mutually exclusive with L_FILE and L_MP. 130 131 */ 131 #define L_ DISABLE_MOUNTS4132 #define L_ROOT 4 132 133 133 134 /** … … 150 151 151 152 /** 153 * L_LINK is used for linking to an already existing nodes. 154 */ 155 #define L_LINK 64 156 157 /** 152 158 * L_UNLINK is used to remove leaves from the file system namespace. This flag 153 159 * cannot be passed directly by the client, but will be set by VFS during … … 164 170 #define L_OPEN 256 165 171 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, along173 * 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 192 172 #endif 193 173
Note:
See TracChangeset
for help on using the changeset viewer.