Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: azure_umqtt_c iothub_mqtt_transport mbed-rtos mbed wolfSSL Socket lwip-eth lwip-sys lwip
iothubtransport.h
00001 // Copyright (c) Microsoft. All rights reserved. 00002 // Licensed under the MIT license. See LICENSE file in the project root for full license information. 00003 00004 #ifndef IOTHUB_TRANSPORT_H 00005 #define IOTHUB_TRANSPORT_H 00006 00007 typedef struct TRANSPORT_HANDLE_DATA_TAG* TRANSPORT_HANDLE; 00008 00009 #include "azure_c_shared_utility/lock.h" 00010 #include "azure_c_shared_utility/crt_abstractions.h" 00011 #include "iothub_client.h" 00012 #include "iothub_client_private.h" 00013 #include "iothub_transport_ll.h" 00014 00015 #ifdef __cplusplus 00016 extern "C" 00017 { 00018 #endif 00019 00020 extern TRANSPORT_HANDLE IoTHubTransport_Create(IOTHUB_CLIENT_TRANSPORT_PROVIDER protocol, const char* iotHubName, const char* iotHubSuffix); 00021 extern void IoTHubTransport_Destroy(TRANSPORT_HANDLE transportHandle); 00022 extern LOCK_HANDLE IoTHubTransport_GetLock(TRANSPORT_HANDLE transportHandle); 00023 extern TRANSPORT_LL_HANDLE IoTHubTransport_GetLLTransport(TRANSPORT_HANDLE transportHandle); 00024 extern IOTHUB_CLIENT_RESULT IoTHubTransport_StartWorkerThread(TRANSPORT_HANDLE transportHandle, IOTHUB_CLIENT_HANDLE clientHandle); 00025 extern bool IoTHubTransport_SignalEndWorkerThread(TRANSPORT_HANDLE transportHandle, IOTHUB_CLIENT_HANDLE clientHandle); 00026 extern void IoTHubTransport_JoinWorkerThread(TRANSPORT_HANDLE transportHandle, IOTHUB_CLIENT_HANDLE clientHandle); 00027 00028 #ifdef __cplusplus 00029 } 00030 #endif 00031 00032 #endif /* IOTHUB_TRANSPORT_H */
Generated on Wed Jul 13 2022 07:19:04 by
 1.7.2