Debian Codegraph @

src/vendor/azure-uamqp-c/samples/local_server_tls_sample/tls_server_io.h

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 #ifndef TLS_SERVER_IO_H
5 #define TLS_SERVER_IO_H
6
7 #ifdef __cplusplus
8 extern "C" {
9 #include <cstddef>
10 #else
11 #include <stddef.h>
12 #endif /* __cplusplus */
13
14 #include "azure_c_shared_utility/xio.h"
15
16 typedef struct TLS_SERVER_IO_CONFIG_TAG
17 {
18 const unsigned char* certificate;
19 size_t certificate_size;
20 const IO_INTERFACE_DESCRIPTION* underlying_io_interface;
21 void* underlying_io_parameters;
22 } TLS_SERVER_IO_CONFIG;
23
24 extern const IO_INTERFACE_DESCRIPTION* tls_server_io_get_interface_description(void);
25
26 #ifdef __cplusplus
27 }
28 #endif /* __cplusplus */
29
30 #endif /* TLS_SERVER_IO_H */