diff options
| author | Miguel <m.i@gmx.at> | 2018-10-14 22:36:16 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-14 22:36:16 +0200 |
| commit | 2a6690e9fd53a02613796764248006e06ac482d6 (patch) | |
| tree | ea3063ef3ecd0808e9291faf6c56949d91b1b09e /interface/fs.h | |
| parent | 5aeab1c853e487aa0042d5c32200d623efe908d3 (diff) | |
ported vim et al
Diffstat (limited to 'interface/fs.h')
| -rw-r--r-- | interface/fs.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 |
