Update concept struct for binary logging
authorJakob Haufe <sur5r@sur5r.net>
Mon, 30 Oct 2017 08:57:48 +0000 (09:57 +0100)
committerJakob Haufe <sur5r@sur5r.net>
Mon, 30 Oct 2017 08:57:48 +0000 (09:57 +0100)
binlog.h

index 1b656a37e2368a6ebad8f9040391373971b40be5..185e3e9779ad2c2afc716bd411301193332af506 100644 (file)
--- a/binlog.h
+++ b/binlog.h
@@ -1,7 +1,12 @@
+#include <stdint.h>
+
+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;