Debian Codegraph @

src/vendor/azure-uamqp-c/inc/azure_uamqp_c/sasl_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 SASL_SERVER_IO_H
5 #define SASL_SERVER_IO_H
6
7 #ifdef __cplusplus
8 extern "C" {
9 #include <cstddef>
10 #else
11 #include <stddef.h>
12 #include <stdbool.h>
13 #endif /* __cplusplus */
14
15 #include "azure_c_shared_utility/xio.h"
16 #include "azure_uamqp_c/server_protocol_io.h"
17 #include "azure_uamqp_c/sasl_server_mechanism.h"
18
19 #include "umock_c/umock_c_prod.h"
20
21 typedef struct SASL_SERVER_IO_TAG
22 {
23 SERVER_PROTOCOL_IO_CONFIG server_protocol_io;
24 const SASL_SERVER_MECHANISM_HANDLE* sasl_server_mechanisms;
25 size_t sasl_server_mechanism_count;
26 } SASL_SERVER_IO;
27
28 MOCKABLE_FUNCTION(, const IO_INTERFACE_DESCRIPTION*, sasl_server_io_get_interface_description);
29
30 #ifdef __cplusplus
31 }
32 #endif /* __cplusplus */
33
34 #endif /* SASL_SERVER_IO_H */