Debian Codegraph @

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

raw
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_SASL_CODE_H
10 #define AMQP_DEFINITIONS_SASL_CODE_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
25 typedef uint8_t sasl_code;
26
27 MOCKABLE_FUNCTION(, AMQP_VALUE, amqpvalue_create_sasl_code, sasl_code, value);
28
29
30 #define amqpvalue_get_sasl_code amqpvalue_get_ubyte
31
32 #define sasl_code_ok 0
33 #define sasl_code_auth 1
34 #define sasl_code_sys 2
35 #define sasl_code_sys_perm 3
36 #define sasl_code_sys_temp 4
37
38
39 #ifdef __cplusplus
40 }
41 #endif
42
43 #endif /* AMQP_DEFINITIONS_SASL_CODE_H */