| 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_RECEIVED_H |
| 10 |
#define AMQP_DEFINITIONS_RECEIVED_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 RECEIVED_INSTANCE_TAG* RECEIVED_HANDLE; |
| 25 |
|
| 26 |
MOCKABLE_FUNCTION(, RECEIVED_HANDLE, received_create , uint32_t, section_number_value, uint64_t, section_offset_value); |
| 27 |
MOCKABLE_FUNCTION(, RECEIVED_HANDLE, received_clone, RECEIVED_HANDLE, value); |
| 28 |
MOCKABLE_FUNCTION(, void, received_destroy, RECEIVED_HANDLE, received); |
| 29 |
MOCKABLE_FUNCTION(, bool, is_received_type_by_descriptor, AMQP_VALUE, descriptor); |
| 30 |
MOCKABLE_FUNCTION(, int, amqpvalue_get_received, AMQP_VALUE, value, RECEIVED_HANDLE*, RECEIVED_handle); |
| 31 |
MOCKABLE_FUNCTION(, AMQP_VALUE, amqpvalue_create_received, RECEIVED_HANDLE, received); |
| 32 |
|
| 33 |
MOCKABLE_FUNCTION(, int, received_get_section_number, RECEIVED_HANDLE, received, uint32_t*, section_number_value); |
| 34 |
MOCKABLE_FUNCTION(, int, received_set_section_number, RECEIVED_HANDLE, received, uint32_t, section_number_value); |
| 35 |
MOCKABLE_FUNCTION(, int, received_get_section_offset, RECEIVED_HANDLE, received, uint64_t*, section_offset_value); |
| 36 |
MOCKABLE_FUNCTION(, int, received_set_section_offset, RECEIVED_HANDLE, received, uint64_t, section_offset_value); |
| 37 |
|
| 38 |
|
| 39 |
#ifdef __cplusplus |
| 40 |
} |
| 41 |
#endif |
| 42 |
|
| 43 |
#endif /* AMQP_DEFINITIONS_RECEIVED_H */ |