summaryrefslogtreecommitdiff
path: root/fs/fs.h
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-14 23:10:16 +0200
committerMiguel <m.i@gmx.at>2018-09-14 23:10:16 +0200
commitc4b20a0ebbde1348e1e085e2ea3be35345d92b7c (patch)
tree611b68c1d288cace070152c628bb0e0e211bb500 /fs/fs.h
parentfdf6100721870780319bc7cc766a0bb5b4789965 (diff)
tuining userspace and files
Diffstat (limited to 'fs/fs.h')
-rw-r--r--fs/fs.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/fs/fs.h b/fs/fs.h
deleted file mode 100644
index f5c9a6e..0000000
--- a/fs/fs.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef FOOLOS_FS
-#define FOOLOS_FS
-
-#include <stdint.h>
-#include "kernel/multiboot.h"
-
-enum FS_FILE_TYPE{
- FS_FILE_TYPE_DIR = 1,
- FS_FILE_TYPE_FILE = 2
-};
-
-typedef struct fs_dirent_struct
-{
- uint32_t inode;
- uint8_t type;
- char name[255];
-
-}fs_dirent;
-
-int fs_readdir(const char *name,fs_dirent *dirs,int max);
-void fs_content(char *path, uint32_t dest, uint32_t max_bytes);
-void fs_mount(multiboot_information *info); // mounts ext2 ramimage from module as root
-
-#endif