Changeset d79dcdb in mainline for uspace/srv/vfs/vfs.h
- Timestamp:
- 2007-09-15T08:54:35Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4ec91b2f
- Parents:
- 183b4a0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs.h
r183b4a0 rd79dcdb 34 34 #define VFS_VFS_H_ 35 35 36 #include <ipc/ipc.h> 37 38 #define VFS_FIRST FIRST_USER_METHOD 39 36 40 typedef enum { 37 VFS_REGISTER = 0,41 VFS_REGISTER = VFS_FIRST, 38 42 VFS_MOUNT, 39 43 VFS_UNMOUNT, 40 44 VFS_OPEN, 45 VFS_CREATE, 46 VFS_CLOSE, 47 VFS_READ, 48 VFS_WRITE, 49 VFS_SEEK, 41 50 VFS_LAST, /* keep this the last member of the enum */ 42 51 } vfs_request_t; … … 49 58 */ 50 59 typedef enum { 51 VFS_OP_N OTSUP= 0,60 VFS_OP_NULL = 0, 52 61 VFS_OP_DEFAULT, 53 62 VFS_OP_DEFINED … … 63 72 */ 64 73 typedef struct { 65 char fs_name[FS_NAME_MAXLEN]; /**< Unique identifier of the fs. */ 66 vfs_op_t ops[VFS_LAST]; /**< Operations. */ 74 /** Unique identifier of the fs. */ 75 char fs_name[FS_NAME_MAXLEN]; 76 77 /** Operations. */ 78 vfs_op_t ops[VFS_LAST - VFS_FIRST]; 67 79 } vfs_info_t; 68 80 … … 71 83 /** 72 84 * @} 73 */ 85 */
Note:
See TracChangeset
for help on using the changeset viewer.