Mark Radbourne / Mbed 2 deprecated iothub_client_sample_amqp

Dependencies:   EthernetInterface NTPClient iothub_amqp_transport iothub_client mbed-rtos mbed

Fork of iothub_client_sample_amqp by Azure IoT

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers sasl_anonymous.h Source File

sasl_anonymous.h

00001 // Copyright (c) Microsoft. All rights reserved.
00002 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
00003 
00004 #ifndef SASL_ANONYMOUS_H
00005 #define SASL_ANONYMOUS_H
00006 
00007 #include "azure_uamqp_c/sasl_mechanism.h"
00008 #include "azure_c_shared_utility/xlogging.h"
00009 
00010 #ifdef __cplusplus
00011 extern "C" {
00012 #endif /* __cplusplus */
00013 
00014 #include "azure_c_shared_utility/umock_c_prod.h"
00015 
00016     MOCKABLE_FUNCTION(, CONCRETE_SASL_MECHANISM_HANDLE, saslanonymous_create, void*, config);
00017     MOCKABLE_FUNCTION(, void, saslanonymous_destroy, CONCRETE_SASL_MECHANISM_HANDLE, concrete_sasl_mechanism);
00018     MOCKABLE_FUNCTION(, int, saslanonymous_get_init_bytes, CONCRETE_SASL_MECHANISM_HANDLE, concrete_sasl_mechanism, SASL_MECHANISM_BYTES*, init_bytes);
00019     MOCKABLE_FUNCTION(, const char*, saslanonymous_get_mechanism_name, CONCRETE_SASL_MECHANISM_HANDLE, concrete_sasl_mechanism);
00020     MOCKABLE_FUNCTION(, int, saslanonymous_challenge, CONCRETE_SASL_MECHANISM_HANDLE, concrete_sasl_mechanism, const SASL_MECHANISM_BYTES*, challenge_bytes, SASL_MECHANISM_BYTES*, response_bytes);
00021     MOCKABLE_FUNCTION(, const SASL_MECHANISM_INTERFACE_DESCRIPTION*, saslanonymous_get_interface);
00022 
00023 #ifdef __cplusplus
00024 }
00025 #endif /* __cplusplus */
00026 
00027 #endif /* SASL_ANONYMOUS_H */