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 Azure IoT

Committer:
Azure.IoT Build
Date:
Fri Apr 08 13:24:33 2016 -0700
Revision:
38:a05929a75111
Parent:
37:18310e4d888d
1.0.4

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AzureIoTClient 16:deba40344375 1 // Copyright (c) Microsoft. All rights reserved.
AzureIoTClient 16:deba40344375 2 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
AzureIoTClient 16:deba40344375 3
AzureIoTClient 16:deba40344375 4 #ifndef IOTHUB_CLIENT_PRIVATE_H
AzureIoTClient 16:deba40344375 5 #define IOTHUB_CLIENT_PRIVATE_H
AzureIoTClient 16:deba40344375 6
AzureIoTClient 16:deba40344375 7 #include <signal.h>
AzureIoTClient 16:deba40344375 8
Azure.IoT Build 38:a05929a75111 9 #include "azure_c_shared_utility/macro_utils.h"
Azure.IoT Build 38:a05929a75111 10 #include "azure_c_shared_utility/crt_abstractions.h"
Azure.IoT Build 38:a05929a75111 11 #include "azure_c_shared_utility/doublylinkedlist.h"
AzureIoTClient 16:deba40344375 12
AzureIoTClient 16:deba40344375 13 #include "iothub_message.h"
AzureIoTClient 16:deba40344375 14 #include "iothub_client_ll.h"
AzureIoTClient 16:deba40344375 15
AzureIoTClient 16:deba40344375 16 #ifdef __cplusplus
AzureIoTClient 16:deba40344375 17 extern "C"
AzureIoTClient 16:deba40344375 18 {
AzureIoTClient 16:deba40344375 19 #endif
AzureIoTClient 16:deba40344375 20
AzureIoTClient 16:deba40344375 21 #define IOTHUB_BATCHSTATE_RESULT_VALUES IOTHUB_BATCHSTATE_SUCCESS, \
AzureIoTClient 16:deba40344375 22 IOTHUB_BATCHSTATE_FAILED
AzureIoTClient 16:deba40344375 23
AzureIoTClient 16:deba40344375 24 DEFINE_ENUM(IOTHUB_BATCHSTATE_RESULT, IOTHUB_BATCHSTATE_RESULT_VALUES);
AzureIoTClient 16:deba40344375 25
AzureIoTClient 16:deba40344375 26 #define EVENT_ENDPOINT "/messages/events"
AzureIoTClient 16:deba40344375 27 #define MESSAGE_ENDPOINT "/messages/devicebound"
AzureIoTClient 16:deba40344375 28 #define MESSAGE_ENDPOINT_HTTP "/messages/devicebound"
AzureIoTClient 16:deba40344375 29 #define MESSAGE_ENDPOINT_HTTP_ETAG "/messages/devicebound/"
AzureIoTClient 32:6e9d81a62085 30 #define CLIENT_DEVICE_TYPE_PREFIX "iothubclient"
AzureIoTClient 32:6e9d81a62085 31 #define CLIENT_DEVICE_BACKSLASH "/"
AzureIoTClient 16:deba40344375 32 #define CBS_REPLY_TO "cbs"
AzureIoTClient 16:deba40344375 33 #define CBS_ENDPOINT "/$" CBS_REPLY_TO
Azure.IoT Build 34:578a1a3636cc 34 #define API_VERSION "?api-version=2016-02-03"
AzureIoTClient 16:deba40344375 35 #define REJECT_QUERY_PARAMETER "&reject"
AzureIoTClient 16:deba40344375 36
AzureIoTClient 16:deba40344375 37 extern void IoTHubClient_LL_SendComplete(IOTHUB_CLIENT_LL_HANDLE handle, PDLIST_ENTRY completed, IOTHUB_BATCHSTATE_RESULT result);
AzureIoTClient 16:deba40344375 38 extern IOTHUBMESSAGE_DISPOSITION_RESULT IoTHubClient_LL_MessageCallback(IOTHUB_CLIENT_LL_HANDLE handle, IOTHUB_MESSAGE_HANDLE message);
AzureIoTClient 16:deba40344375 39
AzureIoTClient 16:deba40344375 40 typedef struct IOTHUB_MESSAGE_LIST_TAG
AzureIoTClient 16:deba40344375 41 {
AzureIoTClient 16:deba40344375 42 IOTHUB_MESSAGE_HANDLE messageHandle;
AzureIoTClient 16:deba40344375 43 IOTHUB_CLIENT_EVENT_CONFIRMATION_CALLBACK callback;
AzureIoTClient 16:deba40344375 44 void* context;
AzureIoTClient 16:deba40344375 45 DLIST_ENTRY entry;
Azure.IoT Build 36:67300d5a4c1f 46 uint64_t ms_timesOutAfter; /* a value of "0" means "no timeout", if the IOTHUBCLIENT_LL's handle tickcounter > msTimesOutAfer then the message shall timeout*/
AzureIoTClient 16:deba40344375 47 }IOTHUB_MESSAGE_LIST;
AzureIoTClient 16:deba40344375 48
AzureIoTClient 16:deba40344375 49
AzureIoTClient 16:deba40344375 50 #ifdef __cplusplus
AzureIoTClient 16:deba40344375 51 }
AzureIoTClient 16:deba40344375 52 #endif
AzureIoTClient 16:deba40344375 53
AzureIoTClient 16:deba40344375 54 #endif /* IOTHUB_CLIENT_PRIVATE_H */