From: Jakob Haufe Date: Mon, 30 Oct 2017 08:57:48 +0000 (+0100) Subject: Update concept struct for binary logging X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e9949c6a5a5a9f43fdddc7fe29eab291bdc3d443;p=rgb2r-2017 Update concept struct for binary logging --- 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;