annotate mpffs/struct.h @ 29:e96d6862cec0

mpffs-rdutils code started
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 30 Jun 2013 05:16:23 +0000
parents
children 3cca8070ef0f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 /* actual MPFFS on-media structure */
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 struct mpffs_index {
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 u16 len;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 u8 unknown_b1;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 u8 type;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 u16 descend;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 u16 sibling;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 u32 dataptr;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 u16 unknown_w1;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 u16 unknown_w2;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 };
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 /* our own struct for convenience */
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 struct objinfo {
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 u16 entryno;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 struct mpffs_index *idxrec;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 u8 *dataptr;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 u32 offset;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 u16 len;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 u8 type;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21 u16 descend;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 u16 sibling;
e96d6862cec0 mpffs-rdutils code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 };