summaryrefslogtreecommitdiffstats
path: root/src/auth.c
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2026-10-02 23:48:00 +0200
committerJesper Jensen <jesper@jnsn.dev>2026-10-02 23:48:00 +0200
commit2ed7bfe9bffecb9b6f6111b727b593a72d7bbc15 (patch)
tree6bac6b45cec20556cfb352553cb7581d3d1673f6 /src/auth.c
downloadlibrm-2ed7bfe9bffecb9b6f6111b727b593a72d7bbc15.tar.gz
librm-2ed7bfe9bffecb9b6f6111b727b593a72d7bbc15.zip
INITIAL COMMIT
Diffstat (limited to 'src/auth.c')
-rw-r--r--src/auth.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/auth.c b/src/auth.c
new file mode 100644
index 0000000..d764c4d
--- /dev/null
+++ b/src/auth.c
@@ -0,0 +1,13 @@
+#include <assert.h>
+#include <stddef.h>
+#include <uuid/uuid.h>
+#include <json_tokener.h>
+#include <json_object.h>
+
+#include "auth.h"
+
+char *userToken = NULL;
+char *deviceToken = NULL;
+
+bool deviceIdSet = false;
+char deviceId[37] = {0};