Microsoft Azure IoTHub client libraries
Dependents: sht15_remote_monitoring RobotArmDemo iothub_client_sample_amqp f767zi_mqtt ... more
This library implements the Microsoft Azure IoTHub client library. The code is replicated from https://github.com/Azure/azure-iot-sdks
Diff: iothub_client_ll.h
- Revision:
- 85:de16c0a8a196
- Parent:
- 84:48760e2e7dd8
- Child:
- 88:248736be106e
--- a/iothub_client_ll.h Mon Mar 05 17:40:54 2018 -0800 +++ b/iothub_client_ll.h Tue Mar 20 10:29:00 2018 -0700 @@ -26,6 +26,11 @@ #include "azure_c_shared_utility/macro_utils.h" #include "azure_c_shared_utility/umock_c_prod.h" +#ifdef __cplusplus +extern "C" +{ +#endif + #define IOTHUB_CLIENT_FILE_UPLOAD_RESULT_VALUES \ FILE_UPLOAD_OK, \ FILE_UPLOAD_ERROR @@ -97,6 +102,10 @@ */ DEFINE_ENUM(IOTHUBMESSAGE_DISPOSITION_RESULT, IOTHUBMESSAGE_DISPOSITION_RESULT_VALUES); +#ifdef __cplusplus +} +#endif + #include "azure_c_shared_utility/agenttime.h" #include "azure_c_shared_utility/xio.h" #include "azure_c_shared_utility/doublylinkedlist.h" @@ -106,6 +115,11 @@ #include <stddef.h> #include <stdint.h> +#ifdef __cplusplus +extern "C" +{ +#endif + #define IOTHUB_CLIENT_IOTHUB_METHOD_STATUS_VALUES \ IOTHUB_CLIENT_IOTHUB_METHOD_STATUS_SUCCESS, \ IOTHUB_CLIENT_IOTHUB_METHOD_STATUS_ERROR \ @@ -114,10 +128,6 @@ */ DEFINE_ENUM(IOTHUB_CLIENT_IOTHUB_METHOD_STATUS, IOTHUB_CLIENT_IOTHUB_METHOD_STATUS_VALUES); -#ifdef __cplusplus -extern "C" -{ -#endif #define IOTHUB_CLIENT_CONFIRMATION_RESULT_VALUES \ IOTHUB_CLIENT_CONFIRMATION_OK, \