Debian Codegraph @

src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/platform_stub.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 "azure_c_shared_utility/platform.h"
5
6 int platform_init(void)
7 {
8 return 0;
9 }
10
11 const IO_INTERFACE_DESCRIPTION* platform_get_default_tlsio(void)
12 {
13 return NULL;
14 }
15
16 STRING_HANDLE platform_get_platform_info(PLATFORM_INFO_OPTION options)
17 {
18 // No applicable options, so ignoring parameter
19 (void)options;
20
21 // Expected format: "(<runtime name>; <operating system name>; <platform>)"
22
23 return STRING_construct("(native; undefined; undefined)");
24 }
25
26 void platform_deinit(void)
27 {
28 return;
29 }