summaryrefslogtreecommitdiff
path: root/interface/fs.h
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-10-14 22:36:16 +0200
committerMiguel <m.i@gmx.at>2018-10-14 22:36:16 +0200
commit2a6690e9fd53a02613796764248006e06ac482d6 (patch)
treeea3063ef3ecd0808e9291faf6c56949d91b1b09e /interface/fs.h
parent5aeab1c853e487aa0042d5c32200d623efe908d3 (diff)
ported vim et al
Diffstat (limited to 'interface/fs.h')
-rw-r--r--interface/fs.h11
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