summaryrefslogtreecommitdiff
path: root/spec/eaf.fspec
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-09-16 10:54:51 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-09-19 20:44:55 +0300
commitd98285e367c29ec9eb1cacf5cf424d6910270efd (patch)
tree8b452a322c1acceecffeb647f9774949b17d7516 /spec/eaf.fspec
parentcc333c5f12a91a894a116130eebb30ed0474db47 (diff)
redesign
Diffstat (limited to 'spec/eaf.fspec')
-rw-r--r--spec/eaf.fspec24
1 files changed, 12 insertions, 12 deletions
diff --git a/spec/eaf.fspec b/spec/eaf.fspec
index e9c5702..139539d 100644
--- a/spec/eaf.fspec
+++ b/spec/eaf.fspec
@@ -1,17 +1,17 @@
struct file {
- path: u8[256] | encoding('ascii') str;
- offset: u64;
- size: u64;
- padding: u8[16] nul;
+ u8 path[256] | encoding('ascii') str;
+ u64 offset;
+ u64 size;
+ u8 padding[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];
+ u8 header[4] | matches('#EAF') str;
+ u16 major;
+ u16 minor;
+ u64 size;
+ u32 count;
+ u64 unknown;
+ u8 padding[100] nul;
+ struct file files[count];
};