QDNix
Quick’n’dirty *NIX
zealfs.h
Go to the documentation of this file.
1 /**
2  * \file zealfs.h
3  */
4 #ifndef _SYS_FS_ZEALFS_H
5 # define _SYS_FS_ZEALFS_H 1
6 
7 # include <stdint.h>
8 
9 # define ZEALFS_MAGIC 'Z'
10 
12  uint8_t flags;
13  char name[16];
14  uint8_t page;
15  uint16_t size;
16  uint8_t reserved[4];
17 };
18 
19 typedef struct zealfs_header {
20  uint8_t magic;
21  uint8_t version;
22  uint8_t bitmap_size;
23  uint8_t free_pages_count;
24  uint8_t bitmap[32];
25  uint8_t reserved[28];
26  struct zealfs_dir_entry root_entries[6];
27 } ZealFSHdr;
28 
29 #endif /* !_SYS_FS_ZEALFS_H */
Definition: zealfs.h:11