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