| 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_MSSBCBS_H |
| 5 |
#define SASL_MSSBCBS_H |
| 6 |
|
| 7 |
#include "azure_uamqp_c/sasl_mechanism.h" |
| 8 |
|
| 9 |
#ifdef __cplusplus |
| 10 |
extern "C" { |
| 11 |
#endif /* __cplusplus */ |
| 12 |
|
| 13 |
#include "umock_c/umock_c_prod.h" |
| 14 |
|
| 15 |
MOCKABLE_FUNCTION(, CONCRETE_SASL_MECHANISM_HANDLE, saslmssbcbs_create, void*, config); |
| 16 |
MOCKABLE_FUNCTION(, void, saslmssbcbs_destroy, CONCRETE_SASL_MECHANISM_HANDLE, sasl_mechanism_concrete_handle); |
| 17 |
MOCKABLE_FUNCTION(, int, saslmssbcbs_get_init_bytes, CONCRETE_SASL_MECHANISM_HANDLE, sasl_mechanism_concrete_handle, SASL_MECHANISM_BYTES*, init_bytes); |
| 18 |
MOCKABLE_FUNCTION(, const char*, saslmssbcbs_get_mechanism_name, CONCRETE_SASL_MECHANISM_HANDLE, sasl_mechanism); |
| 19 |
MOCKABLE_FUNCTION(, int, saslmssbcbs_challenge, CONCRETE_SASL_MECHANISM_HANDLE, concrete_sasl_mechanism, const SASL_MECHANISM_BYTES*, challenge_bytes, SASL_MECHANISM_BYTES*, response_bytes); |
| 20 |
MOCKABLE_FUNCTION(, const SASL_MECHANISM_INTERFACE_DESCRIPTION*, saslmssbcbs_get_interface); |
| 21 |
|
| 22 |
#ifdef __cplusplus |
| 23 |
} |
| 24 |
#endif /* __cplusplus */ |
| 25 |
|
| 26 |
#endif /* SASL_MSSBCBS_H */ |