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: internal/iothubtransport.h
- Revision:
- 92:97148cf9aa2a
- Parent:
- 89:a2ed767a532e
--- a/internal/iothubtransport.h Thu Jul 12 18:09:13 2018 -0700 +++ b/internal/iothubtransport.h Tue Sep 11 11:13:11 2018 -0700 @@ -25,7 +25,7 @@ #endif #include "azure_c_shared_utility/umock_c_prod.h" - + /** @brief This struct captures IoTHub transport configuration. */ struct IOTHUBTRANSPORT_CONFIG_TAG { @@ -34,9 +34,9 @@ IOTHUB_AUTHORIZATION_HANDLE auth_module_handle; const char* moduleId; }; - + typedef void(*IOTHUB_CLIENT_MULTIPLEXED_DO_WORK)(void* iotHubClientInstance); - + MOCKABLE_FUNCTION(, LOCK_HANDLE, IoTHubTransport_GetLock, TRANSPORT_HANDLE, transportHandle); MOCKABLE_FUNCTION(, IOTHUB_CLIENT_RESULT, IoTHubTransport_StartWorkerThread, TRANSPORT_HANDLE, transportHandle, IOTHUB_CLIENT_CORE_HANDLE, clientHandle, IOTHUB_CLIENT_MULTIPLEXED_DO_WORK, muxDoWork); MOCKABLE_FUNCTION(, bool, IoTHubTransport_SignalEndWorkerThread, TRANSPORT_HANDLE, transportHandle, IOTHUB_CLIENT_CORE_HANDLE, clientHandle);