Debian Codegraph @

src/vendor/inc/c_platform.pxd

raw
1 #-------------------------------------------------------------------------
2 # Copyright (c) Microsoft Corporation. All rights reserved.
3 # Licensed under the MIT License. See License.txt in the project root for
4 # license information.
5 #--------------------------------------------------------------------------
6
7 from libc cimport stdint
8
9 cimport c_strings
10 cimport c_xio
11
12
13 cdef extern from "azure_c_shared_utility/platform.h":
14
15 cdef enum PLATFORM_INFO_OPTION_TAG:
16 PLATFORM_INFO_OPTION_DEFAULT,
17 PLATFORM_INFO_OPTION_RETRIEVE_SQM,
18
19 int platform_init()
20 void platform_deinit()
21 const c_xio.IO_INTERFACE_DESCRIPTION* platform_get_default_tlsio()
22 c_strings.STRING_HANDLE platform_get_platform_info(PLATFORM_INFO_OPTION_TAG options)