Force redraw upon menu item selection
[qi-bootmenu.git] / fstype / squashfs_fs.h
blobc18365d2564de9aa4bca351b3f8f02741864b037
1 #ifndef __SQUASHFS_FS_H
2 #define __SQUASHFS_FS_H
4 /*
5 * Squashfs
6 */
8 #define SQUASHFS_MAGIC 0x73717368
9 #define SQUASHFS_MAGIC_SWAP 0x68737173
12 * Squashfs + LZMA
15 #define SQUASHFS_MAGIC_LZMA 0x71736873
16 #define SQUASHFS_MAGIC_LZMA_SWAP 0x73687371
18 /* definitions for structures on disk */
19 struct squashfs_super_block {
20 unsigned int s_magic;
21 unsigned int inodes;
22 unsigned int bytes_used_2;
23 unsigned int uid_start_2;
24 unsigned int guid_start_2;
25 unsigned int inode_table_start_2;
26 unsigned int directory_table_start_2;
27 unsigned int s_major:16;
28 unsigned int s_minor:16;
29 unsigned int block_size_1:16;
30 unsigned int block_log:16;
31 unsigned int flags:8;
32 unsigned int no_uids:8;
33 unsigned int no_guids:8;
34 unsigned int mkfs_time /* time of filesystem creation */;
35 long long root_inode;
36 unsigned int block_size;
37 unsigned int fragments;
38 unsigned int fragment_table_start_2;
39 long long bytes_used;
40 long long uid_start;
41 long long guid_start;
42 long long inode_table_start;
43 long long directory_table_start;
44 long long fragment_table_start;
45 long long lookup_table_start;
46 } __attribute__ ((packed));
48 #endif /* __SQUASHFS_FS_H */