2 /*** <<< INCLUDES [Everything] >>> ***/
11 #include <constr_SEQUENCE.h>
13 /*** <<< FWD-DECLS [Everything] >>> ***/
19 /*** <<< TYPE-DECLS [Everything] >>> ***/
21 typedef struct Everything {
33 /* Context for parsing across buffer boundaries */
34 asn_struct_ctx_t _asn_ctx;
37 /*** <<< FUNC-DECLS [Everything] >>> ***/
39 extern asn_TYPE_descriptor_t asn_DEF_Everything;
40 extern asn_SEQUENCE_specifics_t asn_SPC_Everything_specs_1;
41 extern asn_TYPE_member_t asn_MBR_Everything_1[10];
43 /*** <<< POST-INCLUDE [Everything] >>> ***/
49 /*** <<< STAT-DEFS [Everything] >>> ***/
51 asn_TYPE_member_t asn_MBR_Everything_1[] = {
52 { ATF_POINTER, 0, offsetof(struct Everything, ch1),
53 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
54 .tag_mode = +1, /* EXPLICIT tag at current level */
55 .type = &asn_DEF_Choice1,
57 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
58 0, 0, /* No default value */
61 { ATF_POINTER, 0, offsetof(struct Everything, ch2),
62 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
63 .tag_mode = +1, /* EXPLICIT tag at current level */
64 .type = &asn_DEF_Choice2,
66 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
67 0, 0, /* No default value */
70 { ATF_POINTER, 0, offsetof(struct Everything, ch3),
71 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
72 .tag_mode = +1, /* EXPLICIT tag at current level */
73 .type = &asn_DEF_Choice3,
75 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
76 0, 0, /* No default value */
79 { ATF_NOFLAGS, 0, offsetof(struct Everything, set),
80 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
81 .tag_mode = -1, /* IMPLICIT tag at current level */
84 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
85 0, 0, /* No default value */
88 { ATF_NOFLAGS, 0, offsetof(struct Everything, a),
89 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
90 .tag_mode = -1, /* IMPLICIT tag at current level */
91 .type = &asn_DEF_Alpha,
93 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
94 0, 0, /* No default value */
97 { ATF_NOFLAGS, 0, offsetof(struct Everything, b),
98 .tag = (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
99 .tag_mode = -1, /* IMPLICIT tag at current level */
100 .type = &asn_DEF_Beta,
102 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
103 0, 0, /* No default value */
106 { ATF_NOFLAGS, 0, offsetof(struct Everything, g),
107 .tag = (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
108 .tag_mode = -1, /* IMPLICIT tag at current level */
109 .type = &asn_DEF_Gamma,
111 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
112 0, 0, /* No default value */
115 { ATF_NOFLAGS, 0, offsetof(struct Everything, ot),
116 .tag = (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
117 .tag_mode = -1, /* IMPLICIT tag at current level */
118 .type = &asn_DEF_OneTwo,
120 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
121 0, 0, /* No default value */
124 { ATF_NOFLAGS, 0, offsetof(struct Everything, tt),
125 .tag = (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
126 .tag_mode = -1, /* IMPLICIT tag at current level */
127 .type = &asn_DEF_TwoThree,
129 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
130 0, 0, /* No default value */
133 { ATF_NOFLAGS, 0, offsetof(struct Everything, to),
134 .tag = (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
135 .tag_mode = -1, /* IMPLICIT tag at current level */
136 .type = &asn_DEF_ThreeOne,
138 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
139 0, 0, /* No default value */
143 static const ber_tlv_tag_t asn_DEF_Everything_tags_1[] = {
144 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
146 static const asn_TYPE_tag2member_t asn_MAP_Everything_tag2el_1[] = {
147 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ch1 */
148 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ch2 */
149 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ch3 */
150 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* set */
151 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* a */
152 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* b */
153 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* g */
154 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* ot */
155 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* tt */
156 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 } /* to */
158 asn_SEQUENCE_specifics_t asn_SPC_Everything_specs_1 = {
159 sizeof(struct Everything),
160 offsetof(struct Everything, _asn_ctx),
161 .tag2el = asn_MAP_Everything_tag2el_1,
162 .tag2el_count = 10, /* Count of tags in the map */
163 0, 0, 0, /* Optional elements (not needed) */
164 -1, /* First extension addition */
166 asn_TYPE_descriptor_t asn_DEF_Everything = {
170 asn_DEF_Everything_tags_1,
171 sizeof(asn_DEF_Everything_tags_1)
172 /sizeof(asn_DEF_Everything_tags_1[0]), /* 1 */
173 asn_DEF_Everything_tags_1, /* Same as above */
174 sizeof(asn_DEF_Everything_tags_1)
175 /sizeof(asn_DEF_Everything_tags_1[0]), /* 1 */
176 { 0, 0, SEQUENCE_constraint },
177 asn_MBR_Everything_1,
178 10, /* Elements count */
179 &asn_SPC_Everything_specs_1 /* Additional specs */
183 /*** <<< INCLUDES [Choice1] >>> ***/
185 #include <constr_CHOICE.h>
187 /*** <<< DEPS [Choice1] >>> ***/
189 typedef enum Choice1_PR {
190 Choice1_PR_NOTHING, /* No components present */
191 Choice1_PR_something,
192 /* Extensions may appear below */
196 /*** <<< FWD-DECLS [Choice1] >>> ***/
200 /*** <<< TYPE-DECLS [Choice1] >>> ***/
202 typedef struct Choice1 {
205 struct Everything *something;
207 * This type is extensible,
208 * possible extensions are below.
210 struct Everything *some2;
213 /* Context for parsing across buffer boundaries */
214 asn_struct_ctx_t _asn_ctx;
217 /*** <<< FUNC-DECLS [Choice1] >>> ***/
219 extern asn_TYPE_descriptor_t asn_DEF_Choice1;
220 extern asn_CHOICE_specifics_t asn_SPC_Choice1_specs_1;
221 extern asn_TYPE_member_t asn_MBR_Choice1_1[2];
223 /*** <<< POST-INCLUDE [Choice1] >>> ***/
225 #include "Everything.h"
227 /*** <<< STAT-DEFS [Choice1] >>> ***/
229 asn_TYPE_member_t asn_MBR_Choice1_1[] = {
230 { ATF_POINTER, 0, offsetof(struct Choice1, choice.something),
231 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
232 .tag_mode = -1, /* IMPLICIT tag at current level */
233 .type = &asn_DEF_Everything,
235 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
236 0, 0, /* No default value */
239 { ATF_POINTER, 0, offsetof(struct Choice1, choice.some2),
240 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
241 .tag_mode = -1, /* IMPLICIT tag at current level */
242 .type = &asn_DEF_Everything,
244 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
245 0, 0, /* No default value */
249 static const asn_TYPE_tag2member_t asn_MAP_Choice1_tag2el_1[] = {
250 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* something */
251 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* some2 */
253 asn_CHOICE_specifics_t asn_SPC_Choice1_specs_1 = {
254 sizeof(struct Choice1),
255 offsetof(struct Choice1, _asn_ctx),
256 offsetof(struct Choice1, present),
257 sizeof(((struct Choice1 *)0)->present),
258 .tag2el = asn_MAP_Choice1_tag2el_1,
259 .tag2el_count = 2, /* Count of tags in the map */
261 .first_extension = 1 /* Extensions start */
263 asn_TYPE_descriptor_t asn_DEF_Choice1 = {
267 0, /* No effective tags (pointer) */
268 0, /* No effective tags (count) */
269 0, /* No tags (pointer) */
270 0, /* No tags (count) */
271 { 0, 0, CHOICE_constraint },
273 2, /* Elements count */
274 &asn_SPC_Choice1_specs_1 /* Additional specs */
278 /*** <<< INCLUDES [Choice2] >>> ***/
281 #include <constr_CHOICE.h>
283 /*** <<< DEPS [Choice2] >>> ***/
285 typedef enum Choice2_PR {
286 Choice2_PR_NOTHING, /* No components present */
288 /* Extensions may appear below */
292 /*** <<< FWD-DECLS [Choice2] >>> ***/
296 /*** <<< TYPE-DECLS [Choice2] >>> ***/
298 typedef struct Choice2 {
303 * This type is extensible,
304 * possible extensions are below.
306 struct Everything *some3;
309 /* Context for parsing across buffer boundaries */
310 asn_struct_ctx_t _asn_ctx;
313 /*** <<< FUNC-DECLS [Choice2] >>> ***/
315 extern asn_TYPE_descriptor_t asn_DEF_Choice2;
316 extern asn_CHOICE_specifics_t asn_SPC_Choice2_specs_1;
317 extern asn_TYPE_member_t asn_MBR_Choice2_1[2];
319 /*** <<< POST-INCLUDE [Choice2] >>> ***/
321 #include "Everything.h"
323 /*** <<< STAT-DEFS [Choice2] >>> ***/
325 asn_TYPE_member_t asn_MBR_Choice2_1[] = {
326 { ATF_NOFLAGS, 0, offsetof(struct Choice2, choice.typeref),
327 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
328 .tag_mode = -1, /* IMPLICIT tag at current level */
329 .type = &asn_DEF_TypeRef,
331 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
332 0, 0, /* No default value */
335 { ATF_POINTER, 0, offsetof(struct Choice2, choice.some3),
336 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
337 .tag_mode = -1, /* IMPLICIT tag at current level */
338 .type = &asn_DEF_Everything,
340 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
341 0, 0, /* No default value */
345 static const asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
346 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* typeref */
347 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* some3 */
349 asn_CHOICE_specifics_t asn_SPC_Choice2_specs_1 = {
350 sizeof(struct Choice2),
351 offsetof(struct Choice2, _asn_ctx),
352 offsetof(struct Choice2, present),
353 sizeof(((struct Choice2 *)0)->present),
354 .tag2el = asn_MAP_Choice2_tag2el_1,
355 .tag2el_count = 2, /* Count of tags in the map */
357 .first_extension = 1 /* Extensions start */
359 asn_TYPE_descriptor_t asn_DEF_Choice2 = {
363 0, /* No effective tags (pointer) */
364 0, /* No effective tags (count) */
365 0, /* No tags (pointer) */
366 0, /* No tags (count) */
367 { 0, 0, CHOICE_constraint },
369 2, /* Elements count */
370 &asn_SPC_Choice2_specs_1 /* Additional specs */
374 /*** <<< INCLUDES [Choice3] >>> ***/
376 #include <constr_SEQUENCE.h>
377 #include <asn_SEQUENCE_OF.h>
378 #include <constr_SEQUENCE_OF.h>
379 #include <constr_CHOICE.h>
381 /*** <<< DEPS [Choice3] >>> ***/
383 typedef enum Choice3_PR {
384 Choice3_PR_NOTHING, /* No components present */
390 /*** <<< FWD-DECLS [Choice3] >>> ***/
395 /*** <<< TYPE-DECLS [Choice3] >>> ***/
397 typedef struct Choice3 {
401 struct Everything *aa;
403 /* Context for parsing across buffer boundaries */
404 asn_struct_ctx_t _asn_ctx;
406 struct Everything *b;
408 A_SEQUENCE_OF(struct Choice3) list;
410 /* Context for parsing across buffer boundaries */
411 asn_struct_ctx_t _asn_ctx;
415 /* Context for parsing across buffer boundaries */
416 asn_struct_ctx_t _asn_ctx;
419 /*** <<< FUNC-DECLS [Choice3] >>> ***/
421 extern asn_TYPE_descriptor_t asn_DEF_Choice3;
422 extern asn_CHOICE_specifics_t asn_SPC_Choice3_specs_1;
423 extern asn_TYPE_member_t asn_MBR_Choice3_1[3];
425 /*** <<< POST-INCLUDE [Choice3] >>> ***/
427 #include "Everything.h"
430 /*** <<< STAT-DEFS [Choice3] >>> ***/
432 static asn_TYPE_member_t asn_MBR_a_2[] = {
433 { ATF_POINTER, 0, offsetof(struct a, aa),
434 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
435 .tag_mode = -1, /* IMPLICIT tag at current level */
436 .type = &asn_DEF_Everything,
438 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
439 0, 0, /* No default value */
443 static const ber_tlv_tag_t asn_DEF_a_tags_2[] = {
444 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
445 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
447 static const asn_TYPE_tag2member_t asn_MAP_a_tag2el_2[] = {
448 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* aa */
450 static asn_SEQUENCE_specifics_t asn_SPC_a_specs_2 = {
452 offsetof(struct a, _asn_ctx),
453 .tag2el = asn_MAP_a_tag2el_2,
454 .tag2el_count = 1, /* Count of tags in the map */
455 0, 0, 0, /* Optional elements (not needed) */
456 -1, /* First extension addition */
458 static /* Use -fall-defs-global to expose */
459 asn_TYPE_descriptor_t asn_DEF_a_2 = {
464 sizeof(asn_DEF_a_tags_2)
465 /sizeof(asn_DEF_a_tags_2[0]) - 1, /* 1 */
466 asn_DEF_a_tags_2, /* Same as above */
467 sizeof(asn_DEF_a_tags_2)
468 /sizeof(asn_DEF_a_tags_2[0]), /* 2 */
469 { 0, 0, SEQUENCE_constraint },
471 1, /* Elements count */
472 &asn_SPC_a_specs_2 /* Additional specs */
475 static asn_TYPE_member_t asn_MBR_c_5[] = {
477 .tag = -1 /* Ambiguous tag (CHOICE?) */,
479 .type = &asn_DEF_Choice3,
481 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
482 0, 0, /* No default value */
486 static const ber_tlv_tag_t asn_DEF_c_tags_5[] = {
487 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
488 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
490 static asn_SET_OF_specifics_t asn_SPC_c_specs_5 = {
492 offsetof(struct c, _asn_ctx),
493 2, /* XER encoding is XMLValueList */
495 static /* Use -fall-defs-global to expose */
496 asn_TYPE_descriptor_t asn_DEF_c_5 = {
501 sizeof(asn_DEF_c_tags_5)
502 /sizeof(asn_DEF_c_tags_5[0]) - 1, /* 1 */
503 asn_DEF_c_tags_5, /* Same as above */
504 sizeof(asn_DEF_c_tags_5)
505 /sizeof(asn_DEF_c_tags_5[0]), /* 2 */
506 { 0, 0, SEQUENCE_OF_constraint },
508 1, /* Single element */
509 &asn_SPC_c_specs_5 /* Additional specs */
512 asn_TYPE_member_t asn_MBR_Choice3_1[] = {
513 { ATF_NOFLAGS, 0, offsetof(struct Choice3, choice.a),
514 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
516 .type = &asn_DEF_a_2,
518 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
519 0, 0, /* No default value */
522 { ATF_POINTER, 0, offsetof(struct Choice3, choice.b),
523 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
524 .tag_mode = -1, /* IMPLICIT tag at current level */
525 .type = &asn_DEF_Everything,
527 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
528 0, 0, /* No default value */
531 { ATF_NOFLAGS, 0, offsetof(struct Choice3, choice.c),
532 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
534 .type = &asn_DEF_c_5,
536 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
537 0, 0, /* No default value */
541 static const asn_TYPE_tag2member_t asn_MAP_Choice3_tag2el_1[] = {
542 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
543 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* b */
544 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* c */
546 asn_CHOICE_specifics_t asn_SPC_Choice3_specs_1 = {
547 sizeof(struct Choice3),
548 offsetof(struct Choice3, _asn_ctx),
549 offsetof(struct Choice3, present),
550 sizeof(((struct Choice3 *)0)->present),
551 .tag2el = asn_MAP_Choice3_tag2el_1,
552 .tag2el_count = 3, /* Count of tags in the map */
554 .first_extension = -1 /* Extensions start */
556 asn_TYPE_descriptor_t asn_DEF_Choice3 = {
560 0, /* No effective tags (pointer) */
561 0, /* No effective tags (count) */
562 0, /* No tags (pointer) */
563 0, /* No tags (count) */
564 { 0, 0, CHOICE_constraint },
566 3, /* Elements count */
567 &asn_SPC_Choice3_specs_1 /* Additional specs */
571 /*** <<< INCLUDES [Set] >>> ***/
573 #include <asn_SET_OF.h>
575 #include <constr_SEQUENCE.h>
576 #include <constr_SET_OF.h>
578 /*** <<< FWD-DECLS [Set] >>> ***/
583 /*** <<< FWD-DEFS [Set] >>> ***/
585 typedef struct Member {
588 struct Sequence *seq;
589 struct Set *set2; /* OPTIONAL */
591 * This type is extensible,
592 * possible extensions are below.
596 /* Context for parsing across buffer boundaries */
597 asn_struct_ctx_t _asn_ctx;
600 /*** <<< TYPE-DECLS [Set] >>> ***/
603 A_SET_OF(Member) list;
605 /* Context for parsing across buffer boundaries */
606 asn_struct_ctx_t _asn_ctx;
609 /*** <<< FUNC-DECLS [Set] >>> ***/
611 extern asn_TYPE_descriptor_t asn_DEF_Set;
612 extern asn_SET_OF_specifics_t asn_SPC_Set_specs_1;
613 extern asn_TYPE_member_t asn_MBR_Set_1[1];
615 /*** <<< POST-INCLUDE [Set] >>> ***/
618 #include "Sequence.h"
620 /*** <<< STAT-DEFS [Set] >>> ***/
622 static asn_TYPE_member_t asn_MBR_Member_2[] = {
623 { ATF_NOFLAGS, 0, offsetof(struct Member, Int),
624 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
625 .tag_mode = -1, /* IMPLICIT tag at current level */
626 .type = &asn_DEF_INTEGER,
628 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
629 0, 0, /* No default value */
632 { ATF_POINTER, 0, offsetof(struct Member, set),
633 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
634 .tag_mode = -1, /* IMPLICIT tag at current level */
635 .type = &asn_DEF_Set,
637 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
638 0, 0, /* No default value */
641 { ATF_POINTER, 0, offsetof(struct Member, seq),
642 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
643 .tag_mode = -1, /* IMPLICIT tag at current level */
644 .type = &asn_DEF_Sequence,
646 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
647 0, 0, /* No default value */
650 { ATF_POINTER, 2, offsetof(struct Member, set2),
651 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
652 .tag_mode = -1, /* IMPLICIT tag at current level */
653 .type = &asn_DEF_Set,
655 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
656 0, 0, /* No default value */
659 { ATF_POINTER, 1, offsetof(struct Member, set3),
660 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
661 .tag_mode = -1, /* IMPLICIT tag at current level */
662 .type = &asn_DEF_Set,
664 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
665 0, 0, /* No default value */
669 static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
670 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
672 static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
673 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* int */
674 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* set */
675 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* seq */
676 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* set2 */
677 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* set3 */
679 static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = {
680 sizeof(struct Member),
681 offsetof(struct Member, _asn_ctx),
682 .tag2el = asn_MAP_Member_tag2el_2,
683 .tag2el_count = 5, /* Count of tags in the map */
684 0, 0, 0, /* Optional elements (not needed) */
685 4, /* First extension addition */
687 static /* Use -fall-defs-global to expose */
688 asn_TYPE_descriptor_t asn_DEF_Member_2 = {
692 asn_DEF_Member_tags_2,
693 sizeof(asn_DEF_Member_tags_2)
694 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
695 asn_DEF_Member_tags_2, /* Same as above */
696 sizeof(asn_DEF_Member_tags_2)
697 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
698 { 0, 0, SEQUENCE_constraint },
700 5, /* Elements count */
701 &asn_SPC_Member_specs_2 /* Additional specs */
704 asn_TYPE_member_t asn_MBR_Set_1[] = {
706 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
708 .type = &asn_DEF_Member_2,
710 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
711 0, 0, /* No default value */
715 static const ber_tlv_tag_t asn_DEF_Set_tags_1[] = {
716 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
718 asn_SET_OF_specifics_t asn_SPC_Set_specs_1 = {
720 offsetof(struct Set, _asn_ctx),
721 0, /* XER encoding is XMLDelimitedItemList */
723 asn_TYPE_descriptor_t asn_DEF_Set = {
728 sizeof(asn_DEF_Set_tags_1)
729 /sizeof(asn_DEF_Set_tags_1[0]), /* 1 */
730 asn_DEF_Set_tags_1, /* Same as above */
731 sizeof(asn_DEF_Set_tags_1)
732 /sizeof(asn_DEF_Set_tags_1[0]), /* 1 */
733 { 0, 0, SET_OF_constraint },
735 1, /* Single element */
736 &asn_SPC_Set_specs_1 /* Additional specs */
740 /*** <<< INCLUDES [Sequence] >>> ***/
743 #include <constr_SEQUENCE.h>
745 /*** <<< FWD-DECLS [Sequence] >>> ***/
750 /*** <<< TYPE-DECLS [Sequence] >>> ***/
752 typedef struct Sequence {
754 struct Sequence *seq; /* OPTIONAL */
756 * This type is extensible,
757 * possible extensions are below.
760 struct Set *set; /* OPTIONAL */
762 /* Context for parsing across buffer boundaries */
763 asn_struct_ctx_t _asn_ctx;
766 /*** <<< FUNC-DECLS [Sequence] >>> ***/
768 extern asn_TYPE_descriptor_t asn_DEF_Sequence;
769 extern asn_SEQUENCE_specifics_t asn_SPC_Sequence_specs_1;
770 extern asn_TYPE_member_t asn_MBR_Sequence_1[4];
772 /*** <<< POST-INCLUDE [Sequence] >>> ***/
774 #include "Sequence.h"
777 /*** <<< STAT-DEFS [Sequence] >>> ***/
779 asn_TYPE_member_t asn_MBR_Sequence_1[] = {
780 { ATF_NOFLAGS, 0, offsetof(struct Sequence, a),
781 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
782 .tag_mode = -1, /* IMPLICIT tag at current level */
783 .type = &asn_DEF_INTEGER,
785 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
786 0, 0, /* No default value */
789 { ATF_POINTER, 3, offsetof(struct Sequence, seq),
790 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
791 .tag_mode = -1, /* IMPLICIT tag at current level */
792 .type = &asn_DEF_Sequence,
794 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
795 0, 0, /* No default value */
798 { ATF_POINTER, 2, offsetof(struct Sequence, b),
799 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
800 .tag_mode = -1, /* IMPLICIT tag at current level */
801 .type = &asn_DEF_INTEGER,
803 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
804 0, 0, /* No default value */
807 { ATF_POINTER, 1, offsetof(struct Sequence, set),
808 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
809 .tag_mode = -1, /* IMPLICIT tag at current level */
810 .type = &asn_DEF_Set,
812 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
813 0, 0, /* No default value */
817 static const ber_tlv_tag_t asn_DEF_Sequence_tags_1[] = {
818 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
820 static const asn_TYPE_tag2member_t asn_MAP_Sequence_tag2el_1[] = {
821 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
822 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* seq */
823 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* b */
824 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* set */
826 asn_SEQUENCE_specifics_t asn_SPC_Sequence_specs_1 = {
827 sizeof(struct Sequence),
828 offsetof(struct Sequence, _asn_ctx),
829 .tag2el = asn_MAP_Sequence_tag2el_1,
830 .tag2el_count = 4, /* Count of tags in the map */
831 0, 0, 0, /* Optional elements (not needed) */
832 2, /* First extension addition */
834 asn_TYPE_descriptor_t asn_DEF_Sequence = {
838 asn_DEF_Sequence_tags_1,
839 sizeof(asn_DEF_Sequence_tags_1)
840 /sizeof(asn_DEF_Sequence_tags_1[0]), /* 1 */
841 asn_DEF_Sequence_tags_1, /* Same as above */
842 sizeof(asn_DEF_Sequence_tags_1)
843 /sizeof(asn_DEF_Sequence_tags_1[0]), /* 1 */
844 { 0, 0, SEQUENCE_constraint },
846 4, /* Elements count */
847 &asn_SPC_Sequence_specs_1 /* Additional specs */
851 /*** <<< INCLUDES [TypeRef] >>> ***/
853 #include "Sequence.h"
855 /*** <<< TYPE-DECLS [TypeRef] >>> ***/
857 typedef Sequence_t TypeRef_t;
859 /*** <<< FUNC-DECLS [TypeRef] >>> ***/
861 extern asn_TYPE_descriptor_t asn_DEF_TypeRef;
862 asn_struct_free_f TypeRef_free;
863 asn_struct_print_f TypeRef_print;
864 asn_constr_check_f TypeRef_constraint;
865 ber_type_decoder_f TypeRef_decode_ber;
866 der_type_encoder_f TypeRef_encode_der;
867 xer_type_decoder_f TypeRef_decode_xer;
868 xer_type_encoder_f TypeRef_encode_xer;
870 /*** <<< CODE [TypeRef] >>> ***/
873 * This type is implemented using Sequence,
874 * so here we adjust the DEF accordingly.
877 /*** <<< STAT-DEFS [TypeRef] >>> ***/
879 static const ber_tlv_tag_t asn_DEF_TypeRef_tags_1[] = {
880 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
882 asn_TYPE_descriptor_t asn_DEF_TypeRef = {
886 asn_DEF_TypeRef_tags_1,
887 sizeof(asn_DEF_TypeRef_tags_1)
888 /sizeof(asn_DEF_TypeRef_tags_1[0]), /* 1 */
889 asn_DEF_TypeRef_tags_1, /* Same as above */
890 sizeof(asn_DEF_TypeRef_tags_1)
891 /sizeof(asn_DEF_TypeRef_tags_1[0]), /* 1 */
892 { 0, 0, SEQUENCE_constraint },
894 4, /* Elements count */
895 &asn_SPC_Sequence_specs_1 /* Additional specs */
899 /*** <<< INCLUDES [Alpha] >>> ***/
901 #include <constr_SEQUENCE.h>
903 /*** <<< FWD-DECLS [Alpha] >>> ***/
907 /*** <<< TYPE-DECLS [Alpha] >>> ***/
909 typedef struct Alpha {
912 struct Beta *b; /* OPTIONAL */
914 /* Context for parsing across buffer boundaries */
915 asn_struct_ctx_t _asn_ctx;
918 /* Context for parsing across buffer boundaries */
919 asn_struct_ctx_t _asn_ctx;
922 /*** <<< FUNC-DECLS [Alpha] >>> ***/
924 extern asn_TYPE_descriptor_t asn_DEF_Alpha;
925 extern asn_SEQUENCE_specifics_t asn_SPC_Alpha_specs_1;
926 extern asn_TYPE_member_t asn_MBR_Alpha_1[2];
928 /*** <<< POST-INCLUDE [Alpha] >>> ***/
932 /*** <<< STAT-DEFS [Alpha] >>> ***/
934 static asn_TYPE_member_t asn_MBR_b_3[] = {
935 { ATF_POINTER, 1, offsetof(struct b, b),
936 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
937 .tag_mode = -1, /* IMPLICIT tag at current level */
938 .type = &asn_DEF_Beta,
940 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
941 0, 0, /* No default value */
945 static const ber_tlv_tag_t asn_DEF_b_tags_3[] = {
946 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
947 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
949 static const asn_TYPE_tag2member_t asn_MAP_b_tag2el_3[] = {
950 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* b */
952 static asn_SEQUENCE_specifics_t asn_SPC_b_specs_3 = {
954 offsetof(struct b, _asn_ctx),
955 .tag2el = asn_MAP_b_tag2el_3,
956 .tag2el_count = 1, /* Count of tags in the map */
957 0, 0, 0, /* Optional elements (not needed) */
958 -1, /* First extension addition */
960 static /* Use -fall-defs-global to expose */
961 asn_TYPE_descriptor_t asn_DEF_b_3 = {
966 sizeof(asn_DEF_b_tags_3)
967 /sizeof(asn_DEF_b_tags_3[0]) - 1, /* 1 */
968 asn_DEF_b_tags_3, /* Same as above */
969 sizeof(asn_DEF_b_tags_3)
970 /sizeof(asn_DEF_b_tags_3[0]), /* 2 */
971 { 0, 0, SEQUENCE_constraint },
973 1, /* Elements count */
974 &asn_SPC_b_specs_3 /* Additional specs */
977 asn_TYPE_member_t asn_MBR_Alpha_1[] = {
978 { ATF_POINTER, 0, offsetof(struct Alpha, a),
979 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
980 .tag_mode = -1, /* IMPLICIT tag at current level */
981 .type = &asn_DEF_Beta,
983 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
984 0, 0, /* No default value */
987 { ATF_NOFLAGS, 0, offsetof(struct Alpha, b),
988 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
990 .type = &asn_DEF_b_3,
992 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
993 0, 0, /* No default value */
997 static const ber_tlv_tag_t asn_DEF_Alpha_tags_1[] = {
998 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1000 static const asn_TYPE_tag2member_t asn_MAP_Alpha_tag2el_1[] = {
1001 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
1002 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* b */
1004 asn_SEQUENCE_specifics_t asn_SPC_Alpha_specs_1 = {
1005 sizeof(struct Alpha),
1006 offsetof(struct Alpha, _asn_ctx),
1007 .tag2el = asn_MAP_Alpha_tag2el_1,
1008 .tag2el_count = 2, /* Count of tags in the map */
1009 0, 0, 0, /* Optional elements (not needed) */
1010 -1, /* First extension addition */
1012 asn_TYPE_descriptor_t asn_DEF_Alpha = {
1016 asn_DEF_Alpha_tags_1,
1017 sizeof(asn_DEF_Alpha_tags_1)
1018 /sizeof(asn_DEF_Alpha_tags_1[0]), /* 1 */
1019 asn_DEF_Alpha_tags_1, /* Same as above */
1020 sizeof(asn_DEF_Alpha_tags_1)
1021 /sizeof(asn_DEF_Alpha_tags_1[0]), /* 1 */
1022 { 0, 0, SEQUENCE_constraint },
1024 2, /* Elements count */
1025 &asn_SPC_Alpha_specs_1 /* Additional specs */
1029 /*** <<< INCLUDES [Beta] >>> ***/
1031 #include <constr_SEQUENCE.h>
1033 /*** <<< FWD-DECLS [Beta] >>> ***/
1038 /*** <<< TYPE-DECLS [Beta] >>> ***/
1040 typedef struct Beta {
1041 struct Alpha *b; /* OPTIONAL */
1042 struct Gamma *g; /* OPTIONAL */
1044 /* Context for parsing across buffer boundaries */
1045 asn_struct_ctx_t _asn_ctx;
1048 /*** <<< FUNC-DECLS [Beta] >>> ***/
1050 extern asn_TYPE_descriptor_t asn_DEF_Beta;
1051 extern asn_SEQUENCE_specifics_t asn_SPC_Beta_specs_1;
1052 extern asn_TYPE_member_t asn_MBR_Beta_1[2];
1054 /*** <<< POST-INCLUDE [Beta] >>> ***/
1059 /*** <<< STAT-DEFS [Beta] >>> ***/
1061 asn_TYPE_member_t asn_MBR_Beta_1[] = {
1062 { ATF_POINTER, 2, offsetof(struct Beta, b),
1063 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1064 .tag_mode = -1, /* IMPLICIT tag at current level */
1065 .type = &asn_DEF_Alpha,
1067 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1068 0, 0, /* No default value */
1071 { ATF_POINTER, 1, offsetof(struct Beta, g),
1072 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1073 .tag_mode = -1, /* IMPLICIT tag at current level */
1074 .type = &asn_DEF_Gamma,
1076 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1077 0, 0, /* No default value */
1081 static const ber_tlv_tag_t asn_DEF_Beta_tags_1[] = {
1082 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1084 static const asn_TYPE_tag2member_t asn_MAP_Beta_tag2el_1[] = {
1085 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* b */
1086 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* g */
1088 asn_SEQUENCE_specifics_t asn_SPC_Beta_specs_1 = {
1089 sizeof(struct Beta),
1090 offsetof(struct Beta, _asn_ctx),
1091 .tag2el = asn_MAP_Beta_tag2el_1,
1092 .tag2el_count = 2, /* Count of tags in the map */
1093 0, 0, 0, /* Optional elements (not needed) */
1094 -1, /* First extension addition */
1096 asn_TYPE_descriptor_t asn_DEF_Beta = {
1100 asn_DEF_Beta_tags_1,
1101 sizeof(asn_DEF_Beta_tags_1)
1102 /sizeof(asn_DEF_Beta_tags_1[0]), /* 1 */
1103 asn_DEF_Beta_tags_1, /* Same as above */
1104 sizeof(asn_DEF_Beta_tags_1)
1105 /sizeof(asn_DEF_Beta_tags_1[0]), /* 1 */
1106 { 0, 0, SEQUENCE_constraint },
1108 2, /* Elements count */
1109 &asn_SPC_Beta_specs_1 /* Additional specs */
1113 /*** <<< INCLUDES [Gamma] >>> ***/
1115 #include <constr_SEQUENCE.h>
1117 /*** <<< FWD-DECLS [Gamma] >>> ***/
1123 /*** <<< TYPE-DECLS [Gamma] >>> ***/
1125 typedef struct Gamma {
1130 /* Context for parsing across buffer boundaries */
1131 asn_struct_ctx_t _asn_ctx;
1134 /*** <<< FUNC-DECLS [Gamma] >>> ***/
1136 extern asn_TYPE_descriptor_t asn_DEF_Gamma;
1137 extern asn_SEQUENCE_specifics_t asn_SPC_Gamma_specs_1;
1138 extern asn_TYPE_member_t asn_MBR_Gamma_1[3];
1140 /*** <<< POST-INCLUDE [Gamma] >>> ***/
1142 #include "TwoThree.h"
1146 /*** <<< STAT-DEFS [Gamma] >>> ***/
1148 asn_TYPE_member_t asn_MBR_Gamma_1[] = {
1149 { ATF_POINTER, 0, offsetof(struct Gamma, o),
1150 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1151 .tag_mode = -1, /* IMPLICIT tag at current level */
1152 .type = &asn_DEF_TwoThree,
1154 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1155 0, 0, /* No default value */
1158 { ATF_POINTER, 0, offsetof(struct Gamma, a),
1159 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1160 .tag_mode = -1, /* IMPLICIT tag at current level */
1161 .type = &asn_DEF_Alpha,
1163 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1164 0, 0, /* No default value */
1167 { ATF_POINTER, 0, offsetof(struct Gamma, b),
1168 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
1169 .tag_mode = -1, /* IMPLICIT tag at current level */
1170 .type = &asn_DEF_Beta,
1172 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1173 0, 0, /* No default value */
1177 static const ber_tlv_tag_t asn_DEF_Gamma_tags_1[] = {
1178 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1180 static const asn_TYPE_tag2member_t asn_MAP_Gamma_tag2el_1[] = {
1181 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* o */
1182 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* a */
1183 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* b */
1185 asn_SEQUENCE_specifics_t asn_SPC_Gamma_specs_1 = {
1186 sizeof(struct Gamma),
1187 offsetof(struct Gamma, _asn_ctx),
1188 .tag2el = asn_MAP_Gamma_tag2el_1,
1189 .tag2el_count = 3, /* Count of tags in the map */
1190 0, 0, 0, /* Optional elements (not needed) */
1191 -1, /* First extension addition */
1193 asn_TYPE_descriptor_t asn_DEF_Gamma = {
1197 asn_DEF_Gamma_tags_1,
1198 sizeof(asn_DEF_Gamma_tags_1)
1199 /sizeof(asn_DEF_Gamma_tags_1[0]), /* 1 */
1200 asn_DEF_Gamma_tags_1, /* Same as above */
1201 sizeof(asn_DEF_Gamma_tags_1)
1202 /sizeof(asn_DEF_Gamma_tags_1[0]), /* 1 */
1203 { 0, 0, SEQUENCE_constraint },
1205 3, /* Elements count */
1206 &asn_SPC_Gamma_specs_1 /* Additional specs */
1210 /*** <<< INCLUDES [OneTwo] >>> ***/
1212 #include <constr_SET.h>
1214 /*** <<< DEPS [OneTwo] >>> ***/
1218 * Method of determining the components presence
1220 typedef enum OneTwo_PR {
1221 OneTwo_PR_m12, /* Member m12 is present */
1224 /*** <<< FWD-DECLS [OneTwo] >>> ***/
1228 /*** <<< TYPE-DECLS [OneTwo] >>> ***/
1230 typedef struct OneTwo {
1231 struct TwoThree *m12;
1233 /* Presence bitmask: ASN_SET_ISPRESENT(pOneTwo, OneTwo_PR_x) */
1234 unsigned int _presence_map
1235 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
1237 /* Context for parsing across buffer boundaries */
1238 asn_struct_ctx_t _asn_ctx;
1241 /*** <<< FUNC-DECLS [OneTwo] >>> ***/
1243 extern asn_TYPE_descriptor_t asn_DEF_OneTwo;
1244 extern asn_SET_specifics_t asn_SPC_OneTwo_specs_1;
1245 extern asn_TYPE_member_t asn_MBR_OneTwo_1[1];
1247 /*** <<< POST-INCLUDE [OneTwo] >>> ***/
1249 #include "TwoThree.h"
1251 /*** <<< STAT-DEFS [OneTwo] >>> ***/
1253 asn_TYPE_member_t asn_MBR_OneTwo_1[] = {
1254 { ATF_POINTER, 0, offsetof(struct OneTwo, m12),
1255 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1256 .tag_mode = -1, /* IMPLICIT tag at current level */
1257 .type = &asn_DEF_TwoThree,
1259 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1260 0, 0, /* No default value */
1264 static const ber_tlv_tag_t asn_DEF_OneTwo_tags_1[] = {
1265 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1267 static const asn_TYPE_tag2member_t asn_MAP_OneTwo_tag2el_1[] = {
1268 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* m12 */
1270 static const uint8_t asn_MAP_OneTwo_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
1273 asn_SET_specifics_t asn_SPC_OneTwo_specs_1 = {
1274 sizeof(struct OneTwo),
1275 offsetof(struct OneTwo, _asn_ctx),
1276 offsetof(struct OneTwo, _presence_map),
1277 .tag2el = asn_MAP_OneTwo_tag2el_1,
1278 .tag2el_count = 1, /* Count of tags in the map */
1279 asn_MAP_OneTwo_tag2el_1, /* Same as above */
1280 1, /* Count of tags in the CXER map */
1281 0, /* Whether extensible */
1282 (const unsigned int *)asn_MAP_OneTwo_mmap_1 /* Mandatory elements map */
1284 asn_TYPE_descriptor_t asn_DEF_OneTwo = {
1288 asn_DEF_OneTwo_tags_1,
1289 sizeof(asn_DEF_OneTwo_tags_1)
1290 /sizeof(asn_DEF_OneTwo_tags_1[0]), /* 1 */
1291 asn_DEF_OneTwo_tags_1, /* Same as above */
1292 sizeof(asn_DEF_OneTwo_tags_1)
1293 /sizeof(asn_DEF_OneTwo_tags_1[0]), /* 1 */
1294 { 0, 0, SET_constraint },
1296 1, /* Elements count */
1297 &asn_SPC_OneTwo_specs_1 /* Additional specs */
1301 /*** <<< INCLUDES [TwoThree] >>> ***/
1303 #include <constr_SET.h>
1305 /*** <<< DEPS [TwoThree] >>> ***/
1309 * Method of determining the components presence
1311 typedef enum TwoThree_PR {
1312 TwoThree_PR_m23, /* Member m23 is present */
1315 /*** <<< FWD-DECLS [TwoThree] >>> ***/
1319 /*** <<< TYPE-DECLS [TwoThree] >>> ***/
1321 typedef struct TwoThree {
1322 struct ThreeOne *m23;
1324 /* Presence bitmask: ASN_SET_ISPRESENT(pTwoThree, TwoThree_PR_x) */
1325 unsigned int _presence_map
1326 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
1328 /* Context for parsing across buffer boundaries */
1329 asn_struct_ctx_t _asn_ctx;
1332 /*** <<< FUNC-DECLS [TwoThree] >>> ***/
1334 extern asn_TYPE_descriptor_t asn_DEF_TwoThree;
1335 extern asn_SET_specifics_t asn_SPC_TwoThree_specs_1;
1336 extern asn_TYPE_member_t asn_MBR_TwoThree_1[1];
1338 /*** <<< POST-INCLUDE [TwoThree] >>> ***/
1340 #include "ThreeOne.h"
1342 /*** <<< STAT-DEFS [TwoThree] >>> ***/
1344 asn_TYPE_member_t asn_MBR_TwoThree_1[] = {
1345 { ATF_POINTER, 0, offsetof(struct TwoThree, m23),
1346 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1347 .tag_mode = -1, /* IMPLICIT tag at current level */
1348 .type = &asn_DEF_ThreeOne,
1350 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1351 0, 0, /* No default value */
1355 static const ber_tlv_tag_t asn_DEF_TwoThree_tags_1[] = {
1356 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1358 static const asn_TYPE_tag2member_t asn_MAP_TwoThree_tag2el_1[] = {
1359 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* m23 */
1361 static const uint8_t asn_MAP_TwoThree_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
1364 asn_SET_specifics_t asn_SPC_TwoThree_specs_1 = {
1365 sizeof(struct TwoThree),
1366 offsetof(struct TwoThree, _asn_ctx),
1367 offsetof(struct TwoThree, _presence_map),
1368 .tag2el = asn_MAP_TwoThree_tag2el_1,
1369 .tag2el_count = 1, /* Count of tags in the map */
1370 asn_MAP_TwoThree_tag2el_1, /* Same as above */
1371 1, /* Count of tags in the CXER map */
1372 0, /* Whether extensible */
1373 (const unsigned int *)asn_MAP_TwoThree_mmap_1 /* Mandatory elements map */
1375 asn_TYPE_descriptor_t asn_DEF_TwoThree = {
1379 asn_DEF_TwoThree_tags_1,
1380 sizeof(asn_DEF_TwoThree_tags_1)
1381 /sizeof(asn_DEF_TwoThree_tags_1[0]), /* 1 */
1382 asn_DEF_TwoThree_tags_1, /* Same as above */
1383 sizeof(asn_DEF_TwoThree_tags_1)
1384 /sizeof(asn_DEF_TwoThree_tags_1[0]), /* 1 */
1385 { 0, 0, SET_constraint },
1387 1, /* Elements count */
1388 &asn_SPC_TwoThree_specs_1 /* Additional specs */
1392 /*** <<< INCLUDES [ThreeOne] >>> ***/
1394 #include <constr_SET.h>
1396 /*** <<< DEPS [ThreeOne] >>> ***/
1400 * Method of determining the components presence
1402 typedef enum ThreeOne_PR {
1403 ThreeOne_PR_m31, /* Member m31 is present */
1404 ThreeOne_PR_g, /* Member g is present */
1407 /*** <<< FWD-DECLS [ThreeOne] >>> ***/
1412 /*** <<< TYPE-DECLS [ThreeOne] >>> ***/
1414 typedef struct ThreeOne {
1418 /* Presence bitmask: ASN_SET_ISPRESENT(pThreeOne, ThreeOne_PR_x) */
1419 unsigned int _presence_map
1420 [((2+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
1422 /* Context for parsing across buffer boundaries */
1423 asn_struct_ctx_t _asn_ctx;
1426 /*** <<< FUNC-DECLS [ThreeOne] >>> ***/
1428 extern asn_TYPE_descriptor_t asn_DEF_ThreeOne;
1429 extern asn_SET_specifics_t asn_SPC_ThreeOne_specs_1;
1430 extern asn_TYPE_member_t asn_MBR_ThreeOne_1[2];
1432 /*** <<< POST-INCLUDE [ThreeOne] >>> ***/
1437 /*** <<< STAT-DEFS [ThreeOne] >>> ***/
1439 asn_TYPE_member_t asn_MBR_ThreeOne_1[] = {
1440 { ATF_POINTER, 0, offsetof(struct ThreeOne, m31),
1441 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1442 .tag_mode = -1, /* IMPLICIT tag at current level */
1443 .type = &asn_DEF_OneTwo,
1445 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1446 0, 0, /* No default value */
1449 { ATF_POINTER, 0, offsetof(struct ThreeOne, g),
1450 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1451 .tag_mode = -1, /* IMPLICIT tag at current level */
1452 .type = &asn_DEF_Gamma,
1454 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1455 0, 0, /* No default value */
1459 static const ber_tlv_tag_t asn_DEF_ThreeOne_tags_1[] = {
1460 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1462 static const asn_TYPE_tag2member_t asn_MAP_ThreeOne_tag2el_1[] = {
1463 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* m31 */
1464 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* g */
1466 static const uint8_t asn_MAP_ThreeOne_mmap_1[(2 + (8 * sizeof(unsigned int)) - 1) / 8] = {
1469 asn_SET_specifics_t asn_SPC_ThreeOne_specs_1 = {
1470 sizeof(struct ThreeOne),
1471 offsetof(struct ThreeOne, _asn_ctx),
1472 offsetof(struct ThreeOne, _presence_map),
1473 .tag2el = asn_MAP_ThreeOne_tag2el_1,
1474 .tag2el_count = 2, /* Count of tags in the map */
1475 asn_MAP_ThreeOne_tag2el_1, /* Same as above */
1476 2, /* Count of tags in the CXER map */
1477 0, /* Whether extensible */
1478 (const unsigned int *)asn_MAP_ThreeOne_mmap_1 /* Mandatory elements map */
1480 asn_TYPE_descriptor_t asn_DEF_ThreeOne = {
1484 asn_DEF_ThreeOne_tags_1,
1485 sizeof(asn_DEF_ThreeOne_tags_1)
1486 /sizeof(asn_DEF_ThreeOne_tags_1[0]), /* 1 */
1487 asn_DEF_ThreeOne_tags_1, /* Same as above */
1488 sizeof(asn_DEF_ThreeOne_tags_1)
1489 /sizeof(asn_DEF_ThreeOne_tags_1[0]), /* 1 */
1490 { 0, 0, SET_constraint },
1492 2, /* Elements count */
1493 &asn_SPC_ThreeOne_specs_1 /* Additional specs */