aboutsummaryrefslogtreecommitdiff
path: root/src/common/include/proto/token.h
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2015-03-10 16:12:03 +0100
committerAlex Auvolat <alex@adnab.me>2015-03-10 16:12:03 +0100
commit48c1c4dcc449d05e9950a861e165f456e0d583a1 (patch)
tree1107e6a6779d16824055e358eb04a45fc5365b63 /src/common/include/proto/token.h
parentc6068c0bce5cf764846e775d3509b1a82af4a0e5 (diff)
downloadkogata-48c1c4dcc449d05e9950a861e165f456e0d583a1.tar.gz
kogata-48c1c4dcc449d05e9950a861e165f456e0d583a1.zip
Rename & cleanup.
Diffstat (limited to 'src/common/include/proto/token.h')
-rw-r--r--src/common/include/proto/token.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/common/include/proto/token.h b/src/common/include/proto/token.h
new file mode 100644
index 0000000..9ec1aff
--- /dev/null
+++ b/src/common/include/proto/token.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include <stdint.h>
+#include <stddef.h>
+
+#define TOKEN_LENGTH 16
+typedef struct {
+ char bytes[TOKEN_LENGTH];
+} token_t;
+
+/* vim: set ts=4 sw=4 tw=0 noet :*/