From 6b4d7e0d84d7b065df46ac97c19c8b3e71c15cdd Mon Sep 17 00:00:00 2001 From: Joshua Liu Date: Thu, 21 Aug 2025 16:27:49 -0400 Subject: feat: moving away from JSON. going to be making use of sqlite to store deck information --- util.c | 19 +++++++++++++++++++ util.h | 1 - 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/util.c b/util.c index 4f98a63..11c9d72 100644 --- a/util.c +++ b/util.c @@ -1,4 +1,5 @@ #include "util.h" +#include int die(const char* msg) @@ -16,3 +17,21 @@ set_data(unsigned char* data) } return 0; } + +int +spin (int* target, int success, int fail) +{ + while (!(*target)) + { + ; // spin + } +} + +int +initialize_db_con () +{ +} + +int +parsestreamdeckdata() +{} diff --git a/util.h b/util.h index dc064e9..b3ddacd 100644 --- a/util.h +++ b/util.h @@ -4,7 +4,6 @@ #include #include #include -#include "Json.h" int die(const char* msg); int set_data(unsigned char* data); -- cgit v1.2.3