diff options
Diffstat (limited to 'src/kernel/fs/vfs.h')
-rw-r--r-- | src/kernel/fs/vfs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/kernel/fs/vfs.h b/src/kernel/fs/vfs.h index 867fae2..26c34f9 100644 --- a/src/kernel/fs/vfs.h +++ b/src/kernel/fs/vfs.h @@ -36,6 +36,7 @@ struct fs_node { struct dev *dev; struct fs_node *node_ptr; + struct fs_node *link; void *impl; @@ -61,4 +62,10 @@ void fs_close(struct fs_node *node); struct dirent *fs_read_dir(struct fs_node *node, uint32_t index); struct fs_node *fs_find_dir(struct fs_node *node, char *name); +char *basename(char *name); +void vfs_ls(char *path); +struct fs_node *vfs_get_dir(struct fs_node *node, char *name); +struct fs_node *vfs_touch(struct fs_node *node, char *name); +struct fs_node *vfs_mkdir(struct fs_node *node, char *name); + #endif
\ No newline at end of file |