diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-10-09 08:49:46 +0300 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-10-11 14:07:43 +0300 |
commit | 2198478cd22cec4ea2b645d4e9f31ee9c2508ff5 (patch) | |
tree | 101afb521b4d48fb0691cbb653fb2101ecea6a4f /spec/eaf.fspec | |
parent | 987c0427f07afb5eec6c719b090a4028fd1feaac (diff) |
push for remote work
Diffstat (limited to 'spec/eaf.fspec')
-rw-r--r-- | spec/eaf.fspec | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/spec/eaf.fspec b/spec/eaf.fspec index 139539d..3373de9 100644 --- a/spec/eaf.fspec +++ b/spec/eaf.fspec @@ -1,10 +1,3 @@ -struct file { - u8 path[256] | encoding('ascii') str; - u64 offset; - u64 size; - u8 padding[16] nul; -}; - struct eaf { u8 header[4] | matches('#EAF') str; u16 major; @@ -13,5 +6,11 @@ struct eaf { u32 count; u64 unknown; u8 padding[100] nul; - struct file files[count]; + + struct { + u8 path[256] | encoding('ascii') str; + u64 offset hex; + u64 size; + u8 padding[16] nul; + } metadata[count]; }; |