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

Revision:
37:18310e4d888d
Parent:
36:67300d5a4c1f
Child:
40:1a94db9139ea
--- a/iothub_client.h	Fri Mar 11 17:00:59 2016 -0800
+++ b/iothub_client.h	Fri Mar 25 16:00:25 2016 -0700
@@ -15,14 +15,16 @@
 #ifndef IOTHUB_CLIENT_H
 #define IOTHUB_CLIENT_H
 
+typedef struct IOTHUB_CLIENT_INSTANCE_TAG* IOTHUB_CLIENT_HANDLE;
+
 #include "iothub_client_ll.h"
+#include "iothubtransport.h"
 
 #ifdef __cplusplus
 extern "C"
 {
 #endif
 
-    typedef struct IOTHUB_CLIENT_INSTANCE_TAG* IOTHUB_CLIENT_HANDLE;
 
     /**
     * @brief	Creates a IoT Hub client for communication with an existing
@@ -56,6 +58,21 @@
     extern IOTHUB_CLIENT_HANDLE IoTHubClient_Create(const IOTHUB_CLIENT_CONFIG* config);
 
     /**
+	* @brief	Creates a IoT Hub client for communication with an existing IoT
+	* 			Hub using the specified parameters.
+	*
+	* @param	transportHandle	TRANSPORT_HANDLE which represents a connection.
+	* @param	config	Pointer to an @c IOTHUB_CLIENT_CONFIG structure
+	*
+	*			The API allows sharing of a connection across multiple
+	*			devices. This is a blocking call.
+	*
+	* @return	A non-NULL @c IOTHUB_CLIENT_HANDLE value that is used when
+	* 			invoking other functions for IoT Hub client and @c NULL on failure.
+	*/
+	extern IOTHUB_CLIENT_HANDLE IoTHubClient_CreateWithTransport(TRANSPORT_HANDLE transportHandle, const IOTHUB_CLIENT_CONFIG* config);
+
+    /**
     * @brief	Disposes of resources allocated by the IoT Hub client. This is a
     * 			blocking call.
     *