Debian Codegraph @

src/vendor/azure-uamqp-c/inc/azure_uamqp_c/messaging.h

raw
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 MESSAGING_H
5 #define MESSAGING_H
6
7 #include "azure_uamqp_c/amqpvalue.h"
8
9 #ifdef __cplusplus
10 #include <cstdint>
11 extern "C" {
12 #else
13 #include <stdint.h>
14 #endif /* __cplusplus */
15
16 #include "umock_c/umock_c_prod.h"
17
18 MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_create_source, const char*, address);
19 MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_create_target, const char*, address);
20
21 MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_delivery_received, uint32_t, section_number, uint64_t, section_offset);
22 MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_delivery_accepted);
23 MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_delivery_rejected, const char*, error_condition, const char*, error_description, fields, error_info);
24 MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_delivery_released);
25 MOCKABLE_FUNCTION(, AMQP_VALUE, messaging_delivery_modified, bool, delivery_failed, bool, undeliverable_here, fields, message_annotations);
26
27 #ifdef __cplusplus
28 }
29 #endif /* __cplusplus */
30
31 #endif /* MESSAGING_H */