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: iothub_client_private.h
- Revision:
- 37:18310e4d888d
- Parent:
- 36:67300d5a4c1f
- Child:
- 38:a05929a75111
diff -r 67300d5a4c1f -r 18310e4d888d iothub_client_private.h --- a/iothub_client_private.h Fri Mar 11 17:00:59 2016 -0800 +++ b/iothub_client_private.h Fri Mar 25 16:00:25 2016 -0700 @@ -39,12 +39,6 @@ extern void IoTHubClient_LL_SendComplete(IOTHUB_CLIENT_LL_HANDLE handle, PDLIST_ENTRY completed, IOTHUB_BATCHSTATE_RESULT result); extern IOTHUBMESSAGE_DISPOSITION_RESULT IoTHubClient_LL_MessageCallback(IOTHUB_CLIENT_LL_HANDLE handle, IOTHUB_MESSAGE_HANDLE message); -typedef struct IOTHUBTRANSPORT_CONFIG_TAG -{ - const IOTHUB_CLIENT_CONFIG* upperConfig; - PDLIST_ENTRY waitingToSend; -}IOTHUBTRANSPORT_CONFIG; - typedef struct IOTHUB_MESSAGE_LIST_TAG { IOTHUB_MESSAGE_HANDLE messageHandle; @@ -54,17 +48,17 @@ uint64_t ms_timesOutAfter; /* a value of "0" means "no timeout", if the IOTHUBCLIENT_LL's handle tickcounter > msTimesOutAfer then the message shall timeout*/ }IOTHUB_MESSAGE_LIST; -typedef void* TRANSPORT_HANDLE; +typedef void* TRANSPORT_LL_HANDLE; typedef void* IOTHUB_DEVICE_HANDLE; -typedef IOTHUB_CLIENT_RESULT(*pfIoTHubTransport_SetOption)(TRANSPORT_HANDLE handle, const char *optionName, const void* value); -typedef TRANSPORT_HANDLE(*pfIoTHubTransport_Create)(const IOTHUBTRANSPORT_CONFIG* config); -typedef void (*pfIoTHubTransport_Destroy)(TRANSPORT_HANDLE handle); -typedef IOTHUB_DEVICE_HANDLE(*pfIotHubTransport_Register)(TRANSPORT_HANDLE handle, const char* deviceId, const char* deviceKey, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle, PDLIST_ENTRY waitingToSend); +typedef IOTHUB_CLIENT_RESULT(*pfIoTHubTransport_SetOption)(TRANSPORT_LL_HANDLE handle, const char *optionName, const void* value); +typedef TRANSPORT_LL_HANDLE(*pfIoTHubTransport_Create)(const IOTHUBTRANSPORT_CONFIG* config); +typedef void (*pfIoTHubTransport_Destroy)(TRANSPORT_LL_HANDLE handle); +typedef IOTHUB_DEVICE_HANDLE(*pfIotHubTransport_Register)(TRANSPORT_LL_HANDLE handle, const char* deviceId, const char* deviceKey, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle, PDLIST_ENTRY waitingToSend); typedef void(*pfIotHubTransport_Unregister)(IOTHUB_DEVICE_HANDLE deviceHandle); typedef int (*pfIoTHubTransport_Subscribe)(IOTHUB_DEVICE_HANDLE handle); typedef void (*pfIoTHubTransport_Unsubscribe)(IOTHUB_DEVICE_HANDLE handle); -typedef void (*pfIoTHubTransport_DoWork)(TRANSPORT_HANDLE handle, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle); +typedef void (*pfIoTHubTransport_DoWork)(TRANSPORT_LL_HANDLE handle, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle); typedef IOTHUB_CLIENT_RESULT(*pfIoTHubTransport_GetSendStatus)(IOTHUB_DEVICE_HANDLE handle, IOTHUB_CLIENT_STATUS *iotHubClientStatus); #define TRANSPORT_PROVIDER_FIELDS \