aboutsummaryrefslogtreecommitdiff
path: root/jwt.h
diff options
context:
space:
mode:
Diffstat (limited to 'jwt.h')
-rw-r--r--jwt.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/jwt.h b/jwt.h
new file mode 100644
index 0000000..d8db4a8
--- /dev/null
+++ b/jwt.h
@@ -0,0 +1,9 @@
+#ifndef JWT_H
+#define JWT_H
+
+#include <stddef.h>
+
+char *jwt_encode(const char *name, const void *key, size_t n);
+int jwt_check(const char *jwt, const void *key, size_t n);
+
+#endif /* JWT_H */