| 1 |
|
| 2 |
|
| 3 |
// Copyright (c) Microsoft. All rights reserved. |
| 4 |
// Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| 5 |
|
| 6 |
// This file is generated. DO NOT EDIT it manually. |
| 7 |
// The generator that produces it is located at /uamqp_generator/uamqp_generator.sln |
| 8 |
|
| 9 |
#ifndef AMQP_DEFINITIONS_TARGET_H |
| 10 |
#define AMQP_DEFINITIONS_TARGET_H |
| 11 |
|
| 12 |
|
| 13 |
#ifdef __cplusplus |
| 14 |
#include <cstdint> |
| 15 |
extern "C" { |
| 16 |
#else |
| 17 |
#include <stdint.h> |
| 18 |
#include <stdbool.h> |
| 19 |
#endif |
| 20 |
|
| 21 |
#include "azure_uamqp_c/amqpvalue.h" |
| 22 |
#include "umock_c/umock_c_prod.h" |
| 23 |
|
| 24 |
typedef struct TARGET_INSTANCE_TAG* TARGET_HANDLE; |
| 25 |
|
| 26 |
MOCKABLE_FUNCTION(, TARGET_HANDLE, target_create ); |
| 27 |
MOCKABLE_FUNCTION(, TARGET_HANDLE, target_clone, TARGET_HANDLE, value); |
| 28 |
MOCKABLE_FUNCTION(, void, target_destroy, TARGET_HANDLE, target); |
| 29 |
MOCKABLE_FUNCTION(, bool, is_target_type_by_descriptor, AMQP_VALUE, descriptor); |
| 30 |
MOCKABLE_FUNCTION(, int, amqpvalue_get_target, AMQP_VALUE, value, TARGET_HANDLE*, TARGET_handle); |
| 31 |
MOCKABLE_FUNCTION(, AMQP_VALUE, amqpvalue_create_target, TARGET_HANDLE, target); |
| 32 |
|
| 33 |
MOCKABLE_FUNCTION(, int, target_get_address, TARGET_HANDLE, target, AMQP_VALUE*, address_value); |
| 34 |
MOCKABLE_FUNCTION(, int, target_set_address, TARGET_HANDLE, target, AMQP_VALUE, address_value); |
| 35 |
MOCKABLE_FUNCTION(, int, target_get_durable, TARGET_HANDLE, target, terminus_durability*, durable_value); |
| 36 |
MOCKABLE_FUNCTION(, int, target_set_durable, TARGET_HANDLE, target, terminus_durability, durable_value); |
| 37 |
MOCKABLE_FUNCTION(, int, target_get_expiry_policy, TARGET_HANDLE, target, terminus_expiry_policy*, expiry_policy_value); |
| 38 |
MOCKABLE_FUNCTION(, int, target_set_expiry_policy, TARGET_HANDLE, target, terminus_expiry_policy, expiry_policy_value); |
| 39 |
MOCKABLE_FUNCTION(, int, target_get_timeout, TARGET_HANDLE, target, seconds*, timeout_value); |
| 40 |
MOCKABLE_FUNCTION(, int, target_set_timeout, TARGET_HANDLE, target, seconds, timeout_value); |
| 41 |
MOCKABLE_FUNCTION(, int, target_get_dynamic, TARGET_HANDLE, target, bool*, dynamic_value); |
| 42 |
MOCKABLE_FUNCTION(, int, target_set_dynamic, TARGET_HANDLE, target, bool, dynamic_value); |
| 43 |
MOCKABLE_FUNCTION(, int, target_get_dynamic_node_properties, TARGET_HANDLE, target, node_properties*, dynamic_node_properties_value); |
| 44 |
MOCKABLE_FUNCTION(, int, target_set_dynamic_node_properties, TARGET_HANDLE, target, node_properties, dynamic_node_properties_value); |
| 45 |
MOCKABLE_FUNCTION(, int, target_get_capabilities, TARGET_HANDLE, target, AMQP_VALUE*, capabilities_value); |
| 46 |
MOCKABLE_FUNCTION(, int, target_set_capabilities, TARGET_HANDLE, target, AMQP_VALUE, capabilities_value); |
| 47 |
|
| 48 |
|
| 49 |
#ifdef __cplusplus |
| 50 |
} |
| 51 |
#endif |
| 52 |
|
| 53 |
#endif /* AMQP_DEFINITIONS_TARGET_H */ |