corrected version (with typedef struct IOTHUB_CLIENT_LL_UPLOADTOBLOB_HANDLE_DATA* IOTHUB_CLIENT_LL_UPLOADTOBLOB_HANDLE;) included in the sources
Dependents: STM32F746_iothub_client_sample_mqtt
Fork of iothub_client by
Diff: iothubtransport.h
- Revision:
- 37:18310e4d888d
- Child:
- 38:a05929a75111
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/iothubtransport.h Fri Mar 25 16:00:25 2016 -0700 @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +#ifndef IOTHUB_TRANSPORT_H +#define IOTHUB_TRANSPORT_H + +typedef struct TRANSPORT_HANDLE_DATA_TAG* TRANSPORT_HANDLE; + +#include "lock.h" +#include "crt_abstractions.h" +#include "iothub_client.h" +#include "iothub_client_private.h" + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern TRANSPORT_HANDLE IoTHubTransport_Create(IOTHUB_CLIENT_TRANSPORT_PROVIDER protocol, const char* iotHubName, const char* iotHubSuffix); +extern void IoTHubTransport_Destroy(TRANSPORT_HANDLE transportHlHandle); +extern LOCK_HANDLE IoTHubTransport_GetLock(TRANSPORT_HANDLE transportHlHandle); +extern TRANSPORT_LL_HANDLE IoTHubTransport_GetLLTransport(TRANSPORT_HANDLE transportHlHandle); +extern IOTHUB_CLIENT_RESULT IoTHubTransport_StartWorkerThread(TRANSPORT_HANDLE transportHlHandle, IOTHUB_CLIENT_HANDLE clientHandle); +extern bool IoTHubTransport_SignalEndWorkerThread(TRANSPORT_HANDLE transportHlHandle, IOTHUB_CLIENT_HANDLE clientHandle); +extern void IoTHubTransport_JoinWorkerThread(TRANSPORT_HANDLE transportHlHandle, IOTHUB_CLIENT_HANDLE clientHandle); + +#ifdef __cplusplus +} +#endif + +#endif /* IOTHUB_TRANSPORT_H */