Debian Codegraph @

src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/platform_tizenrt.c

raw
1 // Copyright (c) Microsoft. All rights reserved.
2 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
4 #include <stdlib.h>
5 #include "azure_c_shared_utility/platform.h"
6 #include "azure_c_shared_utility/tlsio_mbedtls.h"
7
8 int platform_init(void)
9 {
10 return 0;
11 }
12
13 const IO_INTERFACE_DESCRIPTION* platform_get_default_tlsio(void)
14 {
15 return tlsio_mbedtls_get_interface_description();
16 }
17
18 STRING_HANDLE platform_get_platform_info(PLATFORM_INFO_OPTION options)
19 {
20 // No applicable options, so ignoring parameter
21 (void)options;
22
23 // Expected format: "(<runtime name>; <operating system name>; <platform>)"
24
25 return STRING_construct("(native; tizenrt; undefined)");
26 }
27
28 void platform_deinit(void)
29 {
30 return;
31 }