A small memory footprint AMQP implimentation

Dependents:   iothub_client_sample_amqp remote_monitoring simplesample_amqp

Committer:
AzureIoTClient
Date:
Fri Jun 30 10:41:22 2017 -0700
Revision:
28:add19eb7defa
Parent:
10:19ce00951771
Child:
40:f0ceafa8d570
1.1.18

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Azure.IoT Build 0:6ae2f7bca550 1 // Copyright (c) Microsoft. All rights reserved.
Azure.IoT Build 0:6ae2f7bca550 2 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
Azure.IoT Build 0:6ae2f7bca550 3
Azure.IoT Build 0:6ae2f7bca550 4 #ifndef MESSAGING_H
Azure.IoT Build 0:6ae2f7bca550 5 #define MESSAGING_H
Azure.IoT Build 0:6ae2f7bca550 6
Azure.IoT Build 0:6ae2f7bca550 7 #include "azure_uamqp_c/amqpvalue.h"
Azure.IoT Build 0:6ae2f7bca550 8 #include "azure_uamqp_c/amqp_definitions.h"
Azure.IoT Build 0:6ae2f7bca550 9
Azure.IoT Build 0:6ae2f7bca550 10 #ifdef __cplusplus
Azure.IoT Build 0:6ae2f7bca550 11 #include <cstdint>
Azure.IoT Build 0:6ae2f7bca550 12 extern "C" {
Azure.IoT Build 0:6ae2f7bca550 13 #else
Azure.IoT Build 0:6ae2f7bca550 14 #include <stdint.h>
Azure.IoT Build 0:6ae2f7bca550 15 #endif /* __cplusplus */
Azure.IoT Build 0:6ae2f7bca550 16
AzureIoTClient 10:19ce00951771 17 #include "azure_c_shared_utility/umock_c_prod.h"
AzureIoTClient 10:19ce00951771 18
AzureIoTClient 28:add19eb7defa 19 MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_create_source, const char*, address);
AzureIoTClient 28:add19eb7defa 20 MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_create_target, const char*, address);
Azure.IoT Build 0:6ae2f7bca550 21
AzureIoTClient 28:add19eb7defa 22 MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_delivery_received, uint32_t, section_number, uint64_t, section_offset);
AzureIoTClient 28:add19eb7defa 23 MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_delivery_accepted);
AzureIoTClient 28:add19eb7defa 24 MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_delivery_rejected, const char*, error_condition, const char*, error_description);
AzureIoTClient 28:add19eb7defa 25 MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_delivery_released);
AzureIoTClient 28:add19eb7defa 26 MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_delivery_modified, bool, delivery_failed, bool, undeliverable_here, fields, message_annotations);
Azure.IoT Build 0:6ae2f7bca550 27
Azure.IoT Build 0:6ae2f7bca550 28 #ifdef __cplusplus
Azure.IoT Build 0:6ae2f7bca550 29 }
Azure.IoT Build 0:6ae2f7bca550 30 #endif /* __cplusplus */
Azure.IoT Build 0:6ae2f7bca550 31
Azure.IoT Build 0:6ae2f7bca550 32 #endif /* MESSAGING_H */