diff options
| author | Miguel <m.i@gmx.at> | 2018-10-15 16:29:50 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-15 16:29:50 +0200 |
| commit | e3a8099343aac9d94f411638ad84632d4b620132 (patch) | |
| tree | f0a1f73ab106c17b25fd8a5264a66b6b48e55e48 /interface/fs.h | |
| parent | f35d2124c36f8d39a953b76620e081b79c2faffd (diff) | |
cleanup sys/ etc
Diffstat (limited to 'interface/fs.h')
| -rw-r--r-- | interface/fs.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/interface/fs.h b/interface/fs.h deleted file mode 100644 index 25d4253..0000000 --- a/interface/fs.h +++ /dev/null @@ -1,36 +0,0 @@ -/** - * @file - * abstraction layer for filesystems - */ - -#ifndef FOOLOS_FS -#define FOOLOS_FS - -#include <stdint.h> - -enum FS_FILE_TYPE{ - FS_FILE_TYPE_DIR = 1, - FS_FILE_TYPE_FILE = 2 -}; - -typedef struct fs_dirent_struct -{ - uint32_t mount; //mount identifier - uint32_t inode; //inode number or similar - uint8_t type; //FILE OR DIR (FS_FILE_TYPE) - char name[255]; - -}fs_dirent; - -/* -typedef struct fs_dirent_struct -{ - uint32_t inode; - uint32_t offset; - uint16_t length; - uint8_t type; - char name[256]; -}fs_dirent; -*/ - -#endif |
