]> git.sur5r.net Git - rgb2r-2017/blobdiff - binlog.h
Update concept struct for binary logging
[rgb2r-2017] / 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;