comparison ffstools/tiffs-rd/struct.h @ 231:5ceacdbd4490

tiffs IVA: finds the root inode
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 26 Jan 2014 08:11:42 +0000
parents 2900fe603f8a
children 024042383a26
comparison
equal deleted inserted replaced
230:ffaa033e7643 231:5ceacdbd4490
19 u32 location; 19 u32 location;
20 u16 size; 20 u16 size;
21 u16 repli; /* ??? */ 21 u16 repli; /* ??? */
22 }; 22 };
23 23
24 /* our own struct for convenience */ 24 /* our own distilled info struct */
25 struct inode_info { 25 struct inode_info {
26 struct inode_flash *flash; 26 /* info from the inode record */
27 int parent;
28 int type; 27 int type;
29 u8 *dataptr;
30 u32 offset;
31 u32 rawloc;
32 u16 len;
33 int descend; 28 int descend;
34 int sibling; 29 int sibling;
30 u16 len;
31 u32 rawloc;
32 u32 offset;
33 u8 *dataptr;
34 /* filled by treewalk */
35 int nparents;
36 int parent;
37 /* filled by misc */
35 u8 *byte_after_name; 38 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 }; 39 };