]> git.stg.codes - stg.git/blob - stglibs/smux.lib/include/stg/BOOLEAN.h
Merge branch 'stg-2.409-radius'
[stg.git] / stglibs / smux.lib / include / stg / BOOLEAN.h
1 /*-
2  * Copyright (c) 2003 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 int BOOLEAN_t;
20
21 extern asn_TYPE_descriptor_t asn_DEF_BOOLEAN;
22
23 asn_struct_free_f BOOLEAN_free;
24 asn_struct_print_f BOOLEAN_print;
25 ber_type_decoder_f BOOLEAN_decode_ber;
26 der_type_encoder_f BOOLEAN_encode_der;
27 xer_type_decoder_f BOOLEAN_decode_xer;
28 xer_type_encoder_f BOOLEAN_encode_xer;
29 per_type_decoder_f BOOLEAN_decode_uper;
30 per_type_encoder_f BOOLEAN_encode_uper;
31
32 #ifdef __cplusplus
33 }
34 #endif
35
36 #endif  /* _BOOLEAN_H_ */