diff options
Diffstat (limited to 'c/data.h')
-rw-r--r-- | c/data.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -24,6 +24,16 @@ struct DlvData wchar_t wiki[128] = {0}; }; +struct DatView +{ + DatView(const wchar_t* filename, size_t cb); + ~DatView(); + HANDLE hf; + HANDLE hm; + void* view; + /* TODO: Handle exceptions on read and write... */ +}; + constexpr size_t CB_SERIALIZE_ELVDATA = 1+sizeof(ElvData); unsigned char* Serialize(const ElvData& e, unsigned char* buf); unsigned char* Unserialize(ElvData& e, unsigned char* buf); |