2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "ASN1C-UsefulInformationObjectClasses"
4 * found in "/usr/local/share/asn1c/standard-modules/ASN1C-UsefulInformationObjectClasses.asn1"
5 * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -no-gen-example -no-gen-OER -D /tmp/workspace/oransim-gerrit/e2sim/asn1c/`
10 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
11 static asn_per_constraints_t asn_PER_type_encoding_constr_5 CC_NOTUSED = {
12 { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */,
13 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
14 0, 0 /* No PER value map */
16 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
17 static asn_TYPE_member_t asn_MBR_encoding_5[] = {
18 { ATF_NOFLAGS, 0, offsetof(struct EXTERNAL__encoding, choice.single_ASN1_type),
19 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
20 +1, /* EXPLICIT tag at current level */
24 #if !defined(ASN_DISABLE_OER_SUPPORT)
26 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
27 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
29 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
32 0, 0, /* No default value */
35 { ATF_NOFLAGS, 0, offsetof(struct EXTERNAL__encoding, choice.octet_aligned),
36 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
37 -1, /* IMPLICIT tag at current level */
38 &asn_DEF_OCTET_STRING,
41 #if !defined(ASN_DISABLE_OER_SUPPORT)
43 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
44 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
46 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
49 0, 0, /* No default value */
52 { ATF_NOFLAGS, 0, offsetof(struct EXTERNAL__encoding, choice.arbitrary),
53 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
54 -1, /* IMPLICIT tag at current level */
58 #if !defined(ASN_DISABLE_OER_SUPPORT)
60 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
61 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
63 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
66 0, 0, /* No default value */
70 static const asn_TYPE_tag2member_t asn_MAP_encoding_tag2el_5[] = {
71 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* single-ASN1-type */
72 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* octet-aligned */
73 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* arbitrary */
75 static asn_CHOICE_specifics_t asn_SPC_encoding_specs_5 = {
76 sizeof(struct EXTERNAL__encoding),
77 offsetof(struct EXTERNAL__encoding, _asn_ctx),
78 offsetof(struct EXTERNAL__encoding, present),
79 sizeof(((struct EXTERNAL__encoding *)0)->present),
80 asn_MAP_encoding_tag2el_5,
81 3, /* Count of tags in the map */
83 -1 /* Extensions start */
85 static /* Use -fall-defs-global to expose */
86 asn_TYPE_descriptor_t asn_DEF_encoding_5 = {
90 0, /* No effective tags (pointer) */
91 0, /* No effective tags (count) */
92 0, /* No tags (pointer) */
93 0, /* No tags (count) */
95 #if !defined(ASN_DISABLE_OER_SUPPORT)
97 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
98 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
99 &asn_PER_type_encoding_constr_5,
100 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
104 3, /* Elements count */
105 &asn_SPC_encoding_specs_5 /* Additional specs */
108 static asn_TYPE_member_t asn_MBR_EXTERNAL_1[] = {
109 { ATF_POINTER, 3, offsetof(struct EXTERNAL, direct_reference),
110 (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
112 &asn_DEF_OBJECT_IDENTIFIER,
115 #if !defined(ASN_DISABLE_OER_SUPPORT)
117 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
118 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
120 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
123 0, 0, /* No default value */
126 { ATF_POINTER, 2, offsetof(struct EXTERNAL, indirect_reference),
127 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
129 &asn_DEF_NativeInteger,
132 #if !defined(ASN_DISABLE_OER_SUPPORT)
134 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
135 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
137 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
140 0, 0, /* No default value */
143 { ATF_POINTER, 1, offsetof(struct EXTERNAL, data_value_descriptor),
144 (ASN_TAG_CLASS_UNIVERSAL | (7 << 2)),
146 &asn_DEF_ObjectDescriptor,
149 #if !defined(ASN_DISABLE_OER_SUPPORT)
151 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
152 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
154 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
157 0, 0, /* No default value */
158 "data-value-descriptor"
160 { ATF_NOFLAGS, 0, offsetof(struct EXTERNAL, encoding),
161 -1 /* Ambiguous tag (CHOICE?) */,
166 #if !defined(ASN_DISABLE_OER_SUPPORT)
168 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
169 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
171 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
174 0, 0, /* No default value */
178 static const int asn_MAP_EXTERNAL_oms_1[] = { 0, 1, 2 };
179 static const ber_tlv_tag_t asn_DEF_EXTERNAL_tags_1[] = {
180 (ASN_TAG_CLASS_UNIVERSAL | (8 << 2)),
181 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
183 static const asn_TYPE_tag2member_t asn_MAP_EXTERNAL_tag2el_1[] = {
184 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* indirect-reference */
185 { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 0, 0, 0 }, /* direct-reference */
186 { (ASN_TAG_CLASS_UNIVERSAL | (7 << 2)), 2, 0, 0 }, /* data-value-descriptor */
187 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 3, 0, 0 }, /* single-ASN1-type */
188 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 3, 0, 0 }, /* octet-aligned */
189 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 3, 0, 0 } /* arbitrary */
191 static asn_SEQUENCE_specifics_t asn_SPC_EXTERNAL_specs_1 = {
192 sizeof(struct EXTERNAL),
193 offsetof(struct EXTERNAL, _asn_ctx),
194 asn_MAP_EXTERNAL_tag2el_1,
195 6, /* Count of tags in the map */
196 asn_MAP_EXTERNAL_oms_1, /* Optional members */
197 3, 0, /* Root/Additions */
198 -1, /* First extension addition */
200 asn_TYPE_descriptor_t asn_DEF_EXTERNAL = {
204 asn_DEF_EXTERNAL_tags_1,
205 sizeof(asn_DEF_EXTERNAL_tags_1)
206 /sizeof(asn_DEF_EXTERNAL_tags_1[0]) - 1, /* 1 */
207 asn_DEF_EXTERNAL_tags_1, /* Same as above */
208 sizeof(asn_DEF_EXTERNAL_tags_1)
209 /sizeof(asn_DEF_EXTERNAL_tags_1[0]), /* 2 */
211 #if !defined(ASN_DISABLE_OER_SUPPORT)
213 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
214 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
216 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
220 4, /* Elements count */
221 &asn_SPC_EXTERNAL_specs_1 /* Additional specs */