Changeset 1dff985 in mainline for uspace/lib/c/include/ipc/vfs.h
- Timestamp:
- 2017-03-03T21:32:38Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- c577a9a
- Parents:
- 5b46ec8 (diff), b8dbe2f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/vfs.h
r5b46ec8 r1dff985 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_STATFS, 82 VFS_IN_WALK, 83 VFS_IN_OPEN2, 84 VFS_IN_UNLINK2, 85 85 } vfs_in_request_t; 86 86 … … 91 91 VFS_OUT_TRUNCATE, 92 92 VFS_OUT_CLOSE, 93 VFS_OUT_MOUNT,94 93 VFS_OUT_MOUNTED, 95 VFS_OUT_UNMOUNT,96 94 VFS_OUT_UNMOUNTED, 95 VFS_OUT_GET_SIZE, 96 VFS_OUT_IS_EMPTY, 97 97 VFS_OUT_SYNC, 98 98 VFS_OUT_STAT, 99 99 VFS_OUT_LOOKUP, 100 VFS_OUT_LINK, 100 101 VFS_OUT_DESTROY, 101 102 VFS_OUT_STATFS, … … 127 128 128 129 /** 129 * Lookup will succeed only if the object is a root directory. The flag is130 * mutually exclusive with L_FILE and L_MP.130 * Lookup will not cross any mount points. 131 * If the lookup would have to cross a mount point, it returns EXDEV instead. 131 132 */ 132 #define L_ ROOT4133 #define L_DISABLE_MOUNTS 4 133 134 134 135 /** … … 151 152 152 153 /** 153 * L_LINK is used for linking to an already existing nodes.154 */155 #define L_LINK 64156 157 /**158 154 * L_UNLINK is used to remove leaves from the file system namespace. This flag 159 155 * cannot be passed directly by the client, but will be set by VFS during … … 170 166 #define L_OPEN 256 171 167 168 /* 169 * Walk flags. 170 */ 171 enum { 172 /** 173 * WALK_PARTIAL requests that if the whole path cannot be traversed, 174 * the walk() operation should return the last visited file, along 175 * with an indication of how many directories have been traversed. 176 */ 177 //WALK_PARTIAL = (1 << 0), 178 179 WALK_MAY_CREATE = (1 << 1), 180 WALK_MUST_CREATE = (1 << 2), 181 182 WALK_REGULAR = (1 << 3), 183 WALK_DIRECTORY = (1 << 4), 184 185 WALK_ALL_FLAGS = WALK_MAY_CREATE | WALK_MUST_CREATE | WALK_REGULAR | WALK_DIRECTORY, 186 }; 187 188 enum { 189 MODE_READ = 1, 190 MODE_WRITE = 2, 191 MODE_APPEND = 4, 192 }; 193 172 194 #endif 173 195
Note:
See TracChangeset
for help on using the changeset viewer.