diff options
Diffstat (limited to 'fs/fs.c')
| -rw-r--r-- | fs/fs.c | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -0,0 +1,32 @@ +// abstraction layer for filesystems +#include <lib/int/stdint.h> + +enum FS_FILE_TYPE{ + + FS_FILE_TYPE_DIR = 1, + FS_FILE_TYPE_FILE = 2 +}; + +typedef struct fs_file_struct +{ + int type; + char name[256]; + +}fs_file; + +int fs_list(char *path, fs_file *list); +{ + +} + +int fs_read(char *path, uint8_t *buf) +{ + +} + +int fs_mount(char *dev, char *dir) +{ + +} + + |
