summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJoshua Liu <joshua.liu@sourceobby.com>2025-08-21 16:27:49 -0400
committerJoshua Liu <joshua.liu@sourceobby.com>2025-08-21 16:27:49 -0400
commit6b4d7e0d84d7b065df46ac97c19c8b3e71c15cdd (patch)
tree5f70b93b99ded4b9df4c6411ecd6f73fa1a95657 /util.c
parent7d34748c2adb810374894adbac899ad08fbe54ee (diff)
feat: moving away from JSON. going to be making use of sqlite to store deck information
Diffstat (limited to 'util.c')
-rw-r--r--util.c19
1 files changed, 19 insertions, 0 deletions
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 <stdint.h>
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()
+{}