Debian Codegraph @

src/vendor/inc/c_tlsio.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_xio
10
11
12 cdef extern from "azure_c_shared_utility/tlsio.h":
13
14 ctypedef struct TLSIO_CONFIG_TAG:
15 const char* hostname
16 int port
17 const c_xio.IO_INTERFACE_DESCRIPTION* underlying_io_interface
18 void* underlying_io_parameters
19
20 ctypedef TLSIO_CONFIG_TAG TLSIO_CONFIG
21
22
23 cdef extern from "azure_c_shared_utility/http_proxy_io.h":
24
25 ctypedef struct HTTP_PROXY_IO_CONFIG_TAG:
26 const char* hostname
27 int port
28 const char* proxy_hostname
29 int proxy_port
30 const char* username
31 const char* password
32
33 ctypedef HTTP_PROXY_IO_CONFIG_TAG HTTP_PROXY_IO_CONFIG
34
35 const c_xio.IO_INTERFACE_DESCRIPTION* http_proxy_io_get_interface_description()