aboutsummaryrefslogtreecommitdiff
path: root/src/common/include/token.h
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-03-08 13:46:41 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-03-08 13:46:41 +0100
commit93af9a589980403f9887936963a6ce4f189dc020 (patch)
treec2e967e0d3b97ec6a6a3a6c0831e599ddca3f196 /src/common/include/token.h
parent5e3d036d3a10d919e54035b1365005f26886ed75 (diff)
downloadkogata-93af9a589980403f9887936963a6ce4f189dc020.tar.gz
kogata-93af9a589980403f9887936963a6ce4f189dc020.zip
Channels.
Diffstat (limited to 'src/common/include/token.h')
-rw-r--r--src/common/include/token.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/common/include/token.h b/src/common/include/token.h
new file mode 100644
index 0000000..9ec1aff
--- /dev/null
+++ b/src/common/include/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 :*/