A small memory footprint AMQP implimentation
Dependents: iothub_client_sample_amqp remote_monitoring simplesample_amqp
azure_uamqp_c/amqp_definitions_attach.h@47:365a93fdb5bb, 2018-10-04 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Thu Oct 04 09:16:13 2018 -0700
- Revision:
- 47:365a93fdb5bb
- Parent:
- 43:4c1e4e94cdd3
1.2.10
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AzureIoTClient | 40:f0ceafa8d570 | 1 | |
AzureIoTClient | 40:f0ceafa8d570 | 2 | |
AzureIoTClient | 40:f0ceafa8d570 | 3 | // Copyright (c) Microsoft. All rights reserved. |
AzureIoTClient | 40:f0ceafa8d570 | 4 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
AzureIoTClient | 40:f0ceafa8d570 | 5 | |
AzureIoTClient | 43:4c1e4e94cdd3 | 6 | // This file is generated. DO NOT EDIT it manually. |
AzureIoTClient | 43:4c1e4e94cdd3 | 7 | // The generator that produces it is located at /uamqp_generator/uamqp_generator.sln |
AzureIoTClient | 43:4c1e4e94cdd3 | 8 | |
AzureIoTClient | 40:f0ceafa8d570 | 9 | #ifndef AMQP_DEFINITIONS_ATTACH_H |
AzureIoTClient | 40:f0ceafa8d570 | 10 | #define AMQP_DEFINITIONS_ATTACH_H |
AzureIoTClient | 40:f0ceafa8d570 | 11 | |
AzureIoTClient | 40:f0ceafa8d570 | 12 | |
AzureIoTClient | 40:f0ceafa8d570 | 13 | #ifdef __cplusplus |
AzureIoTClient | 40:f0ceafa8d570 | 14 | #include <cstdint> |
AzureIoTClient | 40:f0ceafa8d570 | 15 | extern "C" { |
AzureIoTClient | 40:f0ceafa8d570 | 16 | #else |
AzureIoTClient | 40:f0ceafa8d570 | 17 | #include <stdint.h> |
AzureIoTClient | 40:f0ceafa8d570 | 18 | #include <stdbool.h> |
AzureIoTClient | 40:f0ceafa8d570 | 19 | #endif |
AzureIoTClient | 40:f0ceafa8d570 | 20 | |
AzureIoTClient | 40:f0ceafa8d570 | 21 | #include "azure_uamqp_c/amqpvalue.h" |
AzureIoTClient | 40:f0ceafa8d570 | 22 | #include "azure_c_shared_utility/umock_c_prod.h" |
AzureIoTClient | 40:f0ceafa8d570 | 23 | |
AzureIoTClient | 40:f0ceafa8d570 | 24 | typedef struct ATTACH_INSTANCE_TAG* ATTACH_HANDLE; |
AzureIoTClient | 40:f0ceafa8d570 | 25 | |
AzureIoTClient | 40:f0ceafa8d570 | 26 | MOCKABLE_FUNCTION(, ATTACH_HANDLE, attach_create , const char*, name_value, handle, handle_value, role, role_value); |
AzureIoTClient | 40:f0ceafa8d570 | 27 | MOCKABLE_FUNCTION(, ATTACH_HANDLE, attach_clone, ATTACH_HANDLE, value); |
AzureIoTClient | 40:f0ceafa8d570 | 28 | MOCKABLE_FUNCTION(, void, attach_destroy, ATTACH_HANDLE, attach); |
AzureIoTClient | 40:f0ceafa8d570 | 29 | MOCKABLE_FUNCTION(, bool, is_attach_type_by_descriptor, AMQP_VALUE, descriptor); |
AzureIoTClient | 40:f0ceafa8d570 | 30 | MOCKABLE_FUNCTION(, int, amqpvalue_get_attach, AMQP_VALUE, value, ATTACH_HANDLE*, ATTACH_handle); |
AzureIoTClient | 40:f0ceafa8d570 | 31 | MOCKABLE_FUNCTION(, AMQP_VALUE, amqpvalue_create_attach, ATTACH_HANDLE, attach); |
AzureIoTClient | 40:f0ceafa8d570 | 32 | |
AzureIoTClient | 40:f0ceafa8d570 | 33 | MOCKABLE_FUNCTION(, int, attach_get_name, ATTACH_HANDLE, attach, const char**, name_value); |
AzureIoTClient | 40:f0ceafa8d570 | 34 | MOCKABLE_FUNCTION(, int, attach_set_name, ATTACH_HANDLE, attach, const char*, name_value); |
AzureIoTClient | 40:f0ceafa8d570 | 35 | MOCKABLE_FUNCTION(, int, attach_get_handle, ATTACH_HANDLE, attach, handle*, handle_value); |
AzureIoTClient | 40:f0ceafa8d570 | 36 | MOCKABLE_FUNCTION(, int, attach_set_handle, ATTACH_HANDLE, attach, handle, handle_value); |
AzureIoTClient | 40:f0ceafa8d570 | 37 | MOCKABLE_FUNCTION(, int, attach_get_role, ATTACH_HANDLE, attach, role*, role_value); |
AzureIoTClient | 40:f0ceafa8d570 | 38 | MOCKABLE_FUNCTION(, int, attach_set_role, ATTACH_HANDLE, attach, role, role_value); |
AzureIoTClient | 40:f0ceafa8d570 | 39 | MOCKABLE_FUNCTION(, int, attach_get_snd_settle_mode, ATTACH_HANDLE, attach, sender_settle_mode*, snd_settle_mode_value); |
AzureIoTClient | 40:f0ceafa8d570 | 40 | MOCKABLE_FUNCTION(, int, attach_set_snd_settle_mode, ATTACH_HANDLE, attach, sender_settle_mode, snd_settle_mode_value); |
AzureIoTClient | 40:f0ceafa8d570 | 41 | MOCKABLE_FUNCTION(, int, attach_get_rcv_settle_mode, ATTACH_HANDLE, attach, receiver_settle_mode*, rcv_settle_mode_value); |
AzureIoTClient | 40:f0ceafa8d570 | 42 | MOCKABLE_FUNCTION(, int, attach_set_rcv_settle_mode, ATTACH_HANDLE, attach, receiver_settle_mode, rcv_settle_mode_value); |
AzureIoTClient | 40:f0ceafa8d570 | 43 | MOCKABLE_FUNCTION(, int, attach_get_source, ATTACH_HANDLE, attach, AMQP_VALUE*, source_value); |
AzureIoTClient | 40:f0ceafa8d570 | 44 | MOCKABLE_FUNCTION(, int, attach_set_source, ATTACH_HANDLE, attach, AMQP_VALUE, source_value); |
AzureIoTClient | 40:f0ceafa8d570 | 45 | MOCKABLE_FUNCTION(, int, attach_get_target, ATTACH_HANDLE, attach, AMQP_VALUE*, target_value); |
AzureIoTClient | 40:f0ceafa8d570 | 46 | MOCKABLE_FUNCTION(, int, attach_set_target, ATTACH_HANDLE, attach, AMQP_VALUE, target_value); |
AzureIoTClient | 40:f0ceafa8d570 | 47 | MOCKABLE_FUNCTION(, int, attach_get_unsettled, ATTACH_HANDLE, attach, AMQP_VALUE*, unsettled_value); |
AzureIoTClient | 40:f0ceafa8d570 | 48 | MOCKABLE_FUNCTION(, int, attach_set_unsettled, ATTACH_HANDLE, attach, AMQP_VALUE, unsettled_value); |
AzureIoTClient | 40:f0ceafa8d570 | 49 | MOCKABLE_FUNCTION(, int, attach_get_incomplete_unsettled, ATTACH_HANDLE, attach, bool*, incomplete_unsettled_value); |
AzureIoTClient | 40:f0ceafa8d570 | 50 | MOCKABLE_FUNCTION(, int, attach_set_incomplete_unsettled, ATTACH_HANDLE, attach, bool, incomplete_unsettled_value); |
AzureIoTClient | 40:f0ceafa8d570 | 51 | MOCKABLE_FUNCTION(, int, attach_get_initial_delivery_count, ATTACH_HANDLE, attach, sequence_no*, initial_delivery_count_value); |
AzureIoTClient | 40:f0ceafa8d570 | 52 | MOCKABLE_FUNCTION(, int, attach_set_initial_delivery_count, ATTACH_HANDLE, attach, sequence_no, initial_delivery_count_value); |
AzureIoTClient | 40:f0ceafa8d570 | 53 | MOCKABLE_FUNCTION(, int, attach_get_max_message_size, ATTACH_HANDLE, attach, uint64_t*, max_message_size_value); |
AzureIoTClient | 40:f0ceafa8d570 | 54 | MOCKABLE_FUNCTION(, int, attach_set_max_message_size, ATTACH_HANDLE, attach, uint64_t, max_message_size_value); |
AzureIoTClient | 40:f0ceafa8d570 | 55 | MOCKABLE_FUNCTION(, int, attach_get_offered_capabilities, ATTACH_HANDLE, attach, AMQP_VALUE*, offered_capabilities_value); |
AzureIoTClient | 40:f0ceafa8d570 | 56 | MOCKABLE_FUNCTION(, int, attach_set_offered_capabilities, ATTACH_HANDLE, attach, AMQP_VALUE, offered_capabilities_value); |
AzureIoTClient | 40:f0ceafa8d570 | 57 | MOCKABLE_FUNCTION(, int, attach_get_desired_capabilities, ATTACH_HANDLE, attach, AMQP_VALUE*, desired_capabilities_value); |
AzureIoTClient | 40:f0ceafa8d570 | 58 | MOCKABLE_FUNCTION(, int, attach_set_desired_capabilities, ATTACH_HANDLE, attach, AMQP_VALUE, desired_capabilities_value); |
AzureIoTClient | 40:f0ceafa8d570 | 59 | MOCKABLE_FUNCTION(, int, attach_get_properties, ATTACH_HANDLE, attach, fields*, properties_value); |
AzureIoTClient | 40:f0ceafa8d570 | 60 | MOCKABLE_FUNCTION(, int, attach_set_properties, ATTACH_HANDLE, attach, fields, properties_value); |
AzureIoTClient | 40:f0ceafa8d570 | 61 | |
AzureIoTClient | 40:f0ceafa8d570 | 62 | |
AzureIoTClient | 40:f0ceafa8d570 | 63 | #ifdef __cplusplus |
AzureIoTClient | 40:f0ceafa8d570 | 64 | } |
AzureIoTClient | 40:f0ceafa8d570 | 65 | #endif |
AzureIoTClient | 40:f0ceafa8d570 | 66 | |
AzureIoTClient | 40:f0ceafa8d570 | 67 | #endif /* AMQP_DEFINITIONS_ATTACH_H */ |