Changeset 16dc887 in mainline for uspace/lib/fs/libfs.h
- Timestamp:
- 2011-08-16T14:00:32Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 278ac72, b112055
- Parents:
- 3751a08 (diff), cc574511 (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
r3751a08 r16dc887 40 40 #include <stdint.h> 41 41 #include <async.h> 42 #include < devmap.h>42 #include <loc.h> 43 43 44 44 typedef struct { 45 int (* mounted)( devmap_handle_t, const char *, fs_index_t *, aoff64_t *,45 int (* mounted)(service_id_t, const char *, fs_index_t *, aoff64_t *, 46 46 unsigned *); 47 int (* unmounted)( devmap_handle_t);48 int (* read)( devmap_handle_t, fs_index_t, aoff64_t, size_t *);49 int (* write)( devmap_handle_t, fs_index_t, aoff64_t, size_t *,47 int (* unmounted)(service_id_t); 48 int (* read)(service_id_t, fs_index_t, aoff64_t, size_t *); 49 int (* write)(service_id_t, fs_index_t, aoff64_t, size_t *, 50 50 aoff64_t *); 51 int (* truncate)( devmap_handle_t, fs_index_t, aoff64_t);52 int (* close)( devmap_handle_t, fs_index_t);53 int (* destroy)( devmap_handle_t, fs_index_t);54 int (* sync)( devmap_handle_t, fs_index_t);51 int (* truncate)(service_id_t, fs_index_t, aoff64_t); 52 int (* close)(service_id_t, fs_index_t); 53 int (* destroy)(service_id_t, fs_index_t); 54 int (* sync)(service_id_t, fs_index_t); 55 55 } vfs_out_ops_t; 56 56 … … 59 59 async_sess_t *sess; 60 60 fs_handle_t fs_handle; 61 devmap_handle_t devmap_handle;61 service_id_t service_id; 62 62 } mp_data_t; 63 63 … … 73 73 * argument holds the output argument. 74 74 */ 75 int (* root_get)(fs_node_t **, devmap_handle_t);75 int (* root_get)(fs_node_t **, service_id_t); 76 76 int (* match)(fs_node_t **, fs_node_t *, const char *); 77 int (* node_get)(fs_node_t **, devmap_handle_t, fs_index_t);77 int (* node_get)(fs_node_t **, service_id_t, fs_index_t); 78 78 int (* node_open)(fs_node_t *); 79 79 int (* node_put)(fs_node_t *); 80 int (* create)(fs_node_t **, devmap_handle_t, int);80 int (* create)(fs_node_t **, service_id_t, int); 81 81 int (* destroy)(fs_node_t *); 82 82 int (* link)(fs_node_t *, fs_node_t *, const char *); … … 92 92 bool (* is_directory)(fs_node_t *); 93 93 bool (* is_file)(fs_node_t *); 94 devmap_handle_t (* device_get)(fs_node_t *);94 service_id_t (* device_get)(fs_node_t *); 95 95 } libfs_ops_t; 96 96
Note:
See TracChangeset
for help on using the changeset viewer.