2 /*** <<< INCLUDES [PDU] >>> ***/
6 #include "SequenceOf.h"
7 #include "ExtensibleSet.h"
8 #include "ExtensibleSequence.h"
9 #include "ExtensibleSequence2.h"
10 #include "SetOfNULL.h"
11 #include "SetOfREAL.h"
12 #include "SetOfEnums.h"
13 #include "NamedSetOfNULL.h"
14 #include "NamedSetOfREAL.h"
15 #include "NamedSetOfEnums.h"
16 #include "SeqOfZuka.h"
17 #include "SetOfChoice.h"
18 #include "NamedSetOfChoice.h"
19 #include <constr_CHOICE.h>
21 /*** <<< DEPS [PDU] >>> ***/
24 PDU_PR_NOTHING, /* No components present */
29 PDU_PR_extensibleSequence,
30 PDU_PR_extensibleSequence2,
34 PDU_PR_namedSetOfNULL,
35 PDU_PR_namedSetOfREAL,
36 PDU_PR_namedSetOfEnums,
39 PDU_PR_namedSetOfChoice
40 /* Extensions may appear below */
44 /*** <<< TYPE-DECLS [PDU] >>> ***/
51 SequenceOf_t sequenceOf;
52 ExtensibleSet_t extensibleSet;
53 ExtensibleSequence_t extensibleSequence;
54 ExtensibleSequence2_t extensibleSequence2;
55 SetOfNULL_t setOfNULL;
56 SetOfREAL_t setOfREAL;
57 SetOfEnums_t setOfEnums;
58 NamedSetOfNULL_t namedSetOfNULL;
59 NamedSetOfREAL_t namedSetOfREAL;
60 NamedSetOfEnums_t namedSetOfEnums;
61 SeqOfZuka_t seqOfZuka;
62 SetOfChoice_t setOfChoice;
63 NamedSetOfChoice_t namedSetOfChoice;
65 * This type is extensible,
66 * possible extensions are below.
70 /* Context for parsing across buffer boundaries */
71 asn_struct_ctx_t _asn_ctx;
74 /*** <<< FUNC-DECLS [PDU] >>> ***/
76 extern asn_TYPE_descriptor_t asn_DEF_PDU;
78 /*** <<< STAT-DEFS [PDU] >>> ***/
80 static asn_TYPE_member_t asn_MBR_PDU_1[] = {
81 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.sequence),
82 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
83 .tag_mode = -1, /* IMPLICIT tag at current level */
84 .type = &asn_DEF_Sequence,
86 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
87 0, 0, /* No default value */
90 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.set),
91 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
92 .tag_mode = -1, /* IMPLICIT tag at current level */
95 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
96 0, 0, /* No default value */
99 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.sequenceOf),
100 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
101 .tag_mode = -1, /* IMPLICIT tag at current level */
102 .type = &asn_DEF_SequenceOf,
104 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
105 0, 0, /* No default value */
108 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.extensibleSet),
109 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
110 .tag_mode = -1, /* IMPLICIT tag at current level */
111 .type = &asn_DEF_ExtensibleSet,
113 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
114 0, 0, /* No default value */
115 .name = "extensibleSet"
117 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.extensibleSequence),
118 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
119 .tag_mode = -1, /* IMPLICIT tag at current level */
120 .type = &asn_DEF_ExtensibleSequence,
122 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
123 0, 0, /* No default value */
124 .name = "extensibleSequence"
126 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.extensibleSequence2),
127 .tag = (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
128 .tag_mode = -1, /* IMPLICIT tag at current level */
129 .type = &asn_DEF_ExtensibleSequence2,
131 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
132 0, 0, /* No default value */
133 .name = "extensibleSequence2"
135 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.setOfNULL),
136 .tag = (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
137 .tag_mode = -1, /* IMPLICIT tag at current level */
138 .type = &asn_DEF_SetOfNULL,
140 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
141 0, 0, /* No default value */
144 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.setOfREAL),
145 .tag = (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
146 .tag_mode = -1, /* IMPLICIT tag at current level */
147 .type = &asn_DEF_SetOfREAL,
149 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
150 0, 0, /* No default value */
153 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.setOfEnums),
154 .tag = (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
155 .tag_mode = -1, /* IMPLICIT tag at current level */
156 .type = &asn_DEF_SetOfEnums,
158 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
159 0, 0, /* No default value */
162 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.namedSetOfNULL),
163 .tag = (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
164 .tag_mode = -1, /* IMPLICIT tag at current level */
165 .type = &asn_DEF_NamedSetOfNULL,
167 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
168 0, 0, /* No default value */
169 .name = "namedSetOfNULL"
171 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.namedSetOfREAL),
172 .tag = (ASN_TAG_CLASS_CONTEXT | (10 << 2)),
173 .tag_mode = -1, /* IMPLICIT tag at current level */
174 .type = &asn_DEF_NamedSetOfREAL,
176 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
177 0, 0, /* No default value */
178 .name = "namedSetOfREAL"
180 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.namedSetOfEnums),
181 .tag = (ASN_TAG_CLASS_CONTEXT | (11 << 2)),
182 .tag_mode = -1, /* IMPLICIT tag at current level */
183 .type = &asn_DEF_NamedSetOfEnums,
185 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
186 0, 0, /* No default value */
187 .name = "namedSetOfEnums"
189 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.seqOfZuka),
190 .tag = (ASN_TAG_CLASS_CONTEXT | (12 << 2)),
191 .tag_mode = -1, /* IMPLICIT tag at current level */
192 .type = &asn_DEF_SeqOfZuka,
194 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
195 0, 0, /* No default value */
198 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.setOfChoice),
199 .tag = (ASN_TAG_CLASS_CONTEXT | (13 << 2)),
200 .tag_mode = -1, /* IMPLICIT tag at current level */
201 .type = &asn_DEF_SetOfChoice,
203 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
204 0, 0, /* No default value */
205 .name = "setOfChoice"
207 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.namedSetOfChoice),
208 .tag = (ASN_TAG_CLASS_CONTEXT | (14 << 2)),
209 .tag_mode = -1, /* IMPLICIT tag at current level */
210 .type = &asn_DEF_NamedSetOfChoice,
212 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
213 0, 0, /* No default value */
214 .name = "namedSetOfChoice"
217 static const asn_TYPE_tag2member_t asn_MAP_PDU_tag2el_1[] = {
218 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sequence */
219 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* set */
220 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sequenceOf */
221 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* extensibleSet */
222 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* extensibleSequence */
223 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* extensibleSequence2 */
224 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* setOfNULL */
225 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* setOfREAL */
226 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* setOfEnums */
227 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* namedSetOfNULL */
228 { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* namedSetOfREAL */
229 { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* namedSetOfEnums */
230 { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 }, /* seqOfZuka */
231 { (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 13, 0, 0 }, /* setOfChoice */
232 { (ASN_TAG_CLASS_CONTEXT | (14 << 2)), 14, 0, 0 } /* namedSetOfChoice */
234 static asn_CHOICE_specifics_t asn_SPC_PDU_specs_1 = {
236 offsetof(struct PDU, _asn_ctx),
237 offsetof(struct PDU, present),
238 sizeof(((struct PDU *)0)->present),
239 .tag2el = asn_MAP_PDU_tag2el_1,
240 .tag2el_count = 15, /* Count of tags in the map */
242 .first_extension = 15 /* Extensions start */
244 asn_TYPE_descriptor_t asn_DEF_PDU = {
248 0, /* No effective tags (pointer) */
249 0, /* No effective tags (count) */
250 0, /* No tags (pointer) */
251 0, /* No tags (count) */
252 { 0, 0, CHOICE_constraint },
254 15, /* Elements count */
255 &asn_SPC_PDU_specs_1 /* Additional specs */
259 /*** <<< INCLUDES [Sequence] >>> ***/
262 #include <BIT_STRING.h>
263 #include <UTF8String.h>
264 #include <constr_SEQUENCE.h>
266 /*** <<< FWD-DECLS [Sequence] >>> ***/
270 /*** <<< TYPE-DECLS [Sequence] >>> ***/
272 typedef struct Sequence {
274 struct Sequence *sequence; /* OPTIONAL */
275 BIT_STRING_t *bits; /* OPTIONAL */
278 /* Context for parsing across buffer boundaries */
279 asn_struct_ctx_t _asn_ctx;
282 /*** <<< FUNC-DECLS [Sequence] >>> ***/
284 extern asn_TYPE_descriptor_t asn_DEF_Sequence;
285 extern asn_SEQUENCE_specifics_t asn_SPC_Sequence_specs_1;
286 extern asn_TYPE_member_t asn_MBR_Sequence_1[4];
288 /*** <<< POST-INCLUDE [Sequence] >>> ***/
290 #include "Sequence.h"
292 /*** <<< STAT-DEFS [Sequence] >>> ***/
294 asn_TYPE_member_t asn_MBR_Sequence_1[] = {
295 { ATF_NOFLAGS, 0, offsetof(struct Sequence, integer),
296 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
297 .tag_mode = -1, /* IMPLICIT tag at current level */
298 .type = &asn_DEF_INTEGER,
300 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
301 0, 0, /* No default value */
304 { ATF_POINTER, 2, offsetof(struct Sequence, sequence),
305 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
306 .tag_mode = -1, /* IMPLICIT tag at current level */
307 .type = &asn_DEF_Sequence,
309 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
310 0, 0, /* No default value */
313 { ATF_POINTER, 1, offsetof(struct Sequence, bits),
314 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
315 .tag_mode = -1, /* IMPLICIT tag at current level */
316 .type = &asn_DEF_BIT_STRING,
318 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
319 0, 0, /* No default value */
322 { ATF_NOFLAGS, 0, offsetof(struct Sequence, string),
323 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
324 .tag_mode = -1, /* IMPLICIT tag at current level */
325 .type = &asn_DEF_UTF8String,
327 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
328 0, 0, /* No default value */
332 static const ber_tlv_tag_t asn_DEF_Sequence_tags_1[] = {
333 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
335 static const asn_TYPE_tag2member_t asn_MAP_Sequence_tag2el_1[] = {
336 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* integer */
337 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sequence */
338 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* bits */
339 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* string */
341 asn_SEQUENCE_specifics_t asn_SPC_Sequence_specs_1 = {
342 sizeof(struct Sequence),
343 offsetof(struct Sequence, _asn_ctx),
344 .tag2el = asn_MAP_Sequence_tag2el_1,
345 .tag2el_count = 4, /* Count of tags in the map */
346 0, 0, 0, /* Optional elements (not needed) */
347 -1, /* First extension addition */
349 asn_TYPE_descriptor_t asn_DEF_Sequence = {
353 asn_DEF_Sequence_tags_1,
354 sizeof(asn_DEF_Sequence_tags_1)
355 /sizeof(asn_DEF_Sequence_tags_1[0]), /* 1 */
356 asn_DEF_Sequence_tags_1, /* Same as above */
357 sizeof(asn_DEF_Sequence_tags_1)
358 /sizeof(asn_DEF_Sequence_tags_1[0]), /* 1 */
359 { 0, 0, SEQUENCE_constraint },
361 4, /* Elements count */
362 &asn_SPC_Sequence_specs_1 /* Additional specs */
366 /*** <<< INCLUDES [Set] >>> ***/
368 #include <RELATIVE-OID.h>
369 #include <OCTET_STRING.h>
370 #include <constr_SET.h>
372 /*** <<< DEPS [Set] >>> ***/
376 * Method of determining the components presence
378 typedef enum Set_PR {
379 Set_PR_roid, /* Member roid is present */
380 Set_PR_opaque, /* Member opaque is present */
383 /*** <<< TYPE-DECLS [Set] >>> ***/
387 OCTET_STRING_t *opaque; /* OPTIONAL */
389 /* Presence bitmask: ASN_SET_ISPRESENT(pSet, Set_PR_x) */
390 unsigned int _presence_map
391 [((2+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
393 /* Context for parsing across buffer boundaries */
394 asn_struct_ctx_t _asn_ctx;
397 /*** <<< FUNC-DECLS [Set] >>> ***/
399 extern asn_TYPE_descriptor_t asn_DEF_Set;
400 extern asn_SET_specifics_t asn_SPC_Set_specs_1;
401 extern asn_TYPE_member_t asn_MBR_Set_1[2];
403 /*** <<< STAT-DEFS [Set] >>> ***/
405 asn_TYPE_member_t asn_MBR_Set_1[] = {
406 { ATF_NOFLAGS, 0, offsetof(struct Set, roid),
407 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
408 .tag_mode = -1, /* IMPLICIT tag at current level */
409 .type = &asn_DEF_RELATIVE_OID,
411 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
412 0, 0, /* No default value */
415 { ATF_POINTER, 1, offsetof(struct Set, opaque),
416 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
417 .tag_mode = -1, /* IMPLICIT tag at current level */
418 .type = &asn_DEF_OCTET_STRING,
420 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
421 0, 0, /* No default value */
425 static const ber_tlv_tag_t asn_DEF_Set_tags_1[] = {
426 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
428 static const asn_TYPE_tag2member_t asn_MAP_Set_tag2el_1[] = {
429 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* roid */
430 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* opaque */
432 static const uint8_t asn_MAP_Set_mmap_1[(2 + (8 * sizeof(unsigned int)) - 1) / 8] = {
435 asn_SET_specifics_t asn_SPC_Set_specs_1 = {
437 offsetof(struct Set, _asn_ctx),
438 offsetof(struct Set, _presence_map),
439 .tag2el = asn_MAP_Set_tag2el_1,
440 .tag2el_count = 2, /* Count of tags in the map */
441 asn_MAP_Set_tag2el_1, /* Same as above */
442 2, /* Count of tags in the CXER map */
443 0, /* Whether extensible */
444 (const unsigned int *)asn_MAP_Set_mmap_1 /* Mandatory elements map */
446 asn_TYPE_descriptor_t asn_DEF_Set = {
451 sizeof(asn_DEF_Set_tags_1)
452 /sizeof(asn_DEF_Set_tags_1[0]), /* 1 */
453 asn_DEF_Set_tags_1, /* Same as above */
454 sizeof(asn_DEF_Set_tags_1)
455 /sizeof(asn_DEF_Set_tags_1[0]), /* 1 */
456 { 0, 0, SET_constraint },
458 2, /* Elements count */
459 &asn_SPC_Set_specs_1 /* Additional specs */
463 /*** <<< INCLUDES [ExtensibleSet] >>> ***/
465 #include <UTF8String.h>
466 #include <ENUMERATED.h>
467 #include <constr_SET.h>
469 /*** <<< DEPS [ExtensibleSet] >>> ***/
473 * Method of determining the components presence
475 typedef enum ExtensibleSet_PR {
476 ExtensibleSet_PR_string, /* Member string is present */
477 ExtensibleSet_PR_enum, /* Member enum is present */
484 /*** <<< TYPE-DECLS [ExtensibleSet] >>> ***/
486 typedef struct ExtensibleSet {
487 UTF8String_t *string; /* OPTIONAL */
489 * This type is extensible,
490 * possible extensions are below.
494 /* Presence bitmask: ASN_SET_ISPRESENT(pExtensibleSet, ExtensibleSet_PR_x) */
495 unsigned int _presence_map
496 [((2+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
498 /* Context for parsing across buffer boundaries */
499 asn_struct_ctx_t _asn_ctx;
502 /*** <<< FUNC-DECLS [ExtensibleSet] >>> ***/
504 /* extern asn_TYPE_descriptor_t asn_DEF_enum_4; // (Use -fall-defs-global to expose) */
505 extern asn_TYPE_descriptor_t asn_DEF_ExtensibleSet;
506 extern asn_SET_specifics_t asn_SPC_ExtensibleSet_specs_1;
507 extern asn_TYPE_member_t asn_MBR_ExtensibleSet_1[2];
509 /*** <<< CODE [ExtensibleSet] >>> ***/
512 * This type is implemented using ENUMERATED,
513 * so here we adjust the DEF accordingly.
516 /*** <<< STAT-DEFS [ExtensibleSet] >>> ***/
518 static const asn_INTEGER_enum_map_t asn_MAP_enum_value2enum_4[] = {
522 static const unsigned int asn_MAP_enum_enum2value_4[] = {
526 static const asn_INTEGER_specifics_t asn_SPC_enum_specs_4 = {
527 asn_MAP_enum_value2enum_4, /* "tag" => N; sorted by tag */
528 asn_MAP_enum_enum2value_4, /* N => "tag"; sorted by N */
529 2, /* Number of elements in the maps */
530 0, /* Enumeration is not extensible */
531 1, /* Strict enumeration */
532 0, /* Native long size */
535 static const ber_tlv_tag_t asn_DEF_enum_tags_4[] = {
536 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
537 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
539 static /* Use -fall-defs-global to expose */
540 asn_TYPE_descriptor_t asn_DEF_enum_4 = {
545 sizeof(asn_DEF_enum_tags_4)
546 /sizeof(asn_DEF_enum_tags_4[0]) - 1, /* 1 */
547 asn_DEF_enum_tags_4, /* Same as above */
548 sizeof(asn_DEF_enum_tags_4)
549 /sizeof(asn_DEF_enum_tags_4[0]), /* 2 */
550 { 0, 0, ENUMERATED_constraint },
551 0, 0, /* Defined elsewhere */
552 &asn_SPC_enum_specs_4 /* Additional specs */
555 asn_TYPE_member_t asn_MBR_ExtensibleSet_1[] = {
556 { ATF_POINTER, 2, offsetof(struct ExtensibleSet, string),
557 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
558 .tag_mode = -1, /* IMPLICIT tag at current level */
559 .type = &asn_DEF_UTF8String,
561 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
562 0, 0, /* No default value */
565 { ATF_POINTER, 1, offsetof(struct ExtensibleSet, Enum),
566 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
567 .tag_mode = -1, /* IMPLICIT tag at current level */
568 .type = &asn_DEF_enum_4,
570 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
571 0, 0, /* No default value */
575 static const ber_tlv_tag_t asn_DEF_ExtensibleSet_tags_1[] = {
576 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
578 static const asn_TYPE_tag2member_t asn_MAP_ExtensibleSet_tag2el_1[] = {
579 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* string */
580 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* enum */
582 static const uint8_t asn_MAP_ExtensibleSet_mmap_1[(2 + (8 * sizeof(unsigned int)) - 1) / 8] = {
585 asn_SET_specifics_t asn_SPC_ExtensibleSet_specs_1 = {
586 sizeof(struct ExtensibleSet),
587 offsetof(struct ExtensibleSet, _asn_ctx),
588 offsetof(struct ExtensibleSet, _presence_map),
589 .tag2el = asn_MAP_ExtensibleSet_tag2el_1,
590 .tag2el_count = 2, /* Count of tags in the map */
591 asn_MAP_ExtensibleSet_tag2el_1, /* Same as above */
592 2, /* Count of tags in the CXER map */
593 1, /* Whether extensible */
594 (const unsigned int *)asn_MAP_ExtensibleSet_mmap_1 /* Mandatory elements map */
596 asn_TYPE_descriptor_t asn_DEF_ExtensibleSet = {
600 asn_DEF_ExtensibleSet_tags_1,
601 sizeof(asn_DEF_ExtensibleSet_tags_1)
602 /sizeof(asn_DEF_ExtensibleSet_tags_1[0]), /* 1 */
603 asn_DEF_ExtensibleSet_tags_1, /* Same as above */
604 sizeof(asn_DEF_ExtensibleSet_tags_1)
605 /sizeof(asn_DEF_ExtensibleSet_tags_1[0]), /* 1 */
606 { 0, 0, SET_constraint },
607 asn_MBR_ExtensibleSet_1,
608 2, /* Elements count */
609 &asn_SPC_ExtensibleSet_specs_1 /* Additional specs */
613 /*** <<< INCLUDES [ExtensibleSequence] >>> ***/
615 #include <UTF8String.h>
617 #include <GeneralizedTime.h>
618 #include <constr_SEQUENCE.h>
620 /*** <<< TYPE-DECLS [ExtensibleSequence] >>> ***/
622 typedef struct ExtensibleSequence {
623 UTF8String_t *string; /* OPTIONAL */
625 * This type is extensible,
626 * possible extensions are below.
628 INTEGER_t *integer; /* OPTIONAL */
629 GeneralizedTime_t *gtime;
631 /* Context for parsing across buffer boundaries */
632 asn_struct_ctx_t _asn_ctx;
633 } ExtensibleSequence_t;
635 /*** <<< FUNC-DECLS [ExtensibleSequence] >>> ***/
637 extern asn_TYPE_descriptor_t asn_DEF_ExtensibleSequence;
638 extern asn_SEQUENCE_specifics_t asn_SPC_ExtensibleSequence_specs_1;
639 extern asn_TYPE_member_t asn_MBR_ExtensibleSequence_1[3];
641 /*** <<< STAT-DEFS [ExtensibleSequence] >>> ***/
643 asn_TYPE_member_t asn_MBR_ExtensibleSequence_1[] = {
644 { ATF_POINTER, 3, offsetof(struct ExtensibleSequence, string),
645 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
646 .tag_mode = -1, /* IMPLICIT tag at current level */
647 .type = &asn_DEF_UTF8String,
649 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
650 0, 0, /* No default value */
653 { ATF_POINTER, 2, offsetof(struct ExtensibleSequence, integer),
654 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
655 .tag_mode = -1, /* IMPLICIT tag at current level */
656 .type = &asn_DEF_INTEGER,
658 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
659 0, 0, /* No default value */
662 { ATF_POINTER, 1, offsetof(struct ExtensibleSequence, gtime),
663 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
664 .tag_mode = -1, /* IMPLICIT tag at current level */
665 .type = &asn_DEF_GeneralizedTime,
667 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
668 0, 0, /* No default value */
672 static const ber_tlv_tag_t asn_DEF_ExtensibleSequence_tags_1[] = {
673 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
675 static const asn_TYPE_tag2member_t asn_MAP_ExtensibleSequence_tag2el_1[] = {
676 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* string */
677 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* integer */
678 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* gtime */
680 asn_SEQUENCE_specifics_t asn_SPC_ExtensibleSequence_specs_1 = {
681 sizeof(struct ExtensibleSequence),
682 offsetof(struct ExtensibleSequence, _asn_ctx),
683 .tag2el = asn_MAP_ExtensibleSequence_tag2el_1,
684 .tag2el_count = 3, /* Count of tags in the map */
685 0, 0, 0, /* Optional elements (not needed) */
686 1, /* First extension addition */
688 asn_TYPE_descriptor_t asn_DEF_ExtensibleSequence = {
689 "ExtensibleSequence",
690 "ExtensibleSequence",
692 asn_DEF_ExtensibleSequence_tags_1,
693 sizeof(asn_DEF_ExtensibleSequence_tags_1)
694 /sizeof(asn_DEF_ExtensibleSequence_tags_1[0]), /* 1 */
695 asn_DEF_ExtensibleSequence_tags_1, /* Same as above */
696 sizeof(asn_DEF_ExtensibleSequence_tags_1)
697 /sizeof(asn_DEF_ExtensibleSequence_tags_1[0]), /* 1 */
698 { 0, 0, SEQUENCE_constraint },
699 asn_MBR_ExtensibleSequence_1,
700 3, /* Elements count */
701 &asn_SPC_ExtensibleSequence_specs_1 /* Additional specs */
705 /*** <<< INCLUDES [ExtensibleSequence2] >>> ***/
707 #include <UTF8String.h>
709 #include <constr_SEQUENCE.h>
711 /*** <<< TYPE-DECLS [ExtensibleSequence2] >>> ***/
713 typedef struct ExtensibleSequence2 {
714 UTF8String_t *string; /* OPTIONAL */
716 * This type is extensible,
717 * possible extensions are below.
719 INTEGER_t *integer; /* OPTIONAL */
721 /* Context for parsing across buffer boundaries */
722 asn_struct_ctx_t _asn_ctx;
723 } ExtensibleSequence2_t;
725 /*** <<< FUNC-DECLS [ExtensibleSequence2] >>> ***/
727 extern asn_TYPE_descriptor_t asn_DEF_ExtensibleSequence2;
728 extern asn_SEQUENCE_specifics_t asn_SPC_ExtensibleSequence2_specs_1;
729 extern asn_TYPE_member_t asn_MBR_ExtensibleSequence2_1[2];
731 /*** <<< STAT-DEFS [ExtensibleSequence2] >>> ***/
733 asn_TYPE_member_t asn_MBR_ExtensibleSequence2_1[] = {
734 { ATF_POINTER, 2, offsetof(struct ExtensibleSequence2, string),
735 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
736 .tag_mode = -1, /* IMPLICIT tag at current level */
737 .type = &asn_DEF_UTF8String,
739 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
740 0, 0, /* No default value */
743 { ATF_POINTER, 1, offsetof(struct ExtensibleSequence2, integer),
744 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
745 .tag_mode = -1, /* IMPLICIT tag at current level */
746 .type = &asn_DEF_INTEGER,
748 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
749 0, 0, /* No default value */
753 static const ber_tlv_tag_t asn_DEF_ExtensibleSequence2_tags_1[] = {
754 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
756 static const asn_TYPE_tag2member_t asn_MAP_ExtensibleSequence2_tag2el_1[] = {
757 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* string */
758 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* integer */
760 asn_SEQUENCE_specifics_t asn_SPC_ExtensibleSequence2_specs_1 = {
761 sizeof(struct ExtensibleSequence2),
762 offsetof(struct ExtensibleSequence2, _asn_ctx),
763 .tag2el = asn_MAP_ExtensibleSequence2_tag2el_1,
764 .tag2el_count = 2, /* Count of tags in the map */
765 0, 0, 0, /* Optional elements (not needed) */
766 1, /* First extension addition */
768 asn_TYPE_descriptor_t asn_DEF_ExtensibleSequence2 = {
769 "ExtensibleSequence2",
770 "ExtensibleSequence2",
772 asn_DEF_ExtensibleSequence2_tags_1,
773 sizeof(asn_DEF_ExtensibleSequence2_tags_1)
774 /sizeof(asn_DEF_ExtensibleSequence2_tags_1[0]), /* 1 */
775 asn_DEF_ExtensibleSequence2_tags_1, /* Same as above */
776 sizeof(asn_DEF_ExtensibleSequence2_tags_1)
777 /sizeof(asn_DEF_ExtensibleSequence2_tags_1[0]), /* 1 */
778 { 0, 0, SEQUENCE_constraint },
779 asn_MBR_ExtensibleSequence2_1,
780 2, /* Elements count */
781 &asn_SPC_ExtensibleSequence2_specs_1 /* Additional specs */
785 /*** <<< INCLUDES [SetOfNULL] >>> ***/
788 #include <asn_SET_OF.h>
789 #include <constr_SET_OF.h>
791 /*** <<< TYPE-DECLS [SetOfNULL] >>> ***/
793 typedef struct SetOfNULL {
794 A_SET_OF(NULL_t) list;
796 /* Context for parsing across buffer boundaries */
797 asn_struct_ctx_t _asn_ctx;
800 /*** <<< FUNC-DECLS [SetOfNULL] >>> ***/
802 extern asn_TYPE_descriptor_t asn_DEF_SetOfNULL;
803 extern asn_SET_OF_specifics_t asn_SPC_SetOfNULL_specs_1;
804 extern asn_TYPE_member_t asn_MBR_SetOfNULL_1[1];
806 /*** <<< STAT-DEFS [SetOfNULL] >>> ***/
808 asn_TYPE_member_t asn_MBR_SetOfNULL_1[] = {
810 .tag = (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)),
812 .type = &asn_DEF_NULL,
814 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
815 0, 0, /* No default value */
819 static const ber_tlv_tag_t asn_DEF_SetOfNULL_tags_1[] = {
820 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
822 asn_SET_OF_specifics_t asn_SPC_SetOfNULL_specs_1 = {
823 sizeof(struct SetOfNULL),
824 offsetof(struct SetOfNULL, _asn_ctx),
825 1, /* XER encoding is XMLValueList */
827 asn_TYPE_descriptor_t asn_DEF_SetOfNULL = {
831 asn_DEF_SetOfNULL_tags_1,
832 sizeof(asn_DEF_SetOfNULL_tags_1)
833 /sizeof(asn_DEF_SetOfNULL_tags_1[0]), /* 1 */
834 asn_DEF_SetOfNULL_tags_1, /* Same as above */
835 sizeof(asn_DEF_SetOfNULL_tags_1)
836 /sizeof(asn_DEF_SetOfNULL_tags_1[0]), /* 1 */
837 { 0, 0, SET_OF_constraint },
839 1, /* Single element */
840 &asn_SPC_SetOfNULL_specs_1 /* Additional specs */
844 /*** <<< INCLUDES [SetOfREAL] >>> ***/
847 #include <asn_SET_OF.h>
848 #include <constr_SET_OF.h>
850 /*** <<< TYPE-DECLS [SetOfREAL] >>> ***/
852 typedef struct SetOfREAL {
853 A_SET_OF(REAL_t) list;
855 /* Context for parsing across buffer boundaries */
856 asn_struct_ctx_t _asn_ctx;
859 /*** <<< FUNC-DECLS [SetOfREAL] >>> ***/
861 extern asn_TYPE_descriptor_t asn_DEF_SetOfREAL;
862 extern asn_SET_OF_specifics_t asn_SPC_SetOfREAL_specs_1;
863 extern asn_TYPE_member_t asn_MBR_SetOfREAL_1[1];
865 /*** <<< STAT-DEFS [SetOfREAL] >>> ***/
867 asn_TYPE_member_t asn_MBR_SetOfREAL_1[] = {
869 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
871 .type = &asn_DEF_REAL,
873 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
874 0, 0, /* No default value */
878 static const ber_tlv_tag_t asn_DEF_SetOfREAL_tags_1[] = {
879 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
881 asn_SET_OF_specifics_t asn_SPC_SetOfREAL_specs_1 = {
882 sizeof(struct SetOfREAL),
883 offsetof(struct SetOfREAL, _asn_ctx),
884 0, /* XER encoding is XMLDelimitedItemList */
886 asn_TYPE_descriptor_t asn_DEF_SetOfREAL = {
890 asn_DEF_SetOfREAL_tags_1,
891 sizeof(asn_DEF_SetOfREAL_tags_1)
892 /sizeof(asn_DEF_SetOfREAL_tags_1[0]), /* 1 */
893 asn_DEF_SetOfREAL_tags_1, /* Same as above */
894 sizeof(asn_DEF_SetOfREAL_tags_1)
895 /sizeof(asn_DEF_SetOfREAL_tags_1[0]), /* 1 */
896 { 0, 0, SET_OF_constraint },
898 1, /* Single element */
899 &asn_SPC_SetOfREAL_specs_1 /* Additional specs */
903 /*** <<< INCLUDES [SetOfEnums] >>> ***/
905 #include <ENUMERATED.h>
906 #include <asn_SET_OF.h>
907 #include <constr_SET_OF.h>
909 /*** <<< DEPS [SetOfEnums] >>> ***/
911 typedef enum Member {
916 /*** <<< TYPE-DECLS [SetOfEnums] >>> ***/
918 typedef struct SetOfEnums {
919 A_SET_OF(ENUMERATED_t) list;
921 /* Context for parsing across buffer boundaries */
922 asn_struct_ctx_t _asn_ctx;
925 /*** <<< FUNC-DECLS [SetOfEnums] >>> ***/
927 /* extern asn_TYPE_descriptor_t asn_DEF_Member_2; // (Use -fall-defs-global to expose) */
928 extern asn_TYPE_descriptor_t asn_DEF_SetOfEnums;
929 extern asn_SET_OF_specifics_t asn_SPC_SetOfEnums_specs_1;
930 extern asn_TYPE_member_t asn_MBR_SetOfEnums_1[1];
932 /*** <<< CODE [SetOfEnums] >>> ***/
935 * This type is implemented using ENUMERATED,
936 * so here we adjust the DEF accordingly.
939 /*** <<< STAT-DEFS [SetOfEnums] >>> ***/
941 static const asn_INTEGER_enum_map_t asn_MAP_Member_value2enum_2[] = {
945 static const unsigned int asn_MAP_Member_enum2value_2[] = {
949 static const asn_INTEGER_specifics_t asn_SPC_Member_specs_2 = {
950 asn_MAP_Member_value2enum_2, /* "tag" => N; sorted by tag */
951 asn_MAP_Member_enum2value_2, /* N => "tag"; sorted by N */
952 2, /* Number of elements in the maps */
953 0, /* Enumeration is not extensible */
954 1, /* Strict enumeration */
955 0, /* Native long size */
958 static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
959 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
961 static /* Use -fall-defs-global to expose */
962 asn_TYPE_descriptor_t asn_DEF_Member_2 = {
966 asn_DEF_Member_tags_2,
967 sizeof(asn_DEF_Member_tags_2)
968 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
969 asn_DEF_Member_tags_2, /* Same as above */
970 sizeof(asn_DEF_Member_tags_2)
971 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
972 { 0, 0, ENUMERATED_constraint },
973 0, 0, /* Defined elsewhere */
974 &asn_SPC_Member_specs_2 /* Additional specs */
977 asn_TYPE_member_t asn_MBR_SetOfEnums_1[] = {
979 .tag = (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
981 .type = &asn_DEF_Member_2,
983 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
984 0, 0, /* No default value */
988 static const ber_tlv_tag_t asn_DEF_SetOfEnums_tags_1[] = {
989 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
991 asn_SET_OF_specifics_t asn_SPC_SetOfEnums_specs_1 = {
992 sizeof(struct SetOfEnums),
993 offsetof(struct SetOfEnums, _asn_ctx),
994 1, /* XER encoding is XMLValueList */
996 asn_TYPE_descriptor_t asn_DEF_SetOfEnums = {
1000 asn_DEF_SetOfEnums_tags_1,
1001 sizeof(asn_DEF_SetOfEnums_tags_1)
1002 /sizeof(asn_DEF_SetOfEnums_tags_1[0]), /* 1 */
1003 asn_DEF_SetOfEnums_tags_1, /* Same as above */
1004 sizeof(asn_DEF_SetOfEnums_tags_1)
1005 /sizeof(asn_DEF_SetOfEnums_tags_1[0]), /* 1 */
1006 { 0, 0, SET_OF_constraint },
1007 asn_MBR_SetOfEnums_1,
1008 1, /* Single element */
1009 &asn_SPC_SetOfEnums_specs_1 /* Additional specs */
1013 /*** <<< INCLUDES [NamedSetOfNULL] >>> ***/
1016 #include <asn_SET_OF.h>
1017 #include <constr_SET_OF.h>
1019 /*** <<< TYPE-DECLS [NamedSetOfNULL] >>> ***/
1021 typedef struct NamedSetOfNULL {
1022 A_SET_OF(NULL_t) list;
1024 /* Context for parsing across buffer boundaries */
1025 asn_struct_ctx_t _asn_ctx;
1028 /*** <<< FUNC-DECLS [NamedSetOfNULL] >>> ***/
1030 extern asn_TYPE_descriptor_t asn_DEF_NamedSetOfNULL;
1031 extern asn_SET_OF_specifics_t asn_SPC_NamedSetOfNULL_specs_1;
1032 extern asn_TYPE_member_t asn_MBR_NamedSetOfNULL_1[1];
1034 /*** <<< STAT-DEFS [NamedSetOfNULL] >>> ***/
1036 asn_TYPE_member_t asn_MBR_NamedSetOfNULL_1[] = {
1037 { ATF_POINTER, 0, 0,
1038 .tag = (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)),
1040 .type = &asn_DEF_NULL,
1042 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1043 0, 0, /* No default value */
1047 static const ber_tlv_tag_t asn_DEF_NamedSetOfNULL_tags_1[] = {
1048 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1050 asn_SET_OF_specifics_t asn_SPC_NamedSetOfNULL_specs_1 = {
1051 sizeof(struct NamedSetOfNULL),
1052 offsetof(struct NamedSetOfNULL, _asn_ctx),
1053 1, /* XER encoding is XMLValueList */
1055 asn_TYPE_descriptor_t asn_DEF_NamedSetOfNULL = {
1059 asn_DEF_NamedSetOfNULL_tags_1,
1060 sizeof(asn_DEF_NamedSetOfNULL_tags_1)
1061 /sizeof(asn_DEF_NamedSetOfNULL_tags_1[0]), /* 1 */
1062 asn_DEF_NamedSetOfNULL_tags_1, /* Same as above */
1063 sizeof(asn_DEF_NamedSetOfNULL_tags_1)
1064 /sizeof(asn_DEF_NamedSetOfNULL_tags_1[0]), /* 1 */
1065 { 0, 0, SET_OF_constraint },
1066 asn_MBR_NamedSetOfNULL_1,
1067 1, /* Single element */
1068 &asn_SPC_NamedSetOfNULL_specs_1 /* Additional specs */
1072 /*** <<< INCLUDES [NamedSetOfREAL] >>> ***/
1075 #include <asn_SET_OF.h>
1076 #include <constr_SET_OF.h>
1078 /*** <<< TYPE-DECLS [NamedSetOfREAL] >>> ***/
1080 typedef struct NamedSetOfREAL {
1081 A_SET_OF(REAL_t) list;
1083 /* Context for parsing across buffer boundaries */
1084 asn_struct_ctx_t _asn_ctx;
1087 /*** <<< FUNC-DECLS [NamedSetOfREAL] >>> ***/
1089 extern asn_TYPE_descriptor_t asn_DEF_NamedSetOfREAL;
1090 extern asn_SET_OF_specifics_t asn_SPC_NamedSetOfREAL_specs_1;
1091 extern asn_TYPE_member_t asn_MBR_NamedSetOfREAL_1[1];
1093 /*** <<< STAT-DEFS [NamedSetOfREAL] >>> ***/
1095 asn_TYPE_member_t asn_MBR_NamedSetOfREAL_1[] = {
1096 { ATF_POINTER, 0, 0,
1097 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
1099 .type = &asn_DEF_REAL,
1101 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1102 0, 0, /* No default value */
1106 static const ber_tlv_tag_t asn_DEF_NamedSetOfREAL_tags_1[] = {
1107 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1109 asn_SET_OF_specifics_t asn_SPC_NamedSetOfREAL_specs_1 = {
1110 sizeof(struct NamedSetOfREAL),
1111 offsetof(struct NamedSetOfREAL, _asn_ctx),
1112 0, /* XER encoding is XMLDelimitedItemList */
1114 asn_TYPE_descriptor_t asn_DEF_NamedSetOfREAL = {
1118 asn_DEF_NamedSetOfREAL_tags_1,
1119 sizeof(asn_DEF_NamedSetOfREAL_tags_1)
1120 /sizeof(asn_DEF_NamedSetOfREAL_tags_1[0]), /* 1 */
1121 asn_DEF_NamedSetOfREAL_tags_1, /* Same as above */
1122 sizeof(asn_DEF_NamedSetOfREAL_tags_1)
1123 /sizeof(asn_DEF_NamedSetOfREAL_tags_1[0]), /* 1 */
1124 { 0, 0, SET_OF_constraint },
1125 asn_MBR_NamedSetOfREAL_1,
1126 1, /* Single element */
1127 &asn_SPC_NamedSetOfREAL_specs_1 /* Additional specs */
1131 /*** <<< INCLUDES [NamedSetOfEnums] >>> ***/
1133 #include <ENUMERATED.h>
1134 #include <asn_SET_OF.h>
1135 #include <constr_SET_OF.h>
1137 /*** <<< DEPS [NamedSetOfEnums] >>> ***/
1144 /*** <<< TYPE-DECLS [NamedSetOfEnums] >>> ***/
1146 typedef struct NamedSetOfEnums {
1147 A_SET_OF(ENUMERATED_t) list;
1149 /* Context for parsing across buffer boundaries */
1150 asn_struct_ctx_t _asn_ctx;
1151 } NamedSetOfEnums_t;
1153 /*** <<< FUNC-DECLS [NamedSetOfEnums] >>> ***/
1155 /* extern asn_TYPE_descriptor_t asn_DEF_name_2; // (Use -fall-defs-global to expose) */
1156 extern asn_TYPE_descriptor_t asn_DEF_NamedSetOfEnums;
1157 extern asn_SET_OF_specifics_t asn_SPC_NamedSetOfEnums_specs_1;
1158 extern asn_TYPE_member_t asn_MBR_NamedSetOfEnums_1[1];
1160 /*** <<< CODE [NamedSetOfEnums] >>> ***/
1163 * This type is implemented using ENUMERATED,
1164 * so here we adjust the DEF accordingly.
1167 /*** <<< STAT-DEFS [NamedSetOfEnums] >>> ***/
1169 static const asn_INTEGER_enum_map_t asn_MAP_name_value2enum_2[] = {
1173 static const unsigned int asn_MAP_name_enum2value_2[] = {
1177 static const asn_INTEGER_specifics_t asn_SPC_name_specs_2 = {
1178 asn_MAP_name_value2enum_2, /* "tag" => N; sorted by tag */
1179 asn_MAP_name_enum2value_2, /* N => "tag"; sorted by N */
1180 2, /* Number of elements in the maps */
1181 0, /* Enumeration is not extensible */
1182 1, /* Strict enumeration */
1183 0, /* Native long size */
1186 static const ber_tlv_tag_t asn_DEF_name_tags_2[] = {
1187 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
1189 static /* Use -fall-defs-global to expose */
1190 asn_TYPE_descriptor_t asn_DEF_name_2 = {
1194 asn_DEF_name_tags_2,
1195 sizeof(asn_DEF_name_tags_2)
1196 /sizeof(asn_DEF_name_tags_2[0]), /* 1 */
1197 asn_DEF_name_tags_2, /* Same as above */
1198 sizeof(asn_DEF_name_tags_2)
1199 /sizeof(asn_DEF_name_tags_2[0]), /* 1 */
1200 { 0, 0, ENUMERATED_constraint },
1201 0, 0, /* Defined elsewhere */
1202 &asn_SPC_name_specs_2 /* Additional specs */
1205 asn_TYPE_member_t asn_MBR_NamedSetOfEnums_1[] = {
1206 { ATF_POINTER, 0, 0,
1207 .tag = (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
1209 .type = &asn_DEF_name_2,
1211 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1212 0, 0, /* No default value */
1216 static const ber_tlv_tag_t asn_DEF_NamedSetOfEnums_tags_1[] = {
1217 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1219 asn_SET_OF_specifics_t asn_SPC_NamedSetOfEnums_specs_1 = {
1220 sizeof(struct NamedSetOfEnums),
1221 offsetof(struct NamedSetOfEnums, _asn_ctx),
1222 1, /* XER encoding is XMLValueList */
1224 asn_TYPE_descriptor_t asn_DEF_NamedSetOfEnums = {
1228 asn_DEF_NamedSetOfEnums_tags_1,
1229 sizeof(asn_DEF_NamedSetOfEnums_tags_1)
1230 /sizeof(asn_DEF_NamedSetOfEnums_tags_1[0]), /* 1 */
1231 asn_DEF_NamedSetOfEnums_tags_1, /* Same as above */
1232 sizeof(asn_DEF_NamedSetOfEnums_tags_1)
1233 /sizeof(asn_DEF_NamedSetOfEnums_tags_1[0]), /* 1 */
1234 { 0, 0, SET_OF_constraint },
1235 asn_MBR_NamedSetOfEnums_1,
1236 1, /* Single element */
1237 &asn_SPC_NamedSetOfEnums_specs_1 /* Additional specs */
1241 /*** <<< INCLUDES [SequenceOf] >>> ***/
1243 #include <INTEGER.h>
1244 #include <asn_SEQUENCE_OF.h>
1245 #include <constr_SEQUENCE_OF.h>
1247 /*** <<< TYPE-DECLS [SequenceOf] >>> ***/
1249 typedef struct SequenceOf {
1250 A_SEQUENCE_OF(INTEGER_t) list;
1252 /* Context for parsing across buffer boundaries */
1253 asn_struct_ctx_t _asn_ctx;
1256 /*** <<< FUNC-DECLS [SequenceOf] >>> ***/
1258 extern asn_TYPE_descriptor_t asn_DEF_SequenceOf;
1259 extern asn_SET_OF_specifics_t asn_SPC_SequenceOf_specs_1;
1260 extern asn_TYPE_member_t asn_MBR_SequenceOf_1[1];
1262 /*** <<< STAT-DEFS [SequenceOf] >>> ***/
1264 asn_TYPE_member_t asn_MBR_SequenceOf_1[] = {
1265 { ATF_POINTER, 0, 0,
1266 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
1268 .type = &asn_DEF_INTEGER,
1270 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1271 0, 0, /* No default value */
1275 static const ber_tlv_tag_t asn_DEF_SequenceOf_tags_1[] = {
1276 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1278 asn_SET_OF_specifics_t asn_SPC_SequenceOf_specs_1 = {
1279 sizeof(struct SequenceOf),
1280 offsetof(struct SequenceOf, _asn_ctx),
1281 0, /* XER encoding is XMLDelimitedItemList */
1283 asn_TYPE_descriptor_t asn_DEF_SequenceOf = {
1286 &asn_OP_SEQUENCE_OF,
1287 asn_DEF_SequenceOf_tags_1,
1288 sizeof(asn_DEF_SequenceOf_tags_1)
1289 /sizeof(asn_DEF_SequenceOf_tags_1[0]), /* 1 */
1290 asn_DEF_SequenceOf_tags_1, /* Same as above */
1291 sizeof(asn_DEF_SequenceOf_tags_1)
1292 /sizeof(asn_DEF_SequenceOf_tags_1[0]), /* 1 */
1293 { 0, 0, SEQUENCE_OF_constraint },
1294 asn_MBR_SequenceOf_1,
1295 1, /* Single element */
1296 &asn_SPC_SequenceOf_specs_1 /* Additional specs */
1300 /*** <<< INCLUDES [SeqOfZuka] >>> ***/
1303 #include <asn_SEQUENCE_OF.h>
1304 #include <constr_SEQUENCE_OF.h>
1306 /*** <<< TYPE-DECLS [SeqOfZuka] >>> ***/
1308 typedef struct SeqOfZuka {
1309 A_SEQUENCE_OF(NULL_t) list;
1311 /* Context for parsing across buffer boundaries */
1312 asn_struct_ctx_t _asn_ctx;
1315 /*** <<< FUNC-DECLS [SeqOfZuka] >>> ***/
1317 extern asn_TYPE_descriptor_t asn_DEF_SeqOfZuka;
1318 extern asn_SET_OF_specifics_t asn_SPC_SeqOfZuka_specs_1;
1319 extern asn_TYPE_member_t asn_MBR_SeqOfZuka_1[1];
1321 /*** <<< STAT-DEFS [SeqOfZuka] >>> ***/
1323 asn_TYPE_member_t asn_MBR_SeqOfZuka_1[] = {
1324 { ATF_POINTER, 0, 0,
1325 .tag = (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)),
1327 .type = &asn_DEF_NULL,
1329 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1330 0, 0, /* No default value */
1334 static const ber_tlv_tag_t asn_DEF_SeqOfZuka_tags_1[] = {
1335 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1337 asn_SET_OF_specifics_t asn_SPC_SeqOfZuka_specs_1 = {
1338 sizeof(struct SeqOfZuka),
1339 offsetof(struct SeqOfZuka, _asn_ctx),
1340 1, /* XER encoding is XMLValueList */
1342 asn_TYPE_descriptor_t asn_DEF_SeqOfZuka = {
1345 &asn_OP_SEQUENCE_OF,
1346 asn_DEF_SeqOfZuka_tags_1,
1347 sizeof(asn_DEF_SeqOfZuka_tags_1)
1348 /sizeof(asn_DEF_SeqOfZuka_tags_1[0]), /* 1 */
1349 asn_DEF_SeqOfZuka_tags_1, /* Same as above */
1350 sizeof(asn_DEF_SeqOfZuka_tags_1)
1351 /sizeof(asn_DEF_SeqOfZuka_tags_1[0]), /* 1 */
1352 { 0, 0, SEQUENCE_OF_constraint },
1353 asn_MBR_SeqOfZuka_1,
1354 1, /* Single element */
1355 &asn_SPC_SeqOfZuka_specs_1 /* Additional specs */
1359 /*** <<< INCLUDES [SetOfChoice] >>> ***/
1361 #include <asn_SET_OF.h>
1362 #include <constr_SET_OF.h>
1364 /*** <<< FWD-DECLS [SetOfChoice] >>> ***/
1366 struct SimpleChoice;
1368 /*** <<< TYPE-DECLS [SetOfChoice] >>> ***/
1370 typedef struct SetOfChoice {
1371 A_SET_OF(struct SimpleChoice) list;
1373 /* Context for parsing across buffer boundaries */
1374 asn_struct_ctx_t _asn_ctx;
1377 /*** <<< FUNC-DECLS [SetOfChoice] >>> ***/
1379 extern asn_TYPE_descriptor_t asn_DEF_SetOfChoice;
1380 extern asn_SET_OF_specifics_t asn_SPC_SetOfChoice_specs_1;
1381 extern asn_TYPE_member_t asn_MBR_SetOfChoice_1[1];
1383 /*** <<< POST-INCLUDE [SetOfChoice] >>> ***/
1385 #include "SimpleChoice.h"
1387 /*** <<< STAT-DEFS [SetOfChoice] >>> ***/
1389 asn_TYPE_member_t asn_MBR_SetOfChoice_1[] = {
1390 { ATF_POINTER, 0, 0,
1391 .tag = -1 /* Ambiguous tag (CHOICE?) */,
1393 .type = &asn_DEF_SimpleChoice,
1395 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1396 0, 0, /* No default value */
1400 static const ber_tlv_tag_t asn_DEF_SetOfChoice_tags_1[] = {
1401 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1403 asn_SET_OF_specifics_t asn_SPC_SetOfChoice_specs_1 = {
1404 sizeof(struct SetOfChoice),
1405 offsetof(struct SetOfChoice, _asn_ctx),
1406 2, /* XER encoding is XMLValueList */
1408 asn_TYPE_descriptor_t asn_DEF_SetOfChoice = {
1412 asn_DEF_SetOfChoice_tags_1,
1413 sizeof(asn_DEF_SetOfChoice_tags_1)
1414 /sizeof(asn_DEF_SetOfChoice_tags_1[0]), /* 1 */
1415 asn_DEF_SetOfChoice_tags_1, /* Same as above */
1416 sizeof(asn_DEF_SetOfChoice_tags_1)
1417 /sizeof(asn_DEF_SetOfChoice_tags_1[0]), /* 1 */
1418 { 0, 0, SET_OF_constraint },
1419 asn_MBR_SetOfChoice_1,
1420 1, /* Single element */
1421 &asn_SPC_SetOfChoice_specs_1 /* Additional specs */
1425 /*** <<< INCLUDES [NamedSetOfChoice] >>> ***/
1427 #include <asn_SET_OF.h>
1428 #include <constr_SET_OF.h>
1430 /*** <<< FWD-DECLS [NamedSetOfChoice] >>> ***/
1432 struct SimpleChoice;
1434 /*** <<< TYPE-DECLS [NamedSetOfChoice] >>> ***/
1436 typedef struct NamedSetOfChoice {
1437 A_SET_OF(struct SimpleChoice) list;
1439 /* Context for parsing across buffer boundaries */
1440 asn_struct_ctx_t _asn_ctx;
1441 } NamedSetOfChoice_t;
1443 /*** <<< FUNC-DECLS [NamedSetOfChoice] >>> ***/
1445 extern asn_TYPE_descriptor_t asn_DEF_NamedSetOfChoice;
1446 extern asn_SET_OF_specifics_t asn_SPC_NamedSetOfChoice_specs_1;
1447 extern asn_TYPE_member_t asn_MBR_NamedSetOfChoice_1[1];
1449 /*** <<< POST-INCLUDE [NamedSetOfChoice] >>> ***/
1451 #include "SimpleChoice.h"
1453 /*** <<< STAT-DEFS [NamedSetOfChoice] >>> ***/
1455 asn_TYPE_member_t asn_MBR_NamedSetOfChoice_1[] = {
1456 { ATF_POINTER, 0, 0,
1457 .tag = -1 /* Ambiguous tag (CHOICE?) */,
1459 .type = &asn_DEF_SimpleChoice,
1461 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1462 0, 0, /* No default value */
1466 static const ber_tlv_tag_t asn_DEF_NamedSetOfChoice_tags_1[] = {
1467 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1469 asn_SET_OF_specifics_t asn_SPC_NamedSetOfChoice_specs_1 = {
1470 sizeof(struct NamedSetOfChoice),
1471 offsetof(struct NamedSetOfChoice, _asn_ctx),
1472 2, /* XER encoding is XMLValueList */
1474 asn_TYPE_descriptor_t asn_DEF_NamedSetOfChoice = {
1478 asn_DEF_NamedSetOfChoice_tags_1,
1479 sizeof(asn_DEF_NamedSetOfChoice_tags_1)
1480 /sizeof(asn_DEF_NamedSetOfChoice_tags_1[0]), /* 1 */
1481 asn_DEF_NamedSetOfChoice_tags_1, /* Same as above */
1482 sizeof(asn_DEF_NamedSetOfChoice_tags_1)
1483 /sizeof(asn_DEF_NamedSetOfChoice_tags_1[0]), /* 1 */
1484 { 0, 0, SET_OF_constraint },
1485 asn_MBR_NamedSetOfChoice_1,
1486 1, /* Single element */
1487 &asn_SPC_NamedSetOfChoice_specs_1 /* Additional specs */
1491 /*** <<< INCLUDES [SimpleChoice] >>> ***/
1494 #include <INTEGER.h>
1495 #include <constr_CHOICE.h>
1497 /*** <<< DEPS [SimpleChoice] >>> ***/
1499 typedef enum SimpleChoice_PR {
1500 SimpleChoice_PR_NOTHING, /* No components present */
1505 /*** <<< TYPE-DECLS [SimpleChoice] >>> ***/
1507 typedef struct SimpleChoice {
1508 SimpleChoice_PR present;
1509 union SimpleChoice_u {
1514 /* Context for parsing across buffer boundaries */
1515 asn_struct_ctx_t _asn_ctx;
1518 /*** <<< FUNC-DECLS [SimpleChoice] >>> ***/
1520 extern asn_TYPE_descriptor_t asn_DEF_SimpleChoice;
1521 extern asn_CHOICE_specifics_t asn_SPC_SimpleChoice_specs_1;
1522 extern asn_TYPE_member_t asn_MBR_SimpleChoice_1[2];
1524 /*** <<< STAT-DEFS [SimpleChoice] >>> ***/
1526 asn_TYPE_member_t asn_MBR_SimpleChoice_1[] = {
1527 { ATF_NOFLAGS, 0, offsetof(struct SimpleChoice, choice.a),
1528 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1529 .tag_mode = -1, /* IMPLICIT tag at current level */
1530 .type = &asn_DEF_NULL,
1532 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1533 0, 0, /* No default value */
1536 { ATF_NOFLAGS, 0, offsetof(struct SimpleChoice, choice.b),
1537 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1538 .tag_mode = -1, /* IMPLICIT tag at current level */
1539 .type = &asn_DEF_INTEGER,
1541 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1542 0, 0, /* No default value */
1546 static const asn_TYPE_tag2member_t asn_MAP_SimpleChoice_tag2el_1[] = {
1547 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
1548 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* b */
1550 asn_CHOICE_specifics_t asn_SPC_SimpleChoice_specs_1 = {
1551 sizeof(struct SimpleChoice),
1552 offsetof(struct SimpleChoice, _asn_ctx),
1553 offsetof(struct SimpleChoice, present),
1554 sizeof(((struct SimpleChoice *)0)->present),
1555 .tag2el = asn_MAP_SimpleChoice_tag2el_1,
1556 .tag2el_count = 2, /* Count of tags in the map */
1558 .first_extension = -1 /* Extensions start */
1560 asn_TYPE_descriptor_t asn_DEF_SimpleChoice = {
1564 0, /* No effective tags (pointer) */
1565 0, /* No effective tags (count) */
1566 0, /* No tags (pointer) */
1567 0, /* No tags (count) */
1568 { 0, 0, CHOICE_constraint },
1569 asn_MBR_SimpleChoice_1,
1570 2, /* Elements count */
1571 &asn_SPC_SimpleChoice_specs_1 /* Additional specs */