Changeset b5e68c8 in mainline for uspace/lib/fs/libfs.h
- Timestamp:
- 2011-05-12T16:49:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f36787d7
- Parents:
- e80329d6 (diff), 750636a (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/fs/libfs.h
re80329d6 rb5e68c8 39 39 #include <ipc/vfs.h> 40 40 #include <stdint.h> 41 #include <ipc/ipc.h>42 41 #include <async.h> 43 42 #include <devmap.h> … … 47 46 int phone; 48 47 fs_handle_t fs_handle; 49 dev _handle_t dev_handle;48 devmap_handle_t devmap_handle; 50 49 } mp_data_t; 51 50 … … 61 60 * argument holds the output argument. 62 61 */ 63 int (* root_get)(fs_node_t **, dev _handle_t);62 int (* root_get)(fs_node_t **, devmap_handle_t); 64 63 int (* match)(fs_node_t **, fs_node_t *, const char *); 65 int (* node_get)(fs_node_t **, dev _handle_t, fs_index_t);64 int (* node_get)(fs_node_t **, devmap_handle_t, fs_index_t); 66 65 int (* node_open)(fs_node_t *); 67 66 int (* node_put)(fs_node_t *); 68 int (* create)(fs_node_t **, dev _handle_t, int);67 int (* create)(fs_node_t **, devmap_handle_t, int); 69 68 int (* destroy)(fs_node_t *); 70 69 int (* link)(fs_node_t *, fs_node_t *, const char *); … … 81 80 bool (* is_directory)(fs_node_t *); 82 81 bool (* is_file)(fs_node_t *); 83 dev _handle_t (* device_get)(fs_node_t *);82 devmap_handle_t (* device_get)(fs_node_t *); 84 83 } libfs_ops_t; 85 84 86 85 typedef struct { 87 86 int fs_handle; /**< File system handle. */ 88 ipcarg_t vfs_phonehash; /**< Initial VFS phonehash. */89 87 uint8_t *plb_ro; /**< Read-only PLB view. */ 90 88 } fs_reg_t;
Note:
See TracChangeset
for help on using the changeset viewer.