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
iothub_transport_ll.h@89:a2ed767a532e, 2018-06-26 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Tue Jun 26 19:14:28 2018 -0700
- Revision:
- 89:a2ed767a532e
- Parent:
- 88:248736be106e
1.2.6
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Azure.IoT Build | 38:a05929a75111 | 1 | // Copyright (c) Microsoft. All rights reserved. |
Azure.IoT Build | 38:a05929a75111 | 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
Azure.IoT Build | 38:a05929a75111 | 3 | |
Azure.IoT Build | 38:a05929a75111 | 4 | #ifndef IOTHUB_TRANSPORT_LL_H |
Azure.IoT Build | 38:a05929a75111 | 5 | #define IOTHUB_TRANSPORT_LL_H |
Azure.IoT Build | 38:a05929a75111 | 6 | |
AzureIoTClient | 88:248736be106e | 7 | #ifdef __cplusplus |
AzureIoTClient | 88:248736be106e | 8 | #include <cstddef> |
AzureIoTClient | 88:248736be106e | 9 | #include <cstdint> |
AzureIoTClient | 88:248736be106e | 10 | extern "C" |
AzureIoTClient | 88:248736be106e | 11 | { |
AzureIoTClient | 88:248736be106e | 12 | #else |
AzureIoTClient | 88:248736be106e | 13 | #include <stddef.h> |
AzureIoTClient | 88:248736be106e | 14 | #include <stdint.h> |
AzureIoTClient | 88:248736be106e | 15 | #endif |
AzureIoTClient | 88:248736be106e | 16 | |
AzureIoTClient | 88:248736be106e | 17 | #include "azure_c_shared_utility/umock_c_prod.h" |
AzureIoTClient | 53:1e5a1ca1f274 | 18 | |
AzureIoTClient | 43:038d8511e817 | 19 | typedef void* TRANSPORT_LL_HANDLE; |
AzureIoTClient | 43:038d8511e817 | 20 | typedef void* IOTHUB_DEVICE_HANDLE; |
AzureIoTClient | 48:cc5d91f2b06d | 21 | |
AzureIoTClient | 88:248736be106e | 22 | struct TRANSPORT_HANDLE_DATA_TAG; |
AzureIoTClient | 88:248736be106e | 23 | typedef struct TRANSPORT_HANDLE_DATA_TAG* TRANSPORT_HANDLE; |
AzureIoTClient | 88:248736be106e | 24 | |
AzureIoTClient | 88:248736be106e | 25 | typedef void* METHOD_HANDLE; |
AzureIoTClient | 88:248736be106e | 26 | |
AzureIoTClient | 48:cc5d91f2b06d | 27 | struct TRANSPORT_PROVIDER_TAG; |
AzureIoTClient | 43:038d8511e817 | 28 | typedef struct TRANSPORT_PROVIDER_TAG TRANSPORT_PROVIDER; |
AzureIoTClient | 43:038d8511e817 | 29 | |
AzureIoTClient | 88:248736be106e | 30 | typedef const TRANSPORT_PROVIDER*(*IOTHUB_CLIENT_TRANSPORT_PROVIDER)(void); |
AzureIoTClient | 40:1a94db9139ea | 31 | |
AzureIoTClient | 88:248736be106e | 32 | MOCKABLE_FUNCTION(, TRANSPORT_HANDLE, IoTHubTransport_Create, IOTHUB_CLIENT_TRANSPORT_PROVIDER, protocol, const char*, iotHubName, const char*, iotHubSuffix); |
AzureIoTClient | 88:248736be106e | 33 | MOCKABLE_FUNCTION(, void, IoTHubTransport_Destroy, TRANSPORT_HANDLE, transportHandle); |
AzureIoTClient | 88:248736be106e | 34 | MOCKABLE_FUNCTION(, TRANSPORT_LL_HANDLE, IoTHubTransport_GetLLTransport, TRANSPORT_HANDLE, transportHandle); |
Azure.IoT Build | 38:a05929a75111 | 35 | |
Azure.IoT Build | 38:a05929a75111 | 36 | #ifdef __cplusplus |
Azure.IoT Build | 38:a05929a75111 | 37 | } |
Azure.IoT Build | 38:a05929a75111 | 38 | #endif |
Azure.IoT Build | 38:a05929a75111 | 39 | |
Azure.IoT Build | 38:a05929a75111 | 40 | #endif /* IOTHUB_TRANSPORT_LL_H */ |
AzureIoTClient | 89:a2ed767a532e | 41 |