From a69d8ac0429b50dc8530742c7ec4b2d8d326990c Mon Sep 17 00:00:00 2001 From: Masahiko AMANO Date: Fri, 13 Jan 2023 15:40:20 +0300 Subject: [PATCH] fix(core): add tanabata struct to core.h --- include/core.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/core.h b/include/core.h index 255e00c..0b25363 100644 --- a/include/core.h +++ b/include/core.h @@ -72,6 +72,16 @@ typedef struct shoppyou { FILE *file; // Storage file for shoppyou } Shoppyou; +// Tanabata (七夕) - the struct with all databases +typedef struct tanabata { + Sasahyou sasahyou; // Sasahyou struct + Sappyou sappyou; // Sappyou struct + Shoppyou shoppyou; // Shoppyou struct + uint64_t sasahyou_mod; // Sasahyou file last modificaton timestamp + uint64_t sappyou_mod; // Sappyou file last modificaton timestamp + uint64_t shoppyou_mod; // Shoppyou file last modificaton timestamp +} Tanabata; + // ==================== CONSTANTS ==================== // // ID of hole - an invalid record