aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2020-01-03 03:08:19 +1100
committerDavid Timber <mieabby@gmail.com>2020-01-03 03:08:19 +1100
commit9a2a07861e3919ea2d8f3b4f36e2d51d7748ba9d (patch)
tree4cb2cea83cc440e67abef03e70b089369b0fecc6 /src/protocol.h
parented809a51fdd1c313cd256301ef6f7211e8394cb1 (diff)
checkpoint
Diffstat (limited to 'src/protocol.h')
-rw-r--r--src/protocol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h
index 3e57251..1ab2c1a 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -1,4 +1,6 @@
#pragma once
+#include "util_ct.h"
+
#include <stddef.h>
@@ -19,6 +21,7 @@ typedef enum {
NB_PRNE_ARCH
} prne_arch_t;
+PRNE_LIMIT_ENUM(prne_arch_t, NB_PRNE_ARCH, 0xFF);
const char *prne_arch2str (const prne_arch_t x);