Debian Codegraph @

src/vendor/inc/c_wsio.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/wsio.h":
13
14 ctypedef struct WSIO_CONFIG_TAG:
15 const char* hostname
16 int port
17 const char* resource_name
18 const char* protocol
19 const c_xio.IO_INTERFACE_DESCRIPTION* underlying_io_interface
20 void* underlying_io_parameters
21
22 ctypedef WSIO_CONFIG_TAG WSIO_CONFIG
23
24 const c_xio.IO_INTERFACE_DESCRIPTION* wsio_get_interface_description()