diff options
author | leleraffa97@hotmail.it <leleraffa97@hotmail.it> | 2017-08-23 21:13:06 +0200 |
---|---|---|
committer | leleraffa97@hotmail.it <leleraffa97@hotmail.it> | 2017-08-23 21:13:06 +0200 |
commit | 7fa5e85eb624f0f614e022c8a8274bbb4de66cbf (patch) | |
tree | 925be0a481e4cc2f48f0b5eb703832f179d5be80 /sw/z80/kernel/filesystem.c | |
parent | filesystem structure intro and docs (diff) | |
download | z80uPC-7fa5e85eb624f0f614e022c8a8274bbb4de66cbf.tar.gz z80uPC-7fa5e85eb624f0f614e022c8a8274bbb4de66cbf.zip |
Filesystem struct order
Diffstat (limited to 'sw/z80/kernel/filesystem.c')
-rw-r--r-- | sw/z80/kernel/filesystem.c | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/sw/z80/kernel/filesystem.c b/sw/z80/kernel/filesystem.c index 101af75..38a5456 100644 --- a/sw/z80/kernel/filesystem.c +++ b/sw/z80/kernel/filesystem.c @@ -1 +1,44 @@ -#include "filesystem.h"
\ No newline at end of file +#include "filesystem.h" + +struct filesystem * fs_parse_superblock(struct filesystem *fs) +{ + +} + +/* resolves an arbitrary path */ +uint16_t fs_parse_path(const char *path) +{ + +} + +/* gets inode from inumber */ +inode_t * fs_get_inode(inode_t *buffer, uint16_t i_number) +{ + +} + +inode_t * fs_new_inode(inode_t *inode, const char *name) +{ + +} + +int fs_free_inode(const inode_t *inode) +{ + +} + +void fs_chmod(inode_t *inode, uint8_t mode) +{ + +} + +void fs_chown(inode_t *inode, uint8_t uid) +{ + +} + +int fs_rename(inode_t *inode, const char *name) +{ + +} + |