FreeCalypso > hg > freecalypso-sw
diff 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 |
line wrap: on
line diff
--- a/ffstools/tiffs-rd/struct.h Sun Jan 26 00:34:22 2014 +0000 +++ b/ffstools/tiffs-rd/struct.h Sun Jan 26 08:11:42 2014 +0000 @@ -21,20 +21,19 @@ u16 repli; /* ??? */ }; -/* our own struct for convenience */ +/* our own distilled info struct */ struct inode_info { - struct inode_flash *flash; - int parent; + /* info from the inode record */ int type; - u8 *dataptr; - u32 offset; - u32 rawloc; - u16 len; int descend; int sibling; + u16 len; + u32 rawloc; + u32 offset; + u8 *dataptr; + /* filled by treewalk */ + int nparents; + int parent; + /* filled by misc */ u8 *byte_after_name; - /* info added from parsing the journal */ - struct journal_entry *jflash; - int j_unlink_ptr; - int j_oldver; };