BOOLEAN.h
Go to the documentation of this file.
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 
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 
23 
25 
26 #if !defined(ASN_DISABLE_PRINT_SUPPORT)
28 #endif /* !defined(ASN_DISABLE_PRINT_SUPPORT) */
29 
32 
33 #define BOOLEAN_constraint asn_generic_no_constraint
34 
35 #if !defined(ASN_DISABLE_BER_SUPPORT)
36 ber_type_decoder_f BOOLEAN_decode_ber;
37 der_type_encoder_f BOOLEAN_encode_der;
38 #endif /* !defined(ASN_DISABLE_BER_SUPPORT) */
39 
40 #if !defined(ASN_DISABLE_XER_SUPPORT)
41 xer_type_decoder_f BOOLEAN_decode_xer;
42 xer_type_encoder_f BOOLEAN_encode_xer;
43 #endif /* !defined(ASN_DISABLE_XER_SUPPORT) */
44 
45 #if !defined(ASN_DISABLE_JER_SUPPORT)
48 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
49 
50 #if !defined(ASN_DISABLE_OER_SUPPORT)
51 oer_type_decoder_f BOOLEAN_decode_oer;
52 oer_type_encoder_f BOOLEAN_encode_oer;
53 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
54 
55 #if !defined(ASN_DISABLE_UPER_SUPPORT)
58 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) */
59 #if !defined(ASN_DISABLE_APER_SUPPORT)
62 #endif /* !defined(ASN_DISABLE_APER_SUPPORT) */
63 
64 #if !defined(ASN_DISABLE_RFILL_SUPPORT)
66 #endif /* !defined(ASN_DISABLE_RFILL_SUPPORT) */
67 
68 #ifdef __cplusplus
69 }
70 #endif
71 
72 #endif /* _BOOLEAN_H_ */
per_type_decoder_f
asn_dec_rval_t() per_type_decoder_f(const asn_codec_ctx_t *opt_codec_ctx, const struct asn_TYPE_descriptor_s *type_descriptor, const asn_per_constraints_t *constraints, void **struct_ptr, asn_per_data_t *per_data)
Definition: per_decoder.h:20
asn_TYPE_operation_s
Definition: constr_TYPE.h:184
BOOLEAN_encode_aper
per_type_encoder_f BOOLEAN_encode_aper
Definition: BOOLEAN.h:61
asn_struct_print_f
int() asn_struct_print_f(const struct asn_TYPE_descriptor_s *type_descriptor, const void *struct_ptr, int level, asn_app_consume_bytes_f *callback, void *app_key)
Definition: constr_TYPE.h:129
BOOLEAN_encode_oer
oer_type_encoder_f BOOLEAN_encode_oer
Definition: BOOLEAN.h:52
asn_random_fill_f
asn_random_fill_result_t() asn_random_fill_f(const struct asn_TYPE_descriptor_s *td, void **struct_ptr, const struct asn_encoding_constraints_s *memb_constraints, size_t max_length)
Definition: asn_random_fill.h:32
asn_struct_compare_f
int() asn_struct_compare_f(const struct asn_TYPE_descriptor_s *type_descriptor, const void *struct_A, const void *struct_B)
Definition: constr_TYPE.h:141
asn_OP_BOOLEAN
asn_TYPE_operation_t asn_OP_BOOLEAN
Definition: BOOLEAN.c:14
BOOLEAN_print
asn_struct_print_f BOOLEAN_print
Definition: BOOLEAN.h:27
BOOLEAN_encode_der
der_type_encoder_f BOOLEAN_encode_der
Definition: BOOLEAN.h:37
BOOLEAN_decode_aper
per_type_decoder_f BOOLEAN_decode_aper
Definition: BOOLEAN.h:60
BOOLEAN_decode_uper
per_type_decoder_f BOOLEAN_decode_uper
Definition: BOOLEAN.h:56
asn_TYPE_descriptor_s
Definition: constr_TYPE.h:224
jer_type_encoder_f
asn_enc_rval_t() jer_type_encoder_f(const struct asn_TYPE_descriptor_s *type_descriptor, const asn_jer_constraints_t *constraints, const void *struct_ptr, int ilevel, enum jer_encoder_flags_e jer_flags, asn_app_consume_bytes_f *consume_bytes_cb, void *app_key)
Definition: jer_encoder.h:73
BOOLEAN_decode_xer
xer_type_decoder_f BOOLEAN_decode_xer
Definition: BOOLEAN.h:41
jer_type_decoder_f
asn_dec_rval_t() jer_type_decoder_f(const asn_codec_ctx_t *opt_codec_ctx, const struct asn_TYPE_descriptor_s *type_descriptor, const asn_jer_constraints_t *constraints, void **struct_ptr, const void *buf_ptr, size_t size)
Definition: jer_decoder.h:32
per_type_encoder_f
asn_enc_rval_t() per_type_encoder_f(const struct asn_TYPE_descriptor_s *type_descriptor, const asn_per_constraints_t *constraints, const void *struct_ptr, asn_per_outp_t *per_output)
Definition: per_encoder.h:20
BOOLEAN_copy
asn_struct_copy_f BOOLEAN_copy
Definition: BOOLEAN.h:31
BOOLEAN_free
asn_struct_free_f BOOLEAN_free
Definition: BOOLEAN.h:24
BOOLEAN_compare
asn_struct_compare_f BOOLEAN_compare
Definition: BOOLEAN.h:30
BOOLEAN_decode_jer
jer_type_decoder_f BOOLEAN_decode_jer
Definition: BOOLEAN.h:46
BOOLEAN_encode_xer
xer_type_encoder_f BOOLEAN_encode_xer
Definition: BOOLEAN.h:42
BOOLEAN_encode_jer
jer_type_encoder_f BOOLEAN_encode_jer
Definition: BOOLEAN.h:47
asn_application.h
BOOLEAN_encode_uper
per_type_encoder_f BOOLEAN_encode_uper
Definition: BOOLEAN.h:57
BOOLEAN_t
unsigned BOOLEAN_t
Definition: BOOLEAN.h:19
asn_struct_copy_f
int() asn_struct_copy_f(const struct asn_TYPE_descriptor_s *type_descriptor, void **struct_A, const void *struct_B)
Definition: constr_TYPE.h:150
BOOLEAN_decode_ber
ber_type_decoder_f BOOLEAN_decode_ber
Definition: BOOLEAN.h:36
BOOLEAN_random_fill
asn_random_fill_f BOOLEAN_random_fill
Definition: BOOLEAN.h:65
asn_struct_free_f
void() asn_struct_free_f(const struct asn_TYPE_descriptor_s *type_descriptor, void *struct_ptr, enum asn_struct_free_method)
Definition: constr_TYPE.h:95
asn_DEF_BOOLEAN
asn_TYPE_descriptor_t asn_DEF_BOOLEAN
Definition: BOOLEAN.c:72
BOOLEAN_decode_oer
oer_type_decoder_f BOOLEAN_decode_oer
Definition: BOOLEAN.h:51


etsi_its_cam_ts_coding
Author(s): Jean-Pierre Busch , Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:21:22