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.h
- Revision:
- 43:038d8511e817
- Parent:
- 42:448eecc3676e
diff -r 448eecc3676e -r 038d8511e817 iothub_client.h --- a/iothub_client.h Tue Jun 07 10:49:08 2016 -0700 +++ b/iothub_client.h Fri Jun 17 17:02:44 2016 -0700 @@ -193,7 +193,8 @@ * @return IOTHUB_CLIENT_OK upon success or an error code upon failure. */ extern IOTHUB_CLIENT_RESULT IoTHubClient_SetOption(IOTHUB_CLIENT_HANDLE iotHubClientHandle, const char* optionName, const void* value); - + +#ifdef USE_UPLOADTOBLOB /** * @brief IoTHubClient_UploadToBlobAsync uploads data from memory to a file in Azure Blob Storage. * @@ -207,6 +208,7 @@ * @return IOTHUB_CLIENT_OK upon success or an error code upon failure. */ extern IOTHUB_CLIENT_RESULT IoTHubClient_UploadToBlobAsync(IOTHUB_CLIENT_HANDLE iotHubClientHandle, const char* destinationFileName, const unsigned char* source, size_t size, IOTHUB_CLIENT_FILE_UPLOAD_CALLBACK iotHubClientFileUploadCallback, void* context); +#endif #ifdef __cplusplus } #endif