diff options
author | Joshua Liu <joshua.liu@sourceobby.com> | 2025-06-22 21:43:37 -0400 |
---|---|---|
committer | Joshua Liu <joshua.liu@sourceobby.com> | 2025-06-22 21:43:37 -0400 |
commit | 61d4c68263ee989930421ffb631a1174c6638441 (patch) | |
tree | b451dc437c81c0cd17eaa61c66d4f257159e1a83 /util.h | |
parent | 323609e742d0cdc39842907530f98048a62419eb (diff) |
created the function declarations for die, set_data, parsestreamdeckdata and writestreamdeckdata, and implemented set_data and die
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,7 +1,12 @@ +#define _DEFAULT_SOURCE #include <stdio.h> #include <stdlib.h> #include <string.h> #include <pthread.h> #include <sys/epoll.h> +#include "Json.h" -int die(); +int die(const char* msg); +int set_data(unsigned char* data); +int parsestreamdeckdata(); +int writestreamdeckdata(); |