summaryrefslogtreecommitdiff
path: root/include/ecbor.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 /include/ecbor.h
parent3d821056f53edcf6fc8786f0d156fa56720a0c5a (diff)
Added support for boolean and null types; added test case answers
Diffstat (limited to 'include/ecbor.h')
-rw-r--r--include/ecbor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ecbor.h b/include/ecbor.h
index db6786b..0977e4b 100644
--- a/include/ecbor.h
+++ b/include/ecbor.h
@@ -82,9 +82,11 @@ typedef enum {
ECBOR_TYPE_FP16 = 8,
ECBOR_TYPE_FP32 = 9,
ECBOR_TYPE_FP64 = 10,
+ ECBOR_TYPE_BOOL = 11,
+ ECBOR_TYPE_NULL = 12,
/* Last type, used for bounds checking */
- ECBOR_TYPE_LAST = 10
+ ECBOR_TYPE_LAST = ECBOR_TYPE_NULL
} ecbor_type_t;
/*