diff options
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 |
