ENUMERATED.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 _ENUMERATED_H_
6 #define _ENUMERATED_H_
7 
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 typedef INTEGER_t ENUMERATED_t; /* Implemented via INTEGER */
15 
18 
19 #define ENUMERATED_free ASN__PRIMITIVE_TYPE_free
20 
21 #if !defined(ASN_DISABLE_PRINT_SUPPORT)
22 #define ENUMERATED_print INTEGER_print
23 #endif /* !defined(ASN_DISABLE_PRINT_SUPPORT) */
24 
25 #define ENUMERATED_compare INTEGER_compare
26 #define ENUMERATED_copy INTEGER_copy
27 
28 #define ENUMERATED_constraint asn_generic_no_constraint
29 
30 #if !defined(ASN_DISABLE_BER_SUPPORT)
31 #define ENUMERATED_decode_ber ber_decode_primitive
32 #define ENUMERATED_encode_der INTEGER_encode_der
33 #endif /* !defined(ASN_DISABLE_BER_SUPPORT) */
34 
35 #if !defined(ASN_DISABLE_XER_SUPPORT)
36 #define ENUMERATED_decode_xer INTEGER_decode_xer
37 #define ENUMERATED_encode_xer INTEGER_encode_xer
38 #endif /* !defined(ASN_DISABLE_XER_SUPPORT) */
39 
40 #if !defined(ASN_DISABLE_JER_SUPPORT)
42 #define ENUMERATED_encode_jer INTEGER_encode_jer
43 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
44 
45 #if !defined(ASN_DISABLE_OER_SUPPORT)
46 oer_type_decoder_f ENUMERATED_decode_oer;
47 oer_type_encoder_f ENUMERATED_encode_oer;
48 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
49 
50 #if !defined(ASN_DISABLE_UPER_SUPPORT)
53 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) */
54 #if !defined(ASN_DISABLE_APER_SUPPORT)
57 #endif /* !defined(ASN_DISABLE_APER_SUPPORT) */
58 
59 #if !defined(ASN_DISABLE_RFILL_SUPPORT)
60 #define ENUMERATED_random_fill INTEGER_random_fill
61 #endif /* !defined(ASN_DISABLE_RFILL_SUPPORT) */
62 
63 #ifdef __cplusplus
64 }
65 #endif
66 
67 #endif /* _ENUMERATED_H_ */
ASN__PRIMITIVE_TYPE_s
Definition: asn_codecs_prim.h:14
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
ENUMERATED_decode_oer
oer_type_decoder_f ENUMERATED_decode_oer
Definition: ENUMERATED.h:46
ENUMERATED_decode_aper
per_type_decoder_f ENUMERATED_decode_aper
Definition: ENUMERATED.h:55
asn_TYPE_descriptor_s
Definition: constr_TYPE.h:224
asn_DEF_ENUMERATED
asn_TYPE_descriptor_t asn_DEF_ENUMERATED
Definition: ENUMERATED.c:73
ENUMERATED_decode_jer
jer_type_decoder_f ENUMERATED_decode_jer
Definition: ENUMERATED.h:41
ENUMERATED_t
INTEGER_t ENUMERATED_t
Definition: ENUMERATED.h:14
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
INTEGER.h
ENUMERATED_encode_oer
oer_type_encoder_f ENUMERATED_encode_oer
Definition: ENUMERATED.h:47
ENUMERATED_encode_aper
per_type_encoder_f ENUMERATED_encode_aper
Definition: ENUMERATED.h:56
ENUMERATED_encode_uper
per_type_encoder_f ENUMERATED_encode_uper
Definition: ENUMERATED.h:52
asn_OP_ENUMERATED
asn_TYPE_operation_t asn_OP_ENUMERATED
Definition: ENUMERATED.c:15
ENUMERATED_decode_uper
per_type_decoder_f ENUMERATED_decode_uper
Definition: ENUMERATED.h:51


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