summaryrefslogtreecommitdiff
path: root/interface/fs.h
diff options
context:
space:
mode:
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