Sync from Azure to LF
[ric-plt/resource-status-manager.git] / RSM / asn1codec / e2ap_engine / BOOLEAN.h
1
2 /*-
3  * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
4  * Redistribution and modifications are permitted subject to BSD license.
5  */
6 #ifndef _BOOLEAN_H_
7 #define _BOOLEAN_H_
8
9 #include <asn_application.h>
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 /*
16  * The underlying integer may contain various values, but everything
17  * non-zero is capped to 0xff by the DER encoder. The BER decoder may
18  * yield non-zero values different from 1, beware.
19  */
20 typedef int BOOLEAN_t;
21
22 extern asn_TYPE_descriptor_t asn_DEF_BOOLEAN;
23 extern asn_TYPE_operation_t asn_OP_BOOLEAN;
24
25 asn_struct_free_f BOOLEAN_free;
26 asn_struct_print_f BOOLEAN_print;
27 asn_struct_compare_f BOOLEAN_compare;
28 ber_type_decoder_f BOOLEAN_decode_ber;
29 der_type_encoder_f BOOLEAN_encode_der;
30 oer_type_decoder_f BOOLEAN_decode_oer;
31 oer_type_encoder_f BOOLEAN_encode_oer;
32 per_type_decoder_f BOOLEAN_decode_uper;
33 per_type_encoder_f BOOLEAN_encode_uper;
34 per_type_decoder_f BOOLEAN_decode_aper;
35 per_type_encoder_f BOOLEAN_encode_aper;
36 xer_type_decoder_f BOOLEAN_decode_xer;
37 xer_type_encoder_f BOOLEAN_encode_xer;
38 asn_random_fill_f  BOOLEAN_random_fill;
39
40 #define BOOLEAN_constraint     asn_generic_no_constraint
41
42 #ifdef __cplusplus
43 }
44 #endif
45
46 #endif  /* _BOOLEAN_H_ */