Changes in uspace/lib/c/include/vfs/vfs.h [47b7006:76d6169] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/vfs/vfs.h
r47b7006 r76d6169 40 40 #include <ipc/devmap.h> 41 41 #include <stdio.h> 42 #include <async.h> 42 43 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; 44 enum vfs_change_state_type { 45 VFS_PASS_HANDLE 46 }; 52 47 53 48 extern char *absolutize(const char *, size_t *); … … 57 52 extern int unmount(const char *); 58 53 59 extern int open_node(fdi_node_t *, int); 60 extern int fd_phone(int); 61 extern int fd_node(int, fdi_node_t *); 54 extern int fhandle(FILE *, int *); 62 55 63 extern FILE *fopen_node(fdi_node_t *, const char *); 64 extern int fphone(FILE *); 65 extern int fnode(FILE *, fdi_node_t *); 56 extern int fd_wait(void); 57 58 extern async_exch_t *vfs_exchange_begin(void); 59 extern void vfs_exchange_end(async_exch_t *); 66 60 67 61 #endif
Note:
See TracChangeset
for help on using the changeset viewer.