X-Git-Url: https://git.sur5r.net/?p=rgb2r-2017;a=blobdiff_plain;f=binlog.h;h=185e3e9779ad2c2afc716bd411301193332af506;hp=1b656a37e2368a6ebad8f9040391373971b40be5;hb=e9949c6a5a5a9f43fdddc7fe29eab291bdc3d443;hpb=c9b2f325abe3c3c0bbae483a91be44b7bdce5564 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;