summaryrefslogtreecommitdiff
path: root/src/ecbor_internal.h
diff options
context:
space:
mode:
authorrimio <vasi.vilvoiu@gmail.com>2018-03-02 00:04:17 +0200
committerrimio <vasi.vilvoiu@gmail.com>2018-03-02 00:04:17 +0200
commit760860f3a34873e00cbf2ccb473f78cf3933a2f2 (patch)
treee9bed480f87a69225b5715ab8b6c7c9610292494 /src/ecbor_internal.h
parent3d821056f53edcf6fc8786f0d156fa56720a0c5a (diff)
Added support for boolean and null types; added test case answers
Diffstat (limited to 'src/ecbor_internal.h')
-rw-r--r--src/ecbor_internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ecbor_internal.h b/src/ecbor_internal.h
index 7b29546..abeaf97 100644
--- a/src/ecbor_internal.h
+++ b/src/ecbor_internal.h
@@ -30,6 +30,14 @@ enum {
ECBOR_ADDITIONAL_INDEFINITE = 31
};
+/* Simple value meanings */
+enum {
+ ECBOR_SIMPLE_FALSE = 20,
+ ECBOR_SIMPLE_TRUE = 21,
+ ECBOR_SIMPLE_NULL = 22,
+ ECBOR_SIMPLE_UNDEFINED = 23
+};
+
/*
* Endianness
*/