A small memory footprint AMQP implimentation

Dependents:   iothub_client_sample_amqp remote_monitoring simplesample_amqp

Committer:
AzureIoTClient
Date:
Thu Oct 04 09:16:13 2018 -0700
Revision:
47:365a93fdb5bb
Parent:
32:35e229c1eff2
1.2.10

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AzureIoTClient 32:35e229c1eff2 1 // Copyright (c) Microsoft. All rights reserved.
AzureIoTClient 32:35e229c1eff2 2 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
AzureIoTClient 32:35e229c1eff2 3
AzureIoTClient 32:35e229c1eff2 4 #ifndef SASL_SERVER_IO_H
AzureIoTClient 32:35e229c1eff2 5 #define SASL_SERVER_IO_H
AzureIoTClient 32:35e229c1eff2 6
AzureIoTClient 32:35e229c1eff2 7 #ifdef __cplusplus
AzureIoTClient 32:35e229c1eff2 8 extern "C" {
AzureIoTClient 32:35e229c1eff2 9 #include <cstddef>
AzureIoTClient 32:35e229c1eff2 10 #else
AzureIoTClient 32:35e229c1eff2 11 #include <stddef.h>
AzureIoTClient 32:35e229c1eff2 12 #include <stdbool.h>
AzureIoTClient 32:35e229c1eff2 13 #endif /* __cplusplus */
AzureIoTClient 32:35e229c1eff2 14
AzureIoTClient 32:35e229c1eff2 15 #include "azure_c_shared_utility/xio.h"
AzureIoTClient 32:35e229c1eff2 16 #include "azure_uamqp_c/server_protocol_io.h"
AzureIoTClient 32:35e229c1eff2 17 #include "azure_uamqp_c/sasl_server_mechanism.h"
AzureIoTClient 32:35e229c1eff2 18
AzureIoTClient 32:35e229c1eff2 19 #include "azure_c_shared_utility/umock_c_prod.h"
AzureIoTClient 32:35e229c1eff2 20
AzureIoTClient 32:35e229c1eff2 21 typedef struct SASL_SERVER_IO_TAG
AzureIoTClient 32:35e229c1eff2 22 {
AzureIoTClient 32:35e229c1eff2 23 SERVER_PROTOCOL_IO_CONFIG server_protocol_io;
AzureIoTClient 32:35e229c1eff2 24 const SASL_SERVER_MECHANISM_HANDLE* sasl_server_mechanisms;
AzureIoTClient 32:35e229c1eff2 25 size_t sasl_server_mechanism_count;
AzureIoTClient 32:35e229c1eff2 26 } SASL_SERVER_IO;
AzureIoTClient 32:35e229c1eff2 27
AzureIoTClient 32:35e229c1eff2 28 MOCKABLE_FUNCTION(, const IO_INTERFACE_DESCRIPTION*, sasl_server_io_get_interface_description);
AzureIoTClient 32:35e229c1eff2 29
AzureIoTClient 32:35e229c1eff2 30 #ifdef __cplusplus
AzureIoTClient 32:35e229c1eff2 31 }
AzureIoTClient 32:35e229c1eff2 32 #endif /* __cplusplus */
AzureIoTClient 32:35e229c1eff2 33
AzureIoTClient 32:35e229c1eff2 34 #endif /* SASL_SERVER_IO_H */