Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: iothub_service_client/inc/iothub_sc_version.h
- Revision:
- 0:f7f1f0d76dd6
diff -r 000000000000 -r f7f1f0d76dd6 iothub_service_client/inc/iothub_sc_version.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/iothub_service_client/inc/iothub_sc_version.h Thu Aug 23 06:52:14 2018 +0000
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+/** @file iothub_sc_version.h
+* @brief Functions for managing the service client SDK version
+*/
+
+#ifndef IOTHUB_SC_VERSION_H
+#define IOTHUB_SC_VERSION_H
+
+#define IOTHUB_SERVICE_CLIENT_TYPE_PREFIX "iothubserviceclient"
+#define IOTHUB_SERVICE_CLIENT_BACKSLASH "/"
+
+#define IOTHUB_SERVICE_CLIENT_VERSION "1.1.0"
+
+#include "azure_c_shared_utility/umock_c_prod.h"
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ /**
+ * @brief Returns a pointer to a null terminated string containing the
+ * current IoT Hub Service Client SDK version.
+ *
+ * @return Pointer to a null terminated string containing the
+ * current IoT Hub Service Client SDK version.
+ */
+ MOCKABLE_FUNCTION(, const char*, IoTHubServiceClient_GetVersionString);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // IOTHUB_SC_VERSION_H