1 /*****************************************************************************
3 # Copyright 2019 AT&T Intellectual Property *
5 # Licensed under the Apache License, Version 2.0 (the "License"); *
6 # you may not use this file except in compliance with the License. *
7 # You may obtain a copy of the License at *
9 # http://www.apache.org/licenses/LICENSE-2.0 *
11 # Unless required by applicable law or agreed to in writing, software *
12 # distributed under the License is distributed on an "AS IS" BASIS, *
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
14 # See the License for the specific language governing permissions and *
15 # limitations under the License. *
17 ******************************************************************************/
20 * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
21 * Redistribution and modifications are permitted subject to BSD license.
26 #include <asn_application.h>
33 * The underlying integer may contain various values, but everything
34 * non-zero is capped to 0xff by the DER encoder. The BER decoder may
35 * yield non-zero values different from 1, beware.
37 typedef int BOOLEAN_t;
39 extern asn_TYPE_descriptor_t asn_DEF_BOOLEAN;
40 extern asn_TYPE_operation_t asn_OP_BOOLEAN;
42 asn_struct_free_f BOOLEAN_free;
43 asn_struct_print_f BOOLEAN_print;
44 asn_struct_compare_f BOOLEAN_compare;
45 ber_type_decoder_f BOOLEAN_decode_ber;
46 der_type_encoder_f BOOLEAN_encode_der;
47 oer_type_decoder_f BOOLEAN_decode_oer;
48 oer_type_encoder_f BOOLEAN_encode_oer;
49 per_type_decoder_f BOOLEAN_decode_uper;
50 per_type_encoder_f BOOLEAN_encode_uper;
51 per_type_decoder_f BOOLEAN_decode_aper;
52 per_type_encoder_f BOOLEAN_encode_aper;
53 xer_type_decoder_f BOOLEAN_decode_xer;
54 xer_type_encoder_f BOOLEAN_encode_xer;
55 asn_random_fill_f BOOLEAN_random_fill;
57 #define BOOLEAN_constraint asn_generic_no_constraint
63 #endif /* _BOOLEAN_H_ */