A modelling and serializer library for Microsoft Azure IoTHub client applications
Dependents: sht15_remote_monitoring f767zi_mqtt remote_monitoring simplesample_amqp ... more
This library implements a serializer library to be used in projects involving Microsoft Azure IoT Hub connectivity. The code is replicated from https://github.com/Azure/azure-iot-sdks
Diff: multitree.c
- Revision:
- 13:16e88f0cfa5f
- Parent:
- 11:b1327861f5e0
- Child:
- 17:fa1bba4c6053
--- a/multitree.c Fri Jun 17 17:03:17 2016 -0700 +++ b/multitree.c Fri Jul 01 10:43:11 2016 -0700 @@ -10,7 +10,8 @@ #include "multitree.h" #include <string.h> #include "azure_c_shared_utility/crt_abstractions.h" -#include "azure_c_shared_utility/iot_logging.h" +#include "azure_c_shared_utility/xlogging.h" +#include "azure_c_shared_utility/macro_utils.h" /*assume a name cannot be longer than 100 characters*/ #define INNER_NODE_NAME_SIZE 128 @@ -97,10 +98,10 @@ static const char* CreateLeaf_ResultAsString[CREATELEAF_RESULT_COUNT] = { - STRINGIFY(CREATELEAF_OK), - STRINGIFY(CREATELEAF_ALREADY_EXISTS), - STRINGIFY(CREATELEAF_EMPTY_NAME), - STRINGIFY(CREATELEAF_ERROR) + TOSTRING(CREATELEAF_OK), + TOSTRING(CREATELEAF_ALREADY_EXISTS), + TOSTRING(CREATELEAF_EMPTY_NAME), + TOSTRING(CREATELEAF_ERROR) }; /*name cannot be empty, value can be empty or NULL*/