summaryrefslogtreecommitdiff
path: root/spec/eaf.fspec
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2017-04-20 16:49:35 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2017-05-01 22:58:22 +0300
commit29086b1d12a2c28cffdbfbf0b3990a7bd75506b9 (patch)
tree8acd48bc30932812744c0adb102d7a7add494357 /spec/eaf.fspec
parent76b8c9e03c97b16d9ff97f3b79c0ecbff0f5e7f2 (diff)
work in progress
Diffstat (limited to 'spec/eaf.fspec')
-rw-r--r--spec/eaf.fspec17
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/eaf.fspec b/spec/eaf.fspec
new file mode 100644
index 0000000..e9c5702
--- /dev/null
+++ b/spec/eaf.fspec
@@ -0,0 +1,17 @@
+struct file {
+ path: u8[256] | encoding('ascii') str;
+ offset: u64;
+ size: u64;
+ padding: u8[16] nul;
+};
+
+struct eaf {
+ header: u8[4] | matches('#EAF') str;
+ major: u16;
+ minor: u16;
+ size: u64;
+ count: u32;
+ unknown: u64;
+ padding: u8[100] nul;
+ files: struct file[count];
+};