diff options
-rw-r--r-- | util.c | 19 | ||||
-rw-r--r-- | util.h | 1 |
2 files changed, 19 insertions, 1 deletions
@@ -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() +{} @@ -4,7 +4,6 @@ #include <string.h> #include <pthread.h> #include <sys/epoll.h> -#include "Json.h" int die(const char* msg); int set_data(unsigned char* data); |