Changeset 84239b1 in mainline for uspace/srv/vfs/vfs.h
- Timestamp:
- 2018-03-11T19:39:11Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f3d47c97
- Parents:
- 850fd32
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs.h
r850fd32 r84239b1 60 60 } fs_info_t; 61 61 62 /** 63 * VFS_PAIR uniquely represents a file system instance. 64 */ 65 #define VFS_PAIR \ 66 fs_handle_t fs_handle; \ 62 /** Uniquely represents a file system instance. */ 63 typedef struct { 64 fs_handle_t fs_handle; 67 65 service_id_t service_id; 68 69 /** 70 * VFS_TRIPLET uniquely identifies a file system node (e.g. directory, file) but 71 * doesn't contain any state. For a stateful structure, see vfs_node_t.66 } vfs_pair_t; 67 68 /** Uniquely identifies a file system node (e.g. directory, file) 69 * but doesn't contain any state. For a stateful structure, see vfs_node_t. 72 70 * 73 71 * @note fs_handle, service_id and index are meant to be returned in one 74 72 * IPC reply. 75 73 */ 76 #define VFS_TRIPLET \ 77 VFS_PAIR; \ 74 typedef struct { 75 fs_handle_t fs_handle; 76 service_id_t service_id; 78 77 fs_index_t index; 79 80 typedef struct {81 VFS_PAIR;82 } vfs_pair_t;83 84 typedef struct {85 VFS_TRIPLET;86 78 } vfs_triplet_t; 87 79 … … 103 95 */ 104 96 typedef struct _vfs_node { 105 VFS_TRIPLET; /**< Identity of the node. */ 97 /* 98 * Identity of the node 99 */ 100 101 fs_handle_t fs_handle; 102 service_id_t service_id; 103 fs_index_t index; 106 104 107 105 /**
Note:
See TracChangeset
for help on using the changeset viewer.