ENUMERATED.c
Go to the documentation of this file.
1 /*-
2  * Copyright (c) 2003, 2005, 2006 Lev Walkin <vlm@lionet.info>.
3  * All rights reserved.
4  * Redistribution and modifications are permitted subject to BSD license.
5  */
8 
9 /*
10  * ENUMERATED basic type description.
11  */
13  (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
14 };
17 #if !defined(ASN_DISABLE_PRINT_SUPPORT)
18  INTEGER_print, /* Implemented in terms of INTEGER */
19 #else
20  0,
21 #endif /* !defined(ASN_DISABLE_PRINT_SUPPORT) */
22  INTEGER_compare, /* Implemented in terms of INTEGER */
23  INTEGER_copy, /* Implemented in terms of INTEGER */
24 #if !defined(ASN_DISABLE_BER_SUPPORT)
26  INTEGER_encode_der, /* Implemented in terms of INTEGER */
27 #else
28  0,
29  0,
30 #endif /* !defined(ASN_DISABLE_BER_SUPPORT) */
31 #if !defined(ASN_DISABLE_XER_SUPPORT)
32  INTEGER_decode_xer, /* This is temporary! */
34 #else
35  0,
36  0,
37 #endif /* !defined(ASN_DISABLE_XER_SUPPORT) */
38 #if !defined(ASN_DISABLE_JER_SUPPORT)
41 #else
42  0,
43  0,
44 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
45 #if !defined(ASN_DISABLE_OER_SUPPORT)
48 #else
49  0,
50  0,
51 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
52 #if !defined(ASN_DISABLE_UPER_SUPPORT)
53  ENUMERATED_decode_uper, /* Unaligned PER decoder */
54  ENUMERATED_encode_uper, /* Unaligned PER encoder */
55 #else
56  0,
57  0,
58 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) */
59 #if !defined(ASN_DISABLE_APER_SUPPORT)
60  ENUMERATED_decode_aper, /* Aligned PER decoder */
61  ENUMERATED_encode_aper, /* Aligned PER encoder */
62 #else
63  0,
64  0,
65 #endif /* !defined(ASN_DISABLE_APER_SUPPORT) */
66 #if !defined(ASN_DISABLE_RFILL_SUPPORT)
68 #else
69  0,
70 #endif /* !defined(ASN_DISABLE_RFILL_SUPPORT) */
71  0 /* Use generic outmost tag fetcher */
72 };
74  "ENUMERATED",
75  "ENUMERATED",
79  asn_DEF_ENUMERATED_tags, /* Same as above */
81  {
82 #if !defined(ASN_DISABLE_OER_SUPPORT)
83  0,
84 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
85 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
86  0,
87 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
88 #if !defined(ASN_DISABLE_JER_SUPPORT)
89  0,
90 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
92  },
93  0, 0, /* No members */
94  0 /* No specifics */
95 };
asn_TYPE_operation_s
Definition: constr_TYPE.h:184
ENUMERATED_random_fill
#define ENUMERATED_random_fill
Definition: ENUMERATED.h:60
ber_tlv_tag_t
unsigned ber_tlv_tag_t
Definition: ber_tlv_tag.h:18
ASN_TAG_CLASS_UNIVERSAL
@ ASN_TAG_CLASS_UNIVERSAL
Definition: ber_tlv_tag.h:13
ber_decode_primitive
ber_type_decoder_f ber_decode_primitive
Definition: asn_codecs_prim.h:22
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_DEF_ENUMERATED
asn_TYPE_descriptor_t asn_DEF_ENUMERATED
Definition: ENUMERATED.c:73
INTEGER_encode_jer
jer_type_encoder_f INTEGER_encode_jer
Definition: INTEGER.h:66
asn_TYPE_descriptor_s
Definition: constr_TYPE.h:224
ENUMERATED.h
INTEGER_decode_xer
xer_type_decoder_f INTEGER_decode_xer
Definition: INTEGER.h:60
asn_DEF_ENUMERATED_tags
static const ber_tlv_tag_t asn_DEF_ENUMERATED_tags[]
Definition: ENUMERATED.c:12
ENUMERATED_decode_jer
jer_type_decoder_f ENUMERATED_decode_jer
Definition: ENUMERATED.h:41
INTEGER_encode_xer
xer_type_encoder_f INTEGER_encode_xer
Definition: INTEGER.h:61
asn_generic_no_constraint
asn_constr_check_f asn_generic_no_constraint
Definition: constraints.h:51
asn_OP_ENUMERATED
asn_TYPE_operation_t asn_OP_ENUMERATED
Definition: ENUMERATED.c:15
INTEGER_encode_der
der_type_encoder_f INTEGER_encode_der
Definition: INTEGER.h:56
INTEGER_copy
asn_struct_copy_f INTEGER_copy
Definition: INTEGER.h:50
asn_internal.h
INTEGER_compare
asn_struct_compare_f INTEGER_compare
Definition: INTEGER.h:49
ASN__PRIMITIVE_TYPE_free
asn_struct_free_f ASN__PRIMITIVE_TYPE_free
Definition: asn_codecs_prim.h:19
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
INTEGER_print
asn_struct_print_f INTEGER_print
Definition: INTEGER.h:46
ENUMERATED_encode_uper
per_type_encoder_f ENUMERATED_encode_uper
Definition: ENUMERATED.h:52
ENUMERATED_decode_uper
per_type_decoder_f ENUMERATED_decode_uper
Definition: ENUMERATED.h:51


etsi_its_denm_coding
Author(s): Jean-Pierre Busch , Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:23:48