From e9949c6a5a5a9f43fdddc7fe29eab291bdc3d443 Mon Sep 17 00:00:00 2001 From: Jakob Haufe Date: Mon, 30 Oct 2017 09:57:48 +0100 Subject: [PATCH] Update concept struct for binary logging --- binlog.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/binlog.h b/binlog.h index 1b656a3..185e3e9 100644 --- a/binlog.h +++ b/binlog.h @@ -1,7 +1,12 @@ +#include + +enum entry_type { + EMPTY = 255 +} struct logentry { + enum entry_type tag; //1 uint32_t ts; //4 - enum trans_type tag; //1 union { //4 struct sale { //4 uint8_t user; -- 2.39.2