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
iothub_client.h@0:e393db310d89, 2015-09-15 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Tue Sep 15 21:47:12 2015 -0700
- Revision:
- 0:e393db310d89
- Child:
- 9:3ec7e2695f98
Automatic build commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AzureIoTClient | 0:e393db310d89 | 1 | // Copyright (c) Microsoft. All rights reserved. |
AzureIoTClient | 0:e393db310d89 | 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
AzureIoTClient | 0:e393db310d89 | 3 | |
AzureIoTClient | 0:e393db310d89 | 4 | #ifndef IOTHUB_CLIENT_H |
AzureIoTClient | 0:e393db310d89 | 5 | |
AzureIoTClient | 0:e393db310d89 | 6 | #include "iothub_client_ll.h" |
AzureIoTClient | 0:e393db310d89 | 7 | |
AzureIoTClient | 0:e393db310d89 | 8 | #ifdef __cplusplus |
AzureIoTClient | 0:e393db310d89 | 9 | extern "C" |
AzureIoTClient | 0:e393db310d89 | 10 | { |
AzureIoTClient | 0:e393db310d89 | 11 | #endif |
AzureIoTClient | 0:e393db310d89 | 12 | |
AzureIoTClient | 0:e393db310d89 | 13 | typedef void* IOTHUB_CLIENT_HANDLE; |
AzureIoTClient | 0:e393db310d89 | 14 | |
AzureIoTClient | 0:e393db310d89 | 15 | extern IOTHUB_CLIENT_HANDLE IoTHubClient_CreateFromConnectionString(const char* connectionString, IOTHUB_CLIENT_TRANSPORT_PROVIDER protocol); |
AzureIoTClient | 0:e393db310d89 | 16 | extern IOTHUB_CLIENT_HANDLE IoTHubClient_Create(const IOTHUB_CLIENT_CONFIG* config); |
AzureIoTClient | 0:e393db310d89 | 17 | extern void IoTHubClient_Destroy(IOTHUB_CLIENT_HANDLE iotHubClientHandle); |
AzureIoTClient | 0:e393db310d89 | 18 | |
AzureIoTClient | 0:e393db310d89 | 19 | extern IOTHUB_CLIENT_RESULT IoTHubClient_SendEventAsync(IOTHUB_CLIENT_HANDLE iotHubClientHandle, IOTHUB_MESSAGE_HANDLE eventMessageHandle, IOTHUB_CLIENT_EVENT_CONFIRMATION_CALLBACK eventConfirmationCallback, void* userContextCallback); |
AzureIoTClient | 0:e393db310d89 | 20 | extern IOTHUB_CLIENT_RESULT IoTHubClient_GetSendStatus(IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle, IOTHUB_CLIENT_STATUS *iotHubClientStatus); |
AzureIoTClient | 0:e393db310d89 | 21 | extern IOTHUB_CLIENT_RESULT IoTHubClient_SetNotificationCallback(IOTHUB_CLIENT_HANDLE iotHubClientHandle, IOTHUB_CLIENT_NOTIFICATION_CALLBACK_ASYNC notificationCallback, void* userContextCallback); |
AzureIoTClient | 0:e393db310d89 | 22 | extern IOTHUB_CLIENT_RESULT IoTHubClient_GetLastNotificationReceiveTime(IOTHUB_CLIENT_HANDLE iotHubClientHandle, time_t* lastNotificationReceiveTime); |
AzureIoTClient | 0:e393db310d89 | 23 | extern IOTHUB_CLIENT_RESULT IoTHubClient_SetOption(IOTHUB_CLIENT_HANDLE iotHubClientHandle, const char* optionName, const void* value); |
AzureIoTClient | 0:e393db310d89 | 24 | |
AzureIoTClient | 0:e393db310d89 | 25 | #ifdef __cplusplus |
AzureIoTClient | 0:e393db310d89 | 26 | } |
AzureIoTClient | 0:e393db310d89 | 27 | #endif |
AzureIoTClient | 0:e393db310d89 | 28 | |
AzureIoTClient | 0:e393db310d89 | 29 | #endif /* IOTHUB_CLIENT_H */ |