summaryrefslogtreecommitdiff
path: root/src/ecbor_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ecbor_internal.h')
-rw-r--r--src/ecbor_internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ecbor_internal.h b/src/ecbor_internal.h
index e5e4179..7b29546 100644
--- a/src/ecbor_internal.h
+++ b/src/ecbor_internal.h
@@ -15,6 +15,11 @@
#define false 0
#define true 1
+/* CBOR major type 7 must not be exposed to user, but translated to other types */
+enum {
+ ECBOR_TYPE_SPECIAL = 7
+};
+
/* Additional value meanings */
enum {
ECBOR_ADDITIONAL_1BYTE = 24,