A small memory footprint AMQP implimentation
Dependents: iothub_client_sample_amqp remote_monitoring simplesample_amqp
azure_uamqp_c/messaging.h@47:365a93fdb5bb, 2018-10-04 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Thu Oct 04 09:16:13 2018 -0700
- Revision:
- 47:365a93fdb5bb
- Parent:
- 40:f0ceafa8d570
1.2.10
Who changed what in which revision?
User | Revision | Line number | New 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 | |
Azure.IoT Build | 0:6ae2f7bca550 | 9 | #ifdef __cplusplus |
Azure.IoT Build | 0:6ae2f7bca550 | 10 | #include <cstdint> |
Azure.IoT Build | 0:6ae2f7bca550 | 11 | extern "C" { |
Azure.IoT Build | 0:6ae2f7bca550 | 12 | #else |
Azure.IoT Build | 0:6ae2f7bca550 | 13 | #include <stdint.h> |
Azure.IoT Build | 0:6ae2f7bca550 | 14 | #endif /* __cplusplus */ |
Azure.IoT Build | 0:6ae2f7bca550 | 15 | |
AzureIoTClient | 10:19ce00951771 | 16 | #include "azure_c_shared_utility/umock_c_prod.h" |
AzureIoTClient | 10:19ce00951771 | 17 | |
AzureIoTClient | 28:add19eb7defa | 18 | MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_create_source, const char*, address); |
AzureIoTClient | 28:add19eb7defa | 19 | MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_create_target, const char*, address); |
Azure.IoT Build | 0:6ae2f7bca550 | 20 | |
AzureIoTClient | 28:add19eb7defa | 21 | MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_delivery_received, uint32_t, section_number, uint64_t, section_offset); |
AzureIoTClient | 28:add19eb7defa | 22 | MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_delivery_accepted); |
AzureIoTClient | 28:add19eb7defa | 23 | MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_delivery_rejected, const char*, error_condition, const char*, error_description); |
AzureIoTClient | 28:add19eb7defa | 24 | MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_delivery_released); |
AzureIoTClient | 28:add19eb7defa | 25 | MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_delivery_modified, bool, delivery_failed, bool, undeliverable_here, fields, message_annotations); |
Azure.IoT Build | 0:6ae2f7bca550 | 26 | |
Azure.IoT Build | 0:6ae2f7bca550 | 27 | #ifdef __cplusplus |
Azure.IoT Build | 0:6ae2f7bca550 | 28 | } |
Azure.IoT Build | 0:6ae2f7bca550 | 29 | #endif /* __cplusplus */ |
Azure.IoT Build | 0:6ae2f7bca550 | 30 | |
Azure.IoT Build | 0:6ae2f7bca550 | 31 | #endif /* MESSAGING_H */ |