SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / BOOLEAN.h
1 /*-
2  * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
3  * Redistribution and modifications are permitted subject to BSD license.
4  */
5 #ifndef _BOOLEAN_H_
6 #define _BOOLEAN_H_
7
8 #include <asn_application.h>
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 /*
15  * The underlying integer may contain various values, but everything
16  * non-zero is capped to 0xff by the DER encoder. The BER decoder may
17  * yield non-zero values different from 1, beware.
18  */
19 typedef unsigned BOOLEAN_t;
20
21 extern asn_TYPE_descriptor_t asn_DEF_BOOLEAN;
22 extern asn_TYPE_operation_t asn_OP_BOOLEAN;
23
24 asn_struct_free_f BOOLEAN_free;
25
26 #if !defined(ASN_DISABLE_PRINT_SUPPORT)
27 asn_struct_print_f BOOLEAN_print;
28 #endif  /* !defined(ASN_DISABLE_PRINT_SUPPORT) */
29
30 asn_struct_compare_f BOOLEAN_compare;
31
32 #define BOOLEAN_constraint asn_generic_no_constraint
33
34 #if !defined(ASN_DISABLE_BER_SUPPORT)
35 ber_type_decoder_f BOOLEAN_decode_ber;
36 der_type_encoder_f BOOLEAN_encode_der;
37 #endif  /* !defined(ASN_DISABLE_BER_SUPPORT) */
38
39 #if !defined(ASN_DISABLE_XER_SUPPORT)
40 xer_type_decoder_f BOOLEAN_decode_xer;
41 xer_type_encoder_f BOOLEAN_encode_xer;
42 #endif  /* !defined(ASN_DISABLE_XER_SUPPORT) */
43
44 #if !defined(ASN_DISABLE_JER_SUPPORT)
45 jer_type_encoder_f BOOLEAN_encode_jer;
46 #endif  /* !defined(ASN_DISABLE_JER_SUPPORT) */
47
48 #if !defined(ASN_DISABLE_OER_SUPPORT)
49 oer_type_decoder_f BOOLEAN_decode_oer;
50 oer_type_encoder_f BOOLEAN_encode_oer;
51 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
52
53 #if !defined(ASN_DISABLE_UPER_SUPPORT)
54 per_type_decoder_f BOOLEAN_decode_uper;
55 per_type_encoder_f BOOLEAN_encode_uper;
56 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) */
57 #if !defined(ASN_DISABLE_APER_SUPPORT)
58 per_type_decoder_f BOOLEAN_decode_aper;
59 per_type_encoder_f BOOLEAN_encode_aper;
60 #endif  /* !defined(ASN_DISABLE_APER_SUPPORT) */
61
62 #if !defined(ASN_DISABLE_RFILL_SUPPORT)
63 asn_random_fill_f BOOLEAN_random_fill;
64 #endif  /* !defined(ASN_DISABLE_RFILL_SUPPORT) */
65
66 #ifdef __cplusplus
67 }
68 #endif
69
70 #endif  /* _BOOLEAN_H_ */