diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mpffs/struct.h	Sun Jun 30 05:16:23 2013 +0000
@@ -0,0 +1,23 @@
+/* actual MPFFS on-media structure */
+struct mpffs_index {
+	u16	len;
+	u8	unknown_b1;
+	u8	type;
+	u16	descend;
+	u16	sibling;
+	u32	dataptr;
+	u16	unknown_w1;
+	u16	unknown_w2;
+};
+
+/* our own struct for convenience */
+struct objinfo {
+	u16	entryno;
+	struct	mpffs_index *idxrec;
+	u8	*dataptr;
+	u32	offset;
+	u16	len;
+	u8	type;
+	u16	descend;
+	u16	sibling;
+};