diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-10-22 14:06:04 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-10-22 14:06:04 +0200 |
| commit | 95450710a8b8290a110686d78c2357d3920bcda5 (patch) | |
| tree | 4e3ef7556289bb1c18bce0c6e73235d497364a4d /fs/fs.h | |
| parent | 17d28200533f6a02d08cee2bf5352036bea92762 (diff) | |
working on filesys and readdir syscall
Diffstat (limited to 'fs/fs.h')
| -rw-r--r-- | fs/fs.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +#ifndef FOOLOS_FS +#define FOOLOS_FS + +enum FS_FILE_TYPE{ + + FS_FILE_TYPE_DIR = 1, + FS_FILE_TYPE_FILE = 2 +}; + +typedef struct fs_dirent_struct +{ + uint32_t inode; + uint32_t offset; + uint16_t length; + uint8_t type; + char name[256]; +}fs_dirent; + +#endif |
