Microsoft Azure IoTHub client libraries
Dependents: sht15_remote_monitoring RobotArmDemo iothub_client_sample_amqp f767zi_mqtt ... more
This library implements the Microsoft Azure IoTHub client library. The code is replicated from https://github.com/Azure/azure-iot-sdks
Diff: iothub.h
- Revision:
- 89:a2ed767a532e
diff -r 248736be106e -r a2ed767a532e iothub.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/iothub.h Tue Jun 26 19:14:28 2018 -0700 @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +#ifndef IOTHUB_H +#define IOTHUB_H + +#include "azure_c_shared_utility/umock_c_prod.h" + +#ifdef __cplusplus +extern "C" +{ +#else +#endif + /** + * @brief IoTHubClient_Init Initializes the IoTHub Client System. + * + * @return int zero upon success, any other value upon failure. + */ + MOCKABLE_FUNCTION(, int, IoTHub_Init); + + /** + * @brief IoTHubClient_Deinit Frees resources initialized in the IoTHubClient_Init function call. + * + */ + MOCKABLE_FUNCTION(, void, IoTHub_Deinit); + +#ifdef __cplusplus +} +#endif + +#endif /* IOTHUB_H */