From 2a6690e9fd53a02613796764248006e06ac482d6 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 14 Oct 2018 22:36:16 +0200 Subject: ported vim et al --- interface/fs.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'interface/fs.h') diff --git a/interface/fs.h b/interface/fs.h index 5930ffe..a6168ae 100644 --- a/interface/fs.h +++ b/interface/fs.h @@ -13,6 +13,7 @@ enum FS_FILE_TYPE{ FS_FILE_TYPE_FILE = 2 }; +/* typedef struct fs_dirent_struct { uint32_t mount; //mount identifier @@ -21,5 +22,15 @@ typedef struct fs_dirent_struct 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 -- cgit v1.2.3