comparison ffstools/tiffs-rd/struct.h @ 224:2900fe603f8a

beginning of MPFFS->TIFFS naming convention change
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 12 Jan 2014 07:59:00 +0000
parents
children 5ceacdbd4490
comparison
equal deleted inserted replaced
223:0848c7f419fd 224:2900fe603f8a
1 /* actual TIFFS on-media structure */
2 struct inode_flash {
3 u16 len;
4 u8 reserved1;
5 u8 type;
6 u16 descend;
7 u16 sibling;
8 u32 dataptr;
9 u16 sequence;
10 u16 updates;
11 };
12
13 struct journal_entry {
14 u8 status;
15 u8 objtype;
16 u16 this_ino;
17 u16 link_ptr;
18 u16 replacee;
19 u32 location;
20 u16 size;
21 u16 repli; /* ??? */
22 };
23
24 /* our own struct for convenience */
25 struct inode_info {
26 struct inode_flash *flash;
27 int parent;
28 int type;
29 u8 *dataptr;
30 u32 offset;
31 u32 rawloc;
32 u16 len;
33 int descend;
34 int sibling;
35 u8 *byte_after_name;
36 /* info added from parsing the journal */
37 struct journal_entry *jflash;
38 int j_unlink_ptr;
39 int j_oldver;
40 };