split qcbor.h into four separate headers (#34)
This is to make it much easier to read the header files.
Backwards compatibility with qcbor.h is retained, but use of qcbor/qcbor_encode.h and qcbor/qcbor_decode.h is preferred now.
Signed-off-by: Laurence Lundblade <lgl@securitytheory.com>
diff --git a/test/qcbor_decode_tests.c b/test/qcbor_decode_tests.c
index a9e1fb2..9bcaa46 100644
--- a/test/qcbor_decode_tests.c
+++ b/test/qcbor_decode_tests.c
@@ -31,7 +31,8 @@
=============================================================================*/
#include "qcbor_decode_tests.h"
-#include "qcbor.h"
+#include "qcbor/qcbor_encode.h"
+#include "qcbor/qcbor_decode.h"
#include <string.h>
#include <math.h> // for fabs()
#include "not_well_formed_cbor.h"
@@ -1416,9 +1417,7 @@
-/*
- Public function for initialization. See header qcbor.h
- */
+
int32_t ParseMapTest()
{
// Parse a moderatly complex map structure very thoroughly
@@ -2003,9 +2002,6 @@
}
-/*
- Public function for initialization. See header qcbor.h
- */
int32_t ComprehensiveInputTest()
{
// Size 2 tests 64K inputs and runs quickly
@@ -2017,9 +2013,6 @@
}
-/*
- Public function for initialization. See header qcbor.h
- */
int32_t BigComprehensiveInputTest()
{
// size 3 tests 16 million inputs and runs OK