| 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 SASLCLIENTIO_H |
| 5 |
#define SASLCLIENTIO_H |
| 6 |
|
| 7 |
#ifdef __cplusplus |
| 8 |
extern "C" { |
| 9 |
#include <cstddef> |
| 10 |
#else |
| 11 |
#include <stddef.h> |
| 12 |
#endif /* __cplusplus */ |
| 13 |
|
| 14 |
#include <stdbool.h> |
| 15 |
|
| 16 |
#include "azure_c_shared_utility/xio.h" |
| 17 |
#include "azure_uamqp_c/sasl_mechanism.h" |
| 18 |
|
| 19 |
#include "umock_c/umock_c_prod.h" |
| 20 |
|
| 21 |
typedef struct SASLCLIENTIO_CONFIG_TAG |
| 22 |
{ |
| 23 |
XIO_HANDLE underlying_io; |
| 24 |
SASL_MECHANISM_HANDLE sasl_mechanism; |
| 25 |
} SASLCLIENTIO_CONFIG; |
| 26 |
|
| 27 |
MOCKABLE_FUNCTION(, const IO_INTERFACE_DESCRIPTION*, saslclientio_get_interface_description); |
| 28 |
|
| 29 |
#ifdef __cplusplus |
| 30 |
} |
| 31 |
#endif /* __cplusplus */ |
| 32 |
|
| 33 |
#endif /* SASLCLIENTIO_H */ |