| 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_OPEN_H |
| 10 |
#define AMQP_DEFINITIONS_OPEN_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 OPEN_INSTANCE_TAG* OPEN_HANDLE; |
| 25 |
|
| 26 |
MOCKABLE_FUNCTION(, OPEN_HANDLE, open_create , const char*, container_id_value); |
| 27 |
MOCKABLE_FUNCTION(, OPEN_HANDLE, open_clone, OPEN_HANDLE, value); |
| 28 |
MOCKABLE_FUNCTION(, void, open_destroy, OPEN_HANDLE, open); |
| 29 |
MOCKABLE_FUNCTION(, bool, is_open_type_by_descriptor, AMQP_VALUE, descriptor); |
| 30 |
MOCKABLE_FUNCTION(, int, amqpvalue_get_open, AMQP_VALUE, value, OPEN_HANDLE*, OPEN_handle); |
| 31 |
MOCKABLE_FUNCTION(, AMQP_VALUE, amqpvalue_create_open, OPEN_HANDLE, open); |
| 32 |
|
| 33 |
MOCKABLE_FUNCTION(, int, open_get_container_id, OPEN_HANDLE, open, const char**, container_id_value); |
| 34 |
MOCKABLE_FUNCTION(, int, open_set_container_id, OPEN_HANDLE, open, const char*, container_id_value); |
| 35 |
MOCKABLE_FUNCTION(, int, open_get_hostname, OPEN_HANDLE, open, const char**, hostname_value); |
| 36 |
MOCKABLE_FUNCTION(, int, open_set_hostname, OPEN_HANDLE, open, const char*, hostname_value); |
| 37 |
MOCKABLE_FUNCTION(, int, open_get_max_frame_size, OPEN_HANDLE, open, uint32_t*, max_frame_size_value); |
| 38 |
MOCKABLE_FUNCTION(, int, open_set_max_frame_size, OPEN_HANDLE, open, uint32_t, max_frame_size_value); |
| 39 |
MOCKABLE_FUNCTION(, int, open_get_channel_max, OPEN_HANDLE, open, uint16_t*, channel_max_value); |
| 40 |
MOCKABLE_FUNCTION(, int, open_set_channel_max, OPEN_HANDLE, open, uint16_t, channel_max_value); |
| 41 |
MOCKABLE_FUNCTION(, int, open_get_idle_time_out, OPEN_HANDLE, open, milliseconds*, idle_time_out_value); |
| 42 |
MOCKABLE_FUNCTION(, int, open_set_idle_time_out, OPEN_HANDLE, open, milliseconds, idle_time_out_value); |
| 43 |
MOCKABLE_FUNCTION(, int, open_get_outgoing_locales, OPEN_HANDLE, open, AMQP_VALUE*, outgoing_locales_value); |
| 44 |
MOCKABLE_FUNCTION(, int, open_set_outgoing_locales, OPEN_HANDLE, open, AMQP_VALUE, outgoing_locales_value); |
| 45 |
MOCKABLE_FUNCTION(, int, open_get_incoming_locales, OPEN_HANDLE, open, AMQP_VALUE*, incoming_locales_value); |
| 46 |
MOCKABLE_FUNCTION(, int, open_set_incoming_locales, OPEN_HANDLE, open, AMQP_VALUE, incoming_locales_value); |
| 47 |
MOCKABLE_FUNCTION(, int, open_get_offered_capabilities, OPEN_HANDLE, open, AMQP_VALUE*, offered_capabilities_value); |
| 48 |
MOCKABLE_FUNCTION(, int, open_set_offered_capabilities, OPEN_HANDLE, open, AMQP_VALUE, offered_capabilities_value); |
| 49 |
MOCKABLE_FUNCTION(, int, open_get_desired_capabilities, OPEN_HANDLE, open, AMQP_VALUE*, desired_capabilities_value); |
| 50 |
MOCKABLE_FUNCTION(, int, open_set_desired_capabilities, OPEN_HANDLE, open, AMQP_VALUE, desired_capabilities_value); |
| 51 |
MOCKABLE_FUNCTION(, int, open_get_properties, OPEN_HANDLE, open, fields*, properties_value); |
| 52 |
MOCKABLE_FUNCTION(, int, open_set_properties, OPEN_HANDLE, open, fields, properties_value); |
| 53 |
|
| 54 |
|
| 55 |
#ifdef __cplusplus |
| 56 |
} |
| 57 |
#endif |
| 58 |
|
| 59 |
#endif /* AMQP_DEFINITIONS_OPEN_H */ |