/** * @file * abstraction layer for filesystems */ #ifndef FOOLOS_FS #define FOOLOS_FS #include 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; #endif