Changeset b0f00a9 in mainline for uspace/lib/c/include/vfs/vfs.h
- Timestamp:
- 2011-11-06T22:21:05Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 898e847
- Parents:
- 2bdf8313 (diff), 7b5f4c9 (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
-
uspace/lib/c/include/vfs/vfs.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/vfs/vfs.h
r2bdf8313 rb0f00a9 38 38 #include <sys/types.h> 39 39 #include <ipc/vfs.h> 40 #include <ipc/devmap.h> 40 #include <ipc/loc.h> 41 #include <adt/list.h> 41 42 #include <stdio.h> 43 #include <async.h> 44 #include "vfs_mtab.h" 42 45 43 /** 44 * This type is a libc version of the VFS triplet. 45 * It uniquely identifies a file system node within a file system instance. 46 */ 47 typedef struct { 48 fs_handle_t fs_handle; 49 devmap_handle_t devmap_handle; 50 fs_index_t index; 51 } fdi_node_t; 46 enum vfs_change_state_type { 47 VFS_PASS_HANDLE 48 }; 52 49 53 50 extern char *absolutize(const char *, size_t *); 54 51 55 52 extern int mount(const char *, const char *, const char *, const char *, 56 unsigned int );53 unsigned int, unsigned int); 57 54 extern int unmount(const char *); 58 55 59 extern int open_node(fdi_node_t *, int); 60 extern int fd_phone(int); 61 extern int fd_node(int, fdi_node_t *); 56 extern int fhandle(FILE *, int *); 62 57 63 extern FILE *fopen_node(fdi_node_t *, const char *); 64 extern int fphone(FILE *); 65 extern int fnode(FILE *, fdi_node_t *); 58 extern int fd_wait(void); 59 extern int get_mtab_list(list_t *mtab_list); 60 61 extern async_exch_t *vfs_exchange_begin(void); 62 extern void vfs_exchange_end(async_exch_t *); 66 63 67 64 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
