blob: 8919d9fc15566cbacf0500f0e2a3b073a36ebc6e [file] [log] [blame]
Lev Walkincee931e2005-08-16 16:56:59 +00001
2/*** <<< INCLUDES [Everything] >>> ***/
3
Lev Walkin22b5ed42006-09-13 02:51:20 +00004#include "Set.h"
5#include "Alpha.h"
6#include "Beta.h"
7#include "Gamma.h"
8#include "OneTwo.h"
9#include "TwoThree.h"
10#include "ThreeOne.h"
Lev Walkincee931e2005-08-16 16:56:59 +000011#include <constr_SEQUENCE.h>
12
Lev Walkinb85a8132005-08-18 13:38:19 +000013/*** <<< FWD-DECLS [Everything] >>> ***/
14
15struct Choice1;
16struct Choice2;
17struct Choice3;
18
Lev Walkincee931e2005-08-16 16:56:59 +000019/*** <<< TYPE-DECLS [Everything] >>> ***/
20
21typedef struct Everything {
Lev Walkinb85a8132005-08-18 13:38:19 +000022 struct Choice1 *ch1;
23 struct Choice2 *ch2;
24 struct Choice3 *ch3;
Lev Walkincee931e2005-08-16 16:56:59 +000025 Set_t set;
Lev Walkinb85a8132005-08-18 13:38:19 +000026 Alpha_t a;
27 Beta_t b;
28 Gamma_t g;
29 OneTwo_t ot;
30 TwoThree_t tt;
31 ThreeOne_t to;
Lev Walkincee931e2005-08-16 16:56:59 +000032
33 /* Context for parsing across buffer boundaries */
34 asn_struct_ctx_t _asn_ctx;
35} Everything_t;
36
37/*** <<< FUNC-DECLS [Everything] >>> ***/
38
39extern asn_TYPE_descriptor_t asn_DEF_Everything;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080040extern asn_SEQUENCE_specifics_t asn_SPC_Everything_specs_1;
41extern asn_TYPE_member_t asn_MBR_Everything_1[10];
Lev Walkincee931e2005-08-16 16:56:59 +000042
Lev Walkinb85a8132005-08-18 13:38:19 +000043/*** <<< POST-INCLUDE [Everything] >>> ***/
44
Lev Walkin22b5ed42006-09-13 02:51:20 +000045#include "Choice1.h"
46#include "Choice2.h"
47#include "Choice3.h"
Lev Walkinb85a8132005-08-18 13:38:19 +000048
Lev Walkincee931e2005-08-16 16:56:59 +000049/*** <<< STAT-DEFS [Everything] >>> ***/
50
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080051asn_TYPE_member_t asn_MBR_Everything_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +000052 { ATF_POINTER, 0, offsetof(struct Everything, ch1),
Lev Walkincee931e2005-08-16 16:56:59 +000053 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
54 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +000055 .type = &asn_DEF_Choice1,
Lev Walkincee931e2005-08-16 16:56:59 +000056 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040057 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000058 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
59 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +000060 .name = "ch1"
61 },
Lev Walkinb85a8132005-08-18 13:38:19 +000062 { ATF_POINTER, 0, offsetof(struct Everything, ch2),
Lev Walkincee931e2005-08-16 16:56:59 +000063 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
64 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +000065 .type = &asn_DEF_Choice2,
Lev Walkincee931e2005-08-16 16:56:59 +000066 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040067 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000068 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
69 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +000070 .name = "ch2"
71 },
Lev Walkinb85a8132005-08-18 13:38:19 +000072 { ATF_POINTER, 0, offsetof(struct Everything, ch3),
Lev Walkincee931e2005-08-16 16:56:59 +000073 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
Lev Walkinb85a8132005-08-18 13:38:19 +000074 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +000075 .type = &asn_DEF_Choice3,
Lev Walkinb85a8132005-08-18 13:38:19 +000076 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040077 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000078 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
79 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +000080 .name = "ch3"
81 },
82 { ATF_NOFLAGS, 0, offsetof(struct Everything, set),
83 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
Lev Walkincee931e2005-08-16 16:56:59 +000084 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +000085 .type = &asn_DEF_Set,
Lev Walkincee931e2005-08-16 16:56:59 +000086 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040087 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000088 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
89 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +000090 .name = "set"
91 },
Lev Walkinb85a8132005-08-18 13:38:19 +000092 { ATF_NOFLAGS, 0, offsetof(struct Everything, a),
93 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
94 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +000095 .type = &asn_DEF_Alpha,
Lev Walkinb85a8132005-08-18 13:38:19 +000096 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040097 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000098 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
99 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000100 .name = "a"
101 },
102 { ATF_NOFLAGS, 0, offsetof(struct Everything, b),
103 .tag = (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
104 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000105 .type = &asn_DEF_Beta,
Lev Walkinb85a8132005-08-18 13:38:19 +0000106 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400107 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000108 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
109 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000110 .name = "b"
111 },
112 { ATF_NOFLAGS, 0, offsetof(struct Everything, g),
113 .tag = (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
114 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000115 .type = &asn_DEF_Gamma,
Lev Walkinb85a8132005-08-18 13:38:19 +0000116 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400117 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000118 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
119 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000120 .name = "g"
121 },
122 { ATF_NOFLAGS, 0, offsetof(struct Everything, ot),
123 .tag = (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
124 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000125 .type = &asn_DEF_OneTwo,
Lev Walkinb85a8132005-08-18 13:38:19 +0000126 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400127 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000128 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
129 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000130 .name = "ot"
131 },
132 { ATF_NOFLAGS, 0, offsetof(struct Everything, tt),
133 .tag = (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
134 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000135 .type = &asn_DEF_TwoThree,
Lev Walkinb85a8132005-08-18 13:38:19 +0000136 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400137 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000138 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
139 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000140 .name = "tt"
141 },
142 { ATF_NOFLAGS, 0, offsetof(struct Everything, to),
143 .tag = (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
144 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000145 .type = &asn_DEF_ThreeOne,
Lev Walkinb85a8132005-08-18 13:38:19 +0000146 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400147 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000148 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
149 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000150 .name = "to"
151 },
Lev Walkincee931e2005-08-16 16:56:59 +0000152};
Lev Walkina7591b52014-10-12 18:37:35 -0700153static const ber_tlv_tag_t asn_DEF_Everything_tags_1[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000154 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
155};
Lev Walkina7591b52014-10-12 18:37:35 -0700156static const asn_TYPE_tag2member_t asn_MAP_Everything_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700157 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ch1 */
158 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ch2 */
159 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ch3 */
160 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* set */
161 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* a */
162 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* b */
163 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* g */
164 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* ot */
165 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* tt */
166 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 } /* to */
Lev Walkincee931e2005-08-16 16:56:59 +0000167};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800168asn_SEQUENCE_specifics_t asn_SPC_Everything_specs_1 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000169 sizeof(struct Everything),
170 offsetof(struct Everything, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +0000171 asn_MAP_Everything_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +0000172 10, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000173 0, 0, 0, /* Optional elements (not needed) */
Lev Walkincee931e2005-08-16 16:56:59 +0000174 -1, /* Start extensions */
175 -1 /* Stop extensions */
176};
177asn_TYPE_descriptor_t asn_DEF_Everything = {
178 "Everything",
179 "Everything",
180 SEQUENCE_free,
181 SEQUENCE_print,
182 SEQUENCE_constraint,
183 SEQUENCE_decode_ber,
184 SEQUENCE_encode_der,
185 SEQUENCE_decode_xer,
186 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700187 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400188 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000189 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000190 asn_DEF_Everything_tags_1,
191 sizeof(asn_DEF_Everything_tags_1)
192 /sizeof(asn_DEF_Everything_tags_1[0]), /* 1 */
193 asn_DEF_Everything_tags_1, /* Same as above */
194 sizeof(asn_DEF_Everything_tags_1)
195 /sizeof(asn_DEF_Everything_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400196 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000197 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000198 asn_MBR_Everything_1,
Lev Walkinb85a8132005-08-18 13:38:19 +0000199 10, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000200 &asn_SPC_Everything_specs_1 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000201};
202
203
204/*** <<< INCLUDES [Choice1] >>> ***/
205
Lev Walkincee931e2005-08-16 16:56:59 +0000206#include <constr_CHOICE.h>
207
208/*** <<< DEPS [Choice1] >>> ***/
209
210typedef enum Choice1_PR {
211 Choice1_PR_NOTHING, /* No components present */
212 Choice1_PR_something,
213 /* Extensions may appear below */
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000214 Choice1_PR_some2
Lev Walkincee931e2005-08-16 16:56:59 +0000215} Choice1_PR;
216
Lev Walkinb85a8132005-08-18 13:38:19 +0000217/*** <<< FWD-DECLS [Choice1] >>> ***/
218
219struct Everything;
220
Lev Walkincee931e2005-08-16 16:56:59 +0000221/*** <<< TYPE-DECLS [Choice1] >>> ***/
222
223typedef struct Choice1 {
224 Choice1_PR present;
225 union Choice1_u {
Lev Walkinb85a8132005-08-18 13:38:19 +0000226 struct Everything *something;
Lev Walkincee931e2005-08-16 16:56:59 +0000227 /*
228 * This type is extensible,
229 * possible extensions are below.
230 */
Lev Walkinb85a8132005-08-18 13:38:19 +0000231 struct Everything *some2;
Lev Walkincee931e2005-08-16 16:56:59 +0000232 } choice;
233
234 /* Context for parsing across buffer boundaries */
235 asn_struct_ctx_t _asn_ctx;
236} Choice1_t;
237
238/*** <<< FUNC-DECLS [Choice1] >>> ***/
239
240extern asn_TYPE_descriptor_t asn_DEF_Choice1;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800241extern asn_CHOICE_specifics_t asn_SPC_Choice1_specs_1;
242extern asn_TYPE_member_t asn_MBR_Choice1_1[2];
Lev Walkincee931e2005-08-16 16:56:59 +0000243
Lev Walkinb85a8132005-08-18 13:38:19 +0000244/*** <<< POST-INCLUDE [Choice1] >>> ***/
245
Lev Walkin22b5ed42006-09-13 02:51:20 +0000246#include "Everything.h"
Lev Walkinb85a8132005-08-18 13:38:19 +0000247
Lev Walkincee931e2005-08-16 16:56:59 +0000248/*** <<< STAT-DEFS [Choice1] >>> ***/
249
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800250asn_TYPE_member_t asn_MBR_Choice1_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000251 { ATF_POINTER, 0, offsetof(struct Choice1, choice.something),
Lev Walkincee931e2005-08-16 16:56:59 +0000252 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
253 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000254 .type = &asn_DEF_Everything,
Lev Walkincee931e2005-08-16 16:56:59 +0000255 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400256 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000257 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
258 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000259 .name = "something"
260 },
Lev Walkinb85a8132005-08-18 13:38:19 +0000261 { ATF_POINTER, 0, offsetof(struct Choice1, choice.some2),
Lev Walkincee931e2005-08-16 16:56:59 +0000262 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
263 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000264 .type = &asn_DEF_Everything,
Lev Walkincee931e2005-08-16 16:56:59 +0000265 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400266 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000267 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
268 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000269 .name = "some2"
270 },
271};
Lev Walkina7591b52014-10-12 18:37:35 -0700272static const asn_TYPE_tag2member_t asn_MAP_Choice1_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700273 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* something */
274 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* some2 */
Lev Walkincee931e2005-08-16 16:56:59 +0000275};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800276asn_CHOICE_specifics_t asn_SPC_Choice1_specs_1 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000277 sizeof(struct Choice1),
278 offsetof(struct Choice1, _asn_ctx),
279 offsetof(struct Choice1, present),
280 sizeof(((struct Choice1 *)0)->present),
Lev Walkin59b176e2005-11-26 11:25:14 +0000281 asn_MAP_Choice1_tag2el_1,
Lev Walkincee931e2005-08-16 16:56:59 +0000282 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000283 .canonical_order = 0,
284 .ext_start = 1 /* Extensions start */
Lev Walkincee931e2005-08-16 16:56:59 +0000285};
286asn_TYPE_descriptor_t asn_DEF_Choice1 = {
287 "Choice1",
288 "Choice1",
289 CHOICE_free,
290 CHOICE_print,
291 CHOICE_constraint,
292 CHOICE_decode_ber,
293 CHOICE_encode_der,
294 CHOICE_decode_xer,
295 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700296 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400297 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000298 CHOICE_outmost_tag,
299 0, /* No effective tags (pointer) */
300 0, /* No effective tags (count) */
301 0, /* No tags (pointer) */
302 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400303 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000304 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000305 asn_MBR_Choice1_1,
306 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000307 &asn_SPC_Choice1_specs_1 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000308};
309
310
311/*** <<< INCLUDES [Choice2] >>> ***/
312
Lev Walkin22b5ed42006-09-13 02:51:20 +0000313#include "TypeRef.h"
Lev Walkincee931e2005-08-16 16:56:59 +0000314#include <constr_CHOICE.h>
315
316/*** <<< DEPS [Choice2] >>> ***/
317
318typedef enum Choice2_PR {
319 Choice2_PR_NOTHING, /* No components present */
Lev Walkinb85a8132005-08-18 13:38:19 +0000320 Choice2_PR_typeref,
Lev Walkincee931e2005-08-16 16:56:59 +0000321 /* Extensions may appear below */
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000322 Choice2_PR_some3
Lev Walkincee931e2005-08-16 16:56:59 +0000323} Choice2_PR;
324
Lev Walkinb85a8132005-08-18 13:38:19 +0000325/*** <<< FWD-DECLS [Choice2] >>> ***/
326
327struct Everything;
328
Lev Walkincee931e2005-08-16 16:56:59 +0000329/*** <<< TYPE-DECLS [Choice2] >>> ***/
330
331typedef struct Choice2 {
332 Choice2_PR present;
333 union Choice2_u {
Lev Walkinb85a8132005-08-18 13:38:19 +0000334 TypeRef_t typeref;
Lev Walkincee931e2005-08-16 16:56:59 +0000335 /*
336 * This type is extensible,
337 * possible extensions are below.
338 */
Lev Walkinb85a8132005-08-18 13:38:19 +0000339 struct Everything *some3;
Lev Walkincee931e2005-08-16 16:56:59 +0000340 } choice;
341
342 /* Context for parsing across buffer boundaries */
343 asn_struct_ctx_t _asn_ctx;
344} Choice2_t;
345
346/*** <<< FUNC-DECLS [Choice2] >>> ***/
347
348extern asn_TYPE_descriptor_t asn_DEF_Choice2;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800349extern asn_CHOICE_specifics_t asn_SPC_Choice2_specs_1;
350extern asn_TYPE_member_t asn_MBR_Choice2_1[2];
Lev Walkincee931e2005-08-16 16:56:59 +0000351
Lev Walkinb85a8132005-08-18 13:38:19 +0000352/*** <<< POST-INCLUDE [Choice2] >>> ***/
353
Lev Walkin22b5ed42006-09-13 02:51:20 +0000354#include "Everything.h"
Lev Walkinb85a8132005-08-18 13:38:19 +0000355
Lev Walkincee931e2005-08-16 16:56:59 +0000356/*** <<< STAT-DEFS [Choice2] >>> ***/
357
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800358asn_TYPE_member_t asn_MBR_Choice2_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000359 { ATF_NOFLAGS, 0, offsetof(struct Choice2, choice.typeref),
Lev Walkincee931e2005-08-16 16:56:59 +0000360 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
361 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000362 .type = &asn_DEF_TypeRef,
Lev Walkinb85a8132005-08-18 13:38:19 +0000363 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400364 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000365 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
366 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000367 .name = "typeref"
368 },
369 { ATF_POINTER, 0, offsetof(struct Choice2, choice.some3),
370 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
371 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000372 .type = &asn_DEF_Everything,
Lev Walkincee931e2005-08-16 16:56:59 +0000373 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400374 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000375 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
376 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000377 .name = "some3"
378 },
379};
Lev Walkina7591b52014-10-12 18:37:35 -0700380static const asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700381 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* typeref */
382 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* some3 */
Lev Walkincee931e2005-08-16 16:56:59 +0000383};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800384asn_CHOICE_specifics_t asn_SPC_Choice2_specs_1 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000385 sizeof(struct Choice2),
386 offsetof(struct Choice2, _asn_ctx),
387 offsetof(struct Choice2, present),
388 sizeof(((struct Choice2 *)0)->present),
Lev Walkin59b176e2005-11-26 11:25:14 +0000389 asn_MAP_Choice2_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +0000390 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000391 .canonical_order = 0,
392 .ext_start = 1 /* Extensions start */
Lev Walkincee931e2005-08-16 16:56:59 +0000393};
394asn_TYPE_descriptor_t asn_DEF_Choice2 = {
395 "Choice2",
396 "Choice2",
397 CHOICE_free,
398 CHOICE_print,
399 CHOICE_constraint,
400 CHOICE_decode_ber,
401 CHOICE_encode_der,
402 CHOICE_decode_xer,
403 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700404 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400405 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000406 CHOICE_outmost_tag,
407 0, /* No effective tags (pointer) */
408 0, /* No effective tags (count) */
409 0, /* No tags (pointer) */
410 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400411 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000412 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000413 asn_MBR_Choice2_1,
Lev Walkinb85a8132005-08-18 13:38:19 +0000414 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000415 &asn_SPC_Choice2_specs_1 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000416};
417
418
Lev Walkinb85a8132005-08-18 13:38:19 +0000419/*** <<< INCLUDES [Choice3] >>> ***/
420
421#include <constr_SEQUENCE.h>
422#include <asn_SEQUENCE_OF.h>
423#include <constr_SEQUENCE_OF.h>
424#include <constr_CHOICE.h>
425
426/*** <<< DEPS [Choice3] >>> ***/
427
428typedef enum Choice3_PR {
429 Choice3_PR_NOTHING, /* No components present */
430 Choice3_PR_a,
431 Choice3_PR_b,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000432 Choice3_PR_c
Lev Walkinb85a8132005-08-18 13:38:19 +0000433} Choice3_PR;
434
435/*** <<< FWD-DECLS [Choice3] >>> ***/
436
437struct Everything;
438struct Choice3;
439
440/*** <<< TYPE-DECLS [Choice3] >>> ***/
441
442typedef struct Choice3 {
443 Choice3_PR present;
444 union Choice3_u {
445 struct a {
446 struct Everything *aa;
447
448 /* Context for parsing across buffer boundaries */
449 asn_struct_ctx_t _asn_ctx;
450 } a;
451 struct Everything *b;
452 struct c {
453 A_SEQUENCE_OF(struct Choice3) list;
454
455 /* Context for parsing across buffer boundaries */
456 asn_struct_ctx_t _asn_ctx;
457 } c;
458 } choice;
459
460 /* Context for parsing across buffer boundaries */
461 asn_struct_ctx_t _asn_ctx;
462} Choice3_t;
463
464/*** <<< FUNC-DECLS [Choice3] >>> ***/
465
466extern asn_TYPE_descriptor_t asn_DEF_Choice3;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800467extern asn_CHOICE_specifics_t asn_SPC_Choice3_specs_1;
468extern asn_TYPE_member_t asn_MBR_Choice3_1[3];
Lev Walkinb85a8132005-08-18 13:38:19 +0000469
470/*** <<< POST-INCLUDE [Choice3] >>> ***/
471
Lev Walkin22b5ed42006-09-13 02:51:20 +0000472#include "Everything.h"
473#include "Choice3.h"
Lev Walkinb85a8132005-08-18 13:38:19 +0000474
475/*** <<< STAT-DEFS [Choice3] >>> ***/
476
477static asn_TYPE_member_t asn_MBR_a_2[] = {
478 { ATF_POINTER, 0, offsetof(struct a, aa),
479 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
480 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000481 .type = &asn_DEF_Everything,
Lev Walkinb85a8132005-08-18 13:38:19 +0000482 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400483 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000484 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
485 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000486 .name = "aa"
487 },
488};
Lev Walkina7591b52014-10-12 18:37:35 -0700489static const ber_tlv_tag_t asn_DEF_a_tags_2[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000490 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
491 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
492};
Lev Walkina7591b52014-10-12 18:37:35 -0700493static const asn_TYPE_tag2member_t asn_MAP_a_tag2el_2[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700494 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* aa */
Lev Walkinb85a8132005-08-18 13:38:19 +0000495};
Lev Walkin59b176e2005-11-26 11:25:14 +0000496static asn_SEQUENCE_specifics_t asn_SPC_a_specs_2 = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000497 sizeof(struct a),
498 offsetof(struct a, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +0000499 asn_MAP_a_tag2el_2,
Lev Walkinb85a8132005-08-18 13:38:19 +0000500 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000501 0, 0, 0, /* Optional elements (not needed) */
Lev Walkinb85a8132005-08-18 13:38:19 +0000502 -1, /* Start extensions */
503 -1 /* Stop extensions */
504};
505static /* Use -fall-defs-global to expose */
506asn_TYPE_descriptor_t asn_DEF_a_2 = {
507 "a",
508 "a",
509 SEQUENCE_free,
510 SEQUENCE_print,
511 SEQUENCE_constraint,
512 SEQUENCE_decode_ber,
513 SEQUENCE_encode_der,
514 SEQUENCE_decode_xer,
515 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700516 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400517 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +0000518 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000519 asn_DEF_a_tags_2,
520 sizeof(asn_DEF_a_tags_2)
521 /sizeof(asn_DEF_a_tags_2[0]) - 1, /* 1 */
522 asn_DEF_a_tags_2, /* Same as above */
523 sizeof(asn_DEF_a_tags_2)
524 /sizeof(asn_DEF_a_tags_2[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400525 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000526 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +0000527 asn_MBR_a_2,
528 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000529 &asn_SPC_a_specs_2 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +0000530};
531
532static asn_TYPE_member_t asn_MBR_c_5[] = {
533 { ATF_POINTER, 0, 0,
534 .tag = -1 /* Ambiguous tag (CHOICE?) */,
535 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000536 .type = &asn_DEF_Choice3,
Lev Walkinb85a8132005-08-18 13:38:19 +0000537 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400538 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000539 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
540 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000541 .name = ""
542 },
543};
Lev Walkina7591b52014-10-12 18:37:35 -0700544static const ber_tlv_tag_t asn_DEF_c_tags_5[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000545 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
546 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
547};
Lev Walkin59b176e2005-11-26 11:25:14 +0000548static asn_SET_OF_specifics_t asn_SPC_c_specs_5 = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000549 sizeof(struct c),
550 offsetof(struct c, _asn_ctx),
Lev Walkind1bfea62005-11-08 03:06:16 +0000551 2, /* XER encoding is XMLValueList */
Lev Walkinb85a8132005-08-18 13:38:19 +0000552};
553static /* Use -fall-defs-global to expose */
554asn_TYPE_descriptor_t asn_DEF_c_5 = {
555 "c",
556 "c",
557 SEQUENCE_OF_free,
558 SEQUENCE_OF_print,
559 SEQUENCE_OF_constraint,
560 SEQUENCE_OF_decode_ber,
561 SEQUENCE_OF_encode_der,
562 SEQUENCE_OF_decode_xer,
563 SEQUENCE_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700564 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400565 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +0000566 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000567 asn_DEF_c_tags_5,
568 sizeof(asn_DEF_c_tags_5)
569 /sizeof(asn_DEF_c_tags_5[0]) - 1, /* 1 */
570 asn_DEF_c_tags_5, /* Same as above */
571 sizeof(asn_DEF_c_tags_5)
572 /sizeof(asn_DEF_c_tags_5[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400573 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000574 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +0000575 asn_MBR_c_5,
576 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000577 &asn_SPC_c_specs_5 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +0000578};
579
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800580asn_TYPE_member_t asn_MBR_Choice3_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000581 { ATF_NOFLAGS, 0, offsetof(struct Choice3, choice.a),
582 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000583 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000584 .type = &asn_DEF_a_2,
Lev Walkinb85a8132005-08-18 13:38:19 +0000585 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400586 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000587 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
588 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000589 .name = "a"
590 },
591 { ATF_POINTER, 0, offsetof(struct Choice3, choice.b),
592 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
593 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000594 .type = &asn_DEF_Everything,
Lev Walkinb85a8132005-08-18 13:38:19 +0000595 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400596 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000597 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
598 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000599 .name = "b"
600 },
601 { ATF_NOFLAGS, 0, offsetof(struct Choice3, choice.c),
602 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000603 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000604 .type = &asn_DEF_c_5,
Lev Walkinb85a8132005-08-18 13:38:19 +0000605 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400606 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000607 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
608 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000609 .name = "c"
610 },
611};
Lev Walkina7591b52014-10-12 18:37:35 -0700612static const asn_TYPE_tag2member_t asn_MAP_Choice3_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700613 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
614 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* b */
615 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* c */
Lev Walkinb85a8132005-08-18 13:38:19 +0000616};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800617asn_CHOICE_specifics_t asn_SPC_Choice3_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000618 sizeof(struct Choice3),
619 offsetof(struct Choice3, _asn_ctx),
620 offsetof(struct Choice3, present),
621 sizeof(((struct Choice3 *)0)->present),
Lev Walkin59b176e2005-11-26 11:25:14 +0000622 asn_MAP_Choice3_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +0000623 3, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000624 .canonical_order = 0,
625 .ext_start = -1 /* Extensions start */
Lev Walkinb85a8132005-08-18 13:38:19 +0000626};
627asn_TYPE_descriptor_t asn_DEF_Choice3 = {
628 "Choice3",
629 "Choice3",
630 CHOICE_free,
631 CHOICE_print,
632 CHOICE_constraint,
633 CHOICE_decode_ber,
634 CHOICE_encode_der,
635 CHOICE_decode_xer,
636 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700637 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400638 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +0000639 CHOICE_outmost_tag,
640 0, /* No effective tags (pointer) */
641 0, /* No effective tags (count) */
642 0, /* No tags (pointer) */
643 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400644 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000645 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +0000646 asn_MBR_Choice3_1,
647 3, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000648 &asn_SPC_Choice3_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +0000649};
650
651
Lev Walkincee931e2005-08-16 16:56:59 +0000652/*** <<< INCLUDES [Set] >>> ***/
653
654#include <asn_SET_OF.h>
655#include <INTEGER.h>
Lev Walkincee931e2005-08-16 16:56:59 +0000656#include <constr_SEQUENCE.h>
657#include <constr_SET_OF.h>
658
659/*** <<< FWD-DECLS [Set] >>> ***/
660
661struct Set;
Lev Walkinb85a8132005-08-18 13:38:19 +0000662struct Sequence;
Lev Walkincee931e2005-08-16 16:56:59 +0000663
Bi-Ruei, Chiu9b87e5b2016-06-06 00:23:16 +0800664/*** <<< FWD-DEFS [Set] >>> ***/
665
666typedef struct Member {
667 INTEGER_t Int;
668 struct Set *set;
669 struct Sequence *seq;
670 struct Set *set2 /* OPTIONAL */;
671 /*
672 * This type is extensible,
673 * possible extensions are below.
674 */
675 struct Set *set3;
676
677 /* Context for parsing across buffer boundaries */
678 asn_struct_ctx_t _asn_ctx;
679} Member;
680
Lev Walkincee931e2005-08-16 16:56:59 +0000681/*** <<< TYPE-DECLS [Set] >>> ***/
682
683typedef struct Set {
Bi-Ruei, Chiu9b87e5b2016-06-06 00:23:16 +0800684 A_SET_OF(Member) list;
Lev Walkincee931e2005-08-16 16:56:59 +0000685
686 /* Context for parsing across buffer boundaries */
687 asn_struct_ctx_t _asn_ctx;
688} Set_t;
689
690/*** <<< FUNC-DECLS [Set] >>> ***/
691
692extern asn_TYPE_descriptor_t asn_DEF_Set;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800693extern asn_SET_OF_specifics_t asn_SPC_Set_specs_1;
694extern asn_TYPE_member_t asn_MBR_Set_1[1];
Lev Walkincee931e2005-08-16 16:56:59 +0000695
696/*** <<< POST-INCLUDE [Set] >>> ***/
697
Lev Walkin22b5ed42006-09-13 02:51:20 +0000698#include "Set.h"
699#include "Sequence.h"
Lev Walkincee931e2005-08-16 16:56:59 +0000700
701/*** <<< STAT-DEFS [Set] >>> ***/
702
703static asn_TYPE_member_t asn_MBR_Member_2[] = {
704 { ATF_NOFLAGS, 0, offsetof(struct Member, Int),
705 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
706 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000707 .type = &asn_DEF_INTEGER,
Lev Walkincee931e2005-08-16 16:56:59 +0000708 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400709 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000710 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
711 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000712 .name = "int"
713 },
714 { ATF_POINTER, 0, offsetof(struct Member, set),
715 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
716 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000717 .type = &asn_DEF_Set,
Lev Walkincee931e2005-08-16 16:56:59 +0000718 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400719 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000720 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
721 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000722 .name = "set"
723 },
Lev Walkinb85a8132005-08-18 13:38:19 +0000724 { ATF_POINTER, 0, offsetof(struct Member, seq),
Lev Walkincee931e2005-08-16 16:56:59 +0000725 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
726 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000727 .type = &asn_DEF_Sequence,
Lev Walkincee931e2005-08-16 16:56:59 +0000728 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400729 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000730 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
731 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000732 .name = "seq"
733 },
734 { ATF_POINTER, 2, offsetof(struct Member, set2),
735 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
736 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000737 .type = &asn_DEF_Set,
Lev Walkincee931e2005-08-16 16:56:59 +0000738 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400739 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000740 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
741 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000742 .name = "set2"
743 },
Lev Walkinb85a8132005-08-18 13:38:19 +0000744 { ATF_POINTER, 1, offsetof(struct Member, set3),
Lev Walkincee931e2005-08-16 16:56:59 +0000745 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
746 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000747 .type = &asn_DEF_Set,
Lev Walkincee931e2005-08-16 16:56:59 +0000748 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400749 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000750 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
751 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000752 .name = "set3"
753 },
754};
Lev Walkina7591b52014-10-12 18:37:35 -0700755static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000756 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
757};
Lev Walkina7591b52014-10-12 18:37:35 -0700758static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700759 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* int */
760 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* set */
761 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* seq */
762 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* set2 */
763 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* set3 */
Lev Walkincee931e2005-08-16 16:56:59 +0000764};
Lev Walkin59b176e2005-11-26 11:25:14 +0000765static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000766 sizeof(struct Member),
767 offsetof(struct Member, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +0000768 asn_MAP_Member_tag2el_2,
Lev Walkincee931e2005-08-16 16:56:59 +0000769 5, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000770 0, 0, 0, /* Optional elements (not needed) */
Lev Walkincee931e2005-08-16 16:56:59 +0000771 3, /* Start extensions */
772 6 /* Stop extensions */
773};
774static /* Use -fall-defs-global to expose */
775asn_TYPE_descriptor_t asn_DEF_Member_2 = {
Lev Walkin59b176e2005-11-26 11:25:14 +0000776 "SEQUENCE",
777 "SEQUENCE",
Lev Walkincee931e2005-08-16 16:56:59 +0000778 SEQUENCE_free,
779 SEQUENCE_print,
780 SEQUENCE_constraint,
781 SEQUENCE_decode_ber,
782 SEQUENCE_encode_der,
783 SEQUENCE_decode_xer,
784 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700785 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400786 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000787 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000788 asn_DEF_Member_tags_2,
789 sizeof(asn_DEF_Member_tags_2)
790 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
791 asn_DEF_Member_tags_2, /* Same as above */
792 sizeof(asn_DEF_Member_tags_2)
793 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400794 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000795 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000796 asn_MBR_Member_2,
797 5, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000798 &asn_SPC_Member_specs_2 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000799};
800
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800801asn_TYPE_member_t asn_MBR_Set_1[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000802 { ATF_POINTER, 0, 0,
803 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
804 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000805 .type = &asn_DEF_Member_2,
Lev Walkincee931e2005-08-16 16:56:59 +0000806 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400807 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000808 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
809 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000810 .name = ""
811 },
812};
Lev Walkina7591b52014-10-12 18:37:35 -0700813static const ber_tlv_tag_t asn_DEF_Set_tags_1[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000814 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
815};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800816asn_SET_OF_specifics_t asn_SPC_Set_specs_1 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000817 sizeof(struct Set),
818 offsetof(struct Set, _asn_ctx),
819 0, /* XER encoding is XMLDelimitedItemList */
820};
821asn_TYPE_descriptor_t asn_DEF_Set = {
822 "Set",
823 "Set",
824 SET_OF_free,
825 SET_OF_print,
826 SET_OF_constraint,
827 SET_OF_decode_ber,
828 SET_OF_encode_der,
829 SET_OF_decode_xer,
830 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700831 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400832 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000833 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000834 asn_DEF_Set_tags_1,
835 sizeof(asn_DEF_Set_tags_1)
836 /sizeof(asn_DEF_Set_tags_1[0]), /* 1 */
837 asn_DEF_Set_tags_1, /* Same as above */
838 sizeof(asn_DEF_Set_tags_1)
839 /sizeof(asn_DEF_Set_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400840 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000841 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000842 asn_MBR_Set_1,
843 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000844 &asn_SPC_Set_specs_1 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000845};
846
847
848/*** <<< INCLUDES [Sequence] >>> ***/
849
850#include <INTEGER.h>
851#include <constr_SEQUENCE.h>
852
853/*** <<< FWD-DECLS [Sequence] >>> ***/
854
855struct Sequence;
856struct Set;
857
858/*** <<< TYPE-DECLS [Sequence] >>> ***/
859
860typedef struct Sequence {
861 INTEGER_t a;
862 struct Sequence *seq /* OPTIONAL */;
863 /*
864 * This type is extensible,
865 * possible extensions are below.
866 */
867 INTEGER_t *b;
868 struct Set *set /* OPTIONAL */;
869
870 /* Context for parsing across buffer boundaries */
871 asn_struct_ctx_t _asn_ctx;
872} Sequence_t;
873
874/*** <<< FUNC-DECLS [Sequence] >>> ***/
875
876extern asn_TYPE_descriptor_t asn_DEF_Sequence;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800877extern asn_SEQUENCE_specifics_t asn_SPC_Sequence_specs_1;
878extern asn_TYPE_member_t asn_MBR_Sequence_1[4];
Lev Walkincee931e2005-08-16 16:56:59 +0000879
880/*** <<< POST-INCLUDE [Sequence] >>> ***/
881
Lev Walkin22b5ed42006-09-13 02:51:20 +0000882#include "Sequence.h"
883#include "Set.h"
Lev Walkincee931e2005-08-16 16:56:59 +0000884
885/*** <<< STAT-DEFS [Sequence] >>> ***/
886
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800887asn_TYPE_member_t asn_MBR_Sequence_1[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000888 { ATF_NOFLAGS, 0, offsetof(struct Sequence, a),
889 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
890 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000891 .type = &asn_DEF_INTEGER,
Lev Walkincee931e2005-08-16 16:56:59 +0000892 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400893 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000894 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
895 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000896 .name = "a"
897 },
898 { ATF_POINTER, 3, offsetof(struct Sequence, seq),
899 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
900 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000901 .type = &asn_DEF_Sequence,
Lev Walkincee931e2005-08-16 16:56:59 +0000902 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400903 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000904 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
905 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000906 .name = "seq"
907 },
Lev Walkinb85a8132005-08-18 13:38:19 +0000908 { ATF_POINTER, 2, offsetof(struct Sequence, b),
Lev Walkincee931e2005-08-16 16:56:59 +0000909 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
910 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000911 .type = &asn_DEF_INTEGER,
Lev Walkincee931e2005-08-16 16:56:59 +0000912 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400913 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000914 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
915 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000916 .name = "b"
917 },
918 { ATF_POINTER, 1, offsetof(struct Sequence, set),
919 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
920 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000921 .type = &asn_DEF_Set,
Lev Walkincee931e2005-08-16 16:56:59 +0000922 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400923 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000924 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
925 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000926 .name = "set"
927 },
928};
Lev Walkina7591b52014-10-12 18:37:35 -0700929static const ber_tlv_tag_t asn_DEF_Sequence_tags_1[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000930 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
931};
Lev Walkina7591b52014-10-12 18:37:35 -0700932static const asn_TYPE_tag2member_t asn_MAP_Sequence_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700933 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
934 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* seq */
935 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* b */
936 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* set */
Lev Walkincee931e2005-08-16 16:56:59 +0000937};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800938asn_SEQUENCE_specifics_t asn_SPC_Sequence_specs_1 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000939 sizeof(struct Sequence),
940 offsetof(struct Sequence, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +0000941 asn_MAP_Sequence_tag2el_1,
Lev Walkincee931e2005-08-16 16:56:59 +0000942 4, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000943 0, 0, 0, /* Optional elements (not needed) */
Lev Walkincee931e2005-08-16 16:56:59 +0000944 1, /* Start extensions */
945 5 /* Stop extensions */
946};
947asn_TYPE_descriptor_t asn_DEF_Sequence = {
948 "Sequence",
949 "Sequence",
950 SEQUENCE_free,
951 SEQUENCE_print,
952 SEQUENCE_constraint,
953 SEQUENCE_decode_ber,
954 SEQUENCE_encode_der,
955 SEQUENCE_decode_xer,
956 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700957 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400958 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000959 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000960 asn_DEF_Sequence_tags_1,
961 sizeof(asn_DEF_Sequence_tags_1)
962 /sizeof(asn_DEF_Sequence_tags_1[0]), /* 1 */
963 asn_DEF_Sequence_tags_1, /* Same as above */
964 sizeof(asn_DEF_Sequence_tags_1)
965 /sizeof(asn_DEF_Sequence_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400966 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000967 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000968 asn_MBR_Sequence_1,
969 4, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000970 &asn_SPC_Sequence_specs_1 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000971};
972
Lev Walkinb85a8132005-08-18 13:38:19 +0000973
974/*** <<< INCLUDES [TypeRef] >>> ***/
975
Lev Walkin22b5ed42006-09-13 02:51:20 +0000976#include "Sequence.h"
Lev Walkinb85a8132005-08-18 13:38:19 +0000977
978/*** <<< TYPE-DECLS [TypeRef] >>> ***/
979
980typedef Sequence_t TypeRef_t;
981
982/*** <<< FUNC-DECLS [TypeRef] >>> ***/
983
984extern asn_TYPE_descriptor_t asn_DEF_TypeRef;
985asn_struct_free_f TypeRef_free;
986asn_struct_print_f TypeRef_print;
987asn_constr_check_f TypeRef_constraint;
988ber_type_decoder_f TypeRef_decode_ber;
989der_type_encoder_f TypeRef_encode_der;
990xer_type_decoder_f TypeRef_decode_xer;
991xer_type_encoder_f TypeRef_encode_xer;
992
993/*** <<< CODE [TypeRef] >>> ***/
994
Lev Walkinb85a8132005-08-18 13:38:19 +0000995/*
996 * This type is implemented using Sequence,
997 * so here we adjust the DEF accordingly.
998 */
Lev Walkinb85a8132005-08-18 13:38:19 +0000999
1000/*** <<< STAT-DEFS [TypeRef] >>> ***/
1001
Lev Walkina7591b52014-10-12 18:37:35 -07001002static const ber_tlv_tag_t asn_DEF_TypeRef_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001003 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1004};
1005asn_TYPE_descriptor_t asn_DEF_TypeRef = {
1006 "TypeRef",
1007 "TypeRef",
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001008 SEQUENCE_free,
1009 SEQUENCE_print,
1010 SEQUENCE_constraint,
1011 SEQUENCE_decode_ber,
1012 SEQUENCE_encode_der,
1013 SEQUENCE_decode_xer,
1014 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001015 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001016 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001017 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001018 asn_DEF_TypeRef_tags_1,
1019 sizeof(asn_DEF_TypeRef_tags_1)
1020 /sizeof(asn_DEF_TypeRef_tags_1[0]), /* 1 */
1021 asn_DEF_TypeRef_tags_1, /* Same as above */
1022 sizeof(asn_DEF_TypeRef_tags_1)
1023 /sizeof(asn_DEF_TypeRef_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001024 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001025 0, /* No PER visible constraints */
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001026 asn_MBR_Sequence_1,
1027 4, /* Elements count */
1028 &asn_SPC_Sequence_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001029};
1030
1031
1032/*** <<< INCLUDES [Alpha] >>> ***/
1033
1034#include <constr_SEQUENCE.h>
1035
1036/*** <<< FWD-DECLS [Alpha] >>> ***/
1037
1038struct Beta;
1039
1040/*** <<< TYPE-DECLS [Alpha] >>> ***/
1041
1042typedef struct Alpha {
1043 struct Beta *a;
1044 struct b {
1045 struct Beta *b /* OPTIONAL */;
1046
1047 /* Context for parsing across buffer boundaries */
1048 asn_struct_ctx_t _asn_ctx;
1049 } b;
1050
1051 /* Context for parsing across buffer boundaries */
1052 asn_struct_ctx_t _asn_ctx;
1053} Alpha_t;
1054
1055/*** <<< FUNC-DECLS [Alpha] >>> ***/
1056
1057extern asn_TYPE_descriptor_t asn_DEF_Alpha;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001058extern asn_SEQUENCE_specifics_t asn_SPC_Alpha_specs_1;
1059extern asn_TYPE_member_t asn_MBR_Alpha_1[2];
Lev Walkinb85a8132005-08-18 13:38:19 +00001060
1061/*** <<< POST-INCLUDE [Alpha] >>> ***/
1062
Lev Walkin22b5ed42006-09-13 02:51:20 +00001063#include "Beta.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001064
1065/*** <<< STAT-DEFS [Alpha] >>> ***/
1066
1067static asn_TYPE_member_t asn_MBR_b_3[] = {
1068 { ATF_POINTER, 1, offsetof(struct b, b),
1069 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1070 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001071 .type = &asn_DEF_Beta,
Lev Walkinb85a8132005-08-18 13:38:19 +00001072 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001073 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001074 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1075 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001076 .name = "b"
1077 },
1078};
Lev Walkina7591b52014-10-12 18:37:35 -07001079static const ber_tlv_tag_t asn_DEF_b_tags_3[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001080 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1081 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1082};
Lev Walkina7591b52014-10-12 18:37:35 -07001083static const asn_TYPE_tag2member_t asn_MAP_b_tag2el_3[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001084 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* b */
Lev Walkinb85a8132005-08-18 13:38:19 +00001085};
Lev Walkin59b176e2005-11-26 11:25:14 +00001086static asn_SEQUENCE_specifics_t asn_SPC_b_specs_3 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001087 sizeof(struct b),
1088 offsetof(struct b, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +00001089 asn_MAP_b_tag2el_3,
Lev Walkinb85a8132005-08-18 13:38:19 +00001090 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001091 0, 0, 0, /* Optional elements (not needed) */
Lev Walkinb85a8132005-08-18 13:38:19 +00001092 -1, /* Start extensions */
1093 -1 /* Stop extensions */
1094};
1095static /* Use -fall-defs-global to expose */
1096asn_TYPE_descriptor_t asn_DEF_b_3 = {
1097 "b",
1098 "b",
1099 SEQUENCE_free,
1100 SEQUENCE_print,
1101 SEQUENCE_constraint,
1102 SEQUENCE_decode_ber,
1103 SEQUENCE_encode_der,
1104 SEQUENCE_decode_xer,
1105 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001106 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001107 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001108 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001109 asn_DEF_b_tags_3,
1110 sizeof(asn_DEF_b_tags_3)
1111 /sizeof(asn_DEF_b_tags_3[0]) - 1, /* 1 */
1112 asn_DEF_b_tags_3, /* Same as above */
1113 sizeof(asn_DEF_b_tags_3)
1114 /sizeof(asn_DEF_b_tags_3[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001115 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001116 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001117 asn_MBR_b_3,
1118 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001119 &asn_SPC_b_specs_3 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001120};
1121
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001122asn_TYPE_member_t asn_MBR_Alpha_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001123 { ATF_POINTER, 0, offsetof(struct Alpha, a),
1124 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1125 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001126 .type = &asn_DEF_Beta,
Lev Walkinb85a8132005-08-18 13:38:19 +00001127 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001128 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001129 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1130 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001131 .name = "a"
1132 },
1133 { ATF_NOFLAGS, 0, offsetof(struct Alpha, b),
1134 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +00001135 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001136 .type = &asn_DEF_b_3,
Lev Walkinb85a8132005-08-18 13:38:19 +00001137 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001138 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001139 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1140 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001141 .name = "b"
1142 },
1143};
Lev Walkina7591b52014-10-12 18:37:35 -07001144static const ber_tlv_tag_t asn_DEF_Alpha_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001145 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1146};
Lev Walkina7591b52014-10-12 18:37:35 -07001147static const asn_TYPE_tag2member_t asn_MAP_Alpha_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001148 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
1149 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* b */
Lev Walkinb85a8132005-08-18 13:38:19 +00001150};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001151asn_SEQUENCE_specifics_t asn_SPC_Alpha_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001152 sizeof(struct Alpha),
1153 offsetof(struct Alpha, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +00001154 asn_MAP_Alpha_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001155 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001156 0, 0, 0, /* Optional elements (not needed) */
Lev Walkinb85a8132005-08-18 13:38:19 +00001157 -1, /* Start extensions */
1158 -1 /* Stop extensions */
1159};
1160asn_TYPE_descriptor_t asn_DEF_Alpha = {
1161 "Alpha",
1162 "Alpha",
1163 SEQUENCE_free,
1164 SEQUENCE_print,
1165 SEQUENCE_constraint,
1166 SEQUENCE_decode_ber,
1167 SEQUENCE_encode_der,
1168 SEQUENCE_decode_xer,
1169 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001170 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001171 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001172 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001173 asn_DEF_Alpha_tags_1,
1174 sizeof(asn_DEF_Alpha_tags_1)
1175 /sizeof(asn_DEF_Alpha_tags_1[0]), /* 1 */
1176 asn_DEF_Alpha_tags_1, /* Same as above */
1177 sizeof(asn_DEF_Alpha_tags_1)
1178 /sizeof(asn_DEF_Alpha_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001179 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001180 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001181 asn_MBR_Alpha_1,
1182 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001183 &asn_SPC_Alpha_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001184};
1185
1186
1187/*** <<< INCLUDES [Beta] >>> ***/
1188
1189#include <constr_SEQUENCE.h>
1190
1191/*** <<< FWD-DECLS [Beta] >>> ***/
1192
1193struct Alpha;
1194struct Gamma;
1195
1196/*** <<< TYPE-DECLS [Beta] >>> ***/
1197
1198typedef struct Beta {
1199 struct Alpha *b /* OPTIONAL */;
1200 struct Gamma *g /* OPTIONAL */;
1201
1202 /* Context for parsing across buffer boundaries */
1203 asn_struct_ctx_t _asn_ctx;
1204} Beta_t;
1205
1206/*** <<< FUNC-DECLS [Beta] >>> ***/
1207
1208extern asn_TYPE_descriptor_t asn_DEF_Beta;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001209extern asn_SEQUENCE_specifics_t asn_SPC_Beta_specs_1;
1210extern asn_TYPE_member_t asn_MBR_Beta_1[2];
Lev Walkinb85a8132005-08-18 13:38:19 +00001211
1212/*** <<< POST-INCLUDE [Beta] >>> ***/
1213
Lev Walkin22b5ed42006-09-13 02:51:20 +00001214#include "Alpha.h"
1215#include "Gamma.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001216
1217/*** <<< STAT-DEFS [Beta] >>> ***/
1218
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001219asn_TYPE_member_t asn_MBR_Beta_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001220 { ATF_POINTER, 2, offsetof(struct Beta, b),
1221 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1222 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001223 .type = &asn_DEF_Alpha,
Lev Walkinb85a8132005-08-18 13:38:19 +00001224 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001225 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001226 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1227 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001228 .name = "b"
1229 },
1230 { ATF_POINTER, 1, offsetof(struct Beta, g),
1231 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1232 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001233 .type = &asn_DEF_Gamma,
Lev Walkinb85a8132005-08-18 13:38:19 +00001234 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001235 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001236 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1237 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001238 .name = "g"
1239 },
1240};
Lev Walkina7591b52014-10-12 18:37:35 -07001241static const ber_tlv_tag_t asn_DEF_Beta_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001242 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1243};
Lev Walkina7591b52014-10-12 18:37:35 -07001244static const asn_TYPE_tag2member_t asn_MAP_Beta_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001245 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* b */
1246 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* g */
Lev Walkinb85a8132005-08-18 13:38:19 +00001247};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001248asn_SEQUENCE_specifics_t asn_SPC_Beta_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001249 sizeof(struct Beta),
1250 offsetof(struct Beta, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +00001251 asn_MAP_Beta_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001252 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001253 0, 0, 0, /* Optional elements (not needed) */
Lev Walkinb85a8132005-08-18 13:38:19 +00001254 -1, /* Start extensions */
1255 -1 /* Stop extensions */
1256};
1257asn_TYPE_descriptor_t asn_DEF_Beta = {
1258 "Beta",
1259 "Beta",
1260 SEQUENCE_free,
1261 SEQUENCE_print,
1262 SEQUENCE_constraint,
1263 SEQUENCE_decode_ber,
1264 SEQUENCE_encode_der,
1265 SEQUENCE_decode_xer,
1266 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001267 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001268 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001269 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001270 asn_DEF_Beta_tags_1,
1271 sizeof(asn_DEF_Beta_tags_1)
1272 /sizeof(asn_DEF_Beta_tags_1[0]), /* 1 */
1273 asn_DEF_Beta_tags_1, /* Same as above */
1274 sizeof(asn_DEF_Beta_tags_1)
1275 /sizeof(asn_DEF_Beta_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001276 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001277 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001278 asn_MBR_Beta_1,
1279 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001280 &asn_SPC_Beta_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001281};
1282
1283
1284/*** <<< INCLUDES [Gamma] >>> ***/
1285
1286#include <constr_SEQUENCE.h>
1287
1288/*** <<< FWD-DECLS [Gamma] >>> ***/
1289
1290struct TwoThree;
1291struct Alpha;
1292struct Beta;
1293
1294/*** <<< TYPE-DECLS [Gamma] >>> ***/
1295
1296typedef struct Gamma {
1297 struct TwoThree *o;
1298 struct Alpha *a;
1299 struct Beta *b;
1300
1301 /* Context for parsing across buffer boundaries */
1302 asn_struct_ctx_t _asn_ctx;
1303} Gamma_t;
1304
1305/*** <<< FUNC-DECLS [Gamma] >>> ***/
1306
1307extern asn_TYPE_descriptor_t asn_DEF_Gamma;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001308extern asn_SEQUENCE_specifics_t asn_SPC_Gamma_specs_1;
1309extern asn_TYPE_member_t asn_MBR_Gamma_1[3];
Lev Walkinb85a8132005-08-18 13:38:19 +00001310
1311/*** <<< POST-INCLUDE [Gamma] >>> ***/
1312
Lev Walkin22b5ed42006-09-13 02:51:20 +00001313#include "TwoThree.h"
1314#include "Alpha.h"
1315#include "Beta.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001316
1317/*** <<< STAT-DEFS [Gamma] >>> ***/
1318
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001319asn_TYPE_member_t asn_MBR_Gamma_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001320 { ATF_POINTER, 0, offsetof(struct Gamma, o),
1321 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1322 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001323 .type = &asn_DEF_TwoThree,
Lev Walkinb85a8132005-08-18 13:38:19 +00001324 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001325 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001326 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1327 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001328 .name = "o"
1329 },
1330 { ATF_POINTER, 0, offsetof(struct Gamma, a),
1331 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1332 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001333 .type = &asn_DEF_Alpha,
Lev Walkinb85a8132005-08-18 13:38:19 +00001334 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001335 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001336 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1337 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001338 .name = "a"
1339 },
1340 { ATF_POINTER, 0, offsetof(struct Gamma, b),
1341 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
1342 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001343 .type = &asn_DEF_Beta,
Lev Walkinb85a8132005-08-18 13:38:19 +00001344 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001345 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001346 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1347 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001348 .name = "b"
1349 },
1350};
Lev Walkina7591b52014-10-12 18:37:35 -07001351static const ber_tlv_tag_t asn_DEF_Gamma_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001352 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1353};
Lev Walkina7591b52014-10-12 18:37:35 -07001354static const asn_TYPE_tag2member_t asn_MAP_Gamma_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001355 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* o */
1356 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* a */
1357 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* b */
Lev Walkinb85a8132005-08-18 13:38:19 +00001358};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001359asn_SEQUENCE_specifics_t asn_SPC_Gamma_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001360 sizeof(struct Gamma),
1361 offsetof(struct Gamma, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +00001362 asn_MAP_Gamma_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001363 3, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001364 0, 0, 0, /* Optional elements (not needed) */
Lev Walkinb85a8132005-08-18 13:38:19 +00001365 -1, /* Start extensions */
1366 -1 /* Stop extensions */
1367};
1368asn_TYPE_descriptor_t asn_DEF_Gamma = {
1369 "Gamma",
1370 "Gamma",
1371 SEQUENCE_free,
1372 SEQUENCE_print,
1373 SEQUENCE_constraint,
1374 SEQUENCE_decode_ber,
1375 SEQUENCE_encode_der,
1376 SEQUENCE_decode_xer,
1377 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001378 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001379 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001380 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001381 asn_DEF_Gamma_tags_1,
1382 sizeof(asn_DEF_Gamma_tags_1)
1383 /sizeof(asn_DEF_Gamma_tags_1[0]), /* 1 */
1384 asn_DEF_Gamma_tags_1, /* Same as above */
1385 sizeof(asn_DEF_Gamma_tags_1)
1386 /sizeof(asn_DEF_Gamma_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001387 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001388 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001389 asn_MBR_Gamma_1,
1390 3, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001391 &asn_SPC_Gamma_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001392};
1393
1394
1395/*** <<< INCLUDES [OneTwo] >>> ***/
1396
1397#include <constr_SET.h>
1398
1399/*** <<< DEPS [OneTwo] >>> ***/
1400
1401
1402/*
1403 * Method of determining the components presence
1404 */
1405typedef enum OneTwo_PR {
1406 OneTwo_PR_m12, /* Member m12 is present */
1407} OneTwo_PR;
1408
1409/*** <<< FWD-DECLS [OneTwo] >>> ***/
1410
1411struct TwoThree;
1412
1413/*** <<< TYPE-DECLS [OneTwo] >>> ***/
1414
1415typedef struct OneTwo {
1416 struct TwoThree *m12;
1417
1418 /* Presence bitmask: ASN_SET_ISPRESENT(pOneTwo, OneTwo_PR_x) */
1419 unsigned int _presence_map
1420 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
1421
1422 /* Context for parsing across buffer boundaries */
1423 asn_struct_ctx_t _asn_ctx;
1424} OneTwo_t;
1425
1426/*** <<< FUNC-DECLS [OneTwo] >>> ***/
1427
1428extern asn_TYPE_descriptor_t asn_DEF_OneTwo;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001429extern asn_SET_specifics_t asn_SPC_OneTwo_specs_1;
1430extern asn_TYPE_member_t asn_MBR_OneTwo_1[1];
Lev Walkinb85a8132005-08-18 13:38:19 +00001431
1432/*** <<< POST-INCLUDE [OneTwo] >>> ***/
1433
Lev Walkin22b5ed42006-09-13 02:51:20 +00001434#include "TwoThree.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001435
1436/*** <<< STAT-DEFS [OneTwo] >>> ***/
1437
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001438asn_TYPE_member_t asn_MBR_OneTwo_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001439 { ATF_POINTER, 0, offsetof(struct OneTwo, m12),
1440 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1441 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001442 .type = &asn_DEF_TwoThree,
Lev Walkinb85a8132005-08-18 13:38:19 +00001443 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001444 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001445 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1446 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001447 .name = "m12"
1448 },
1449};
Lev Walkina7591b52014-10-12 18:37:35 -07001450static const ber_tlv_tag_t asn_DEF_OneTwo_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001451 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1452};
Lev Walkina7591b52014-10-12 18:37:35 -07001453static const asn_TYPE_tag2member_t asn_MAP_OneTwo_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001454 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* m12 */
Lev Walkinb85a8132005-08-18 13:38:19 +00001455};
Lev Walkina7591b52014-10-12 18:37:35 -07001456static const uint8_t asn_MAP_OneTwo_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001457 (1 << 7)
1458};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001459asn_SET_specifics_t asn_SPC_OneTwo_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001460 sizeof(struct OneTwo),
1461 offsetof(struct OneTwo, _asn_ctx),
1462 offsetof(struct OneTwo, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +00001463 asn_MAP_OneTwo_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001464 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001465 asn_MAP_OneTwo_tag2el_1, /* Same as above */
Lev Walkinb85a8132005-08-18 13:38:19 +00001466 1, /* Count of tags in the CXER map */
1467 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -07001468 (const unsigned int *)asn_MAP_OneTwo_mmap_1 /* Mandatory elements map */
Lev Walkinb85a8132005-08-18 13:38:19 +00001469};
1470asn_TYPE_descriptor_t asn_DEF_OneTwo = {
1471 "OneTwo",
1472 "OneTwo",
1473 SET_free,
1474 SET_print,
1475 SET_constraint,
1476 SET_decode_ber,
1477 SET_encode_der,
1478 SET_decode_xer,
1479 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001480 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001481 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001482 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001483 asn_DEF_OneTwo_tags_1,
1484 sizeof(asn_DEF_OneTwo_tags_1)
1485 /sizeof(asn_DEF_OneTwo_tags_1[0]), /* 1 */
1486 asn_DEF_OneTwo_tags_1, /* Same as above */
1487 sizeof(asn_DEF_OneTwo_tags_1)
1488 /sizeof(asn_DEF_OneTwo_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001489 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001490 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001491 asn_MBR_OneTwo_1,
1492 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001493 &asn_SPC_OneTwo_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001494};
1495
1496
1497/*** <<< INCLUDES [TwoThree] >>> ***/
1498
1499#include <constr_SET.h>
1500
1501/*** <<< DEPS [TwoThree] >>> ***/
1502
1503
1504/*
1505 * Method of determining the components presence
1506 */
1507typedef enum TwoThree_PR {
1508 TwoThree_PR_m23, /* Member m23 is present */
1509} TwoThree_PR;
1510
1511/*** <<< FWD-DECLS [TwoThree] >>> ***/
1512
1513struct ThreeOne;
1514
1515/*** <<< TYPE-DECLS [TwoThree] >>> ***/
1516
1517typedef struct TwoThree {
1518 struct ThreeOne *m23;
1519
1520 /* Presence bitmask: ASN_SET_ISPRESENT(pTwoThree, TwoThree_PR_x) */
1521 unsigned int _presence_map
1522 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
1523
1524 /* Context for parsing across buffer boundaries */
1525 asn_struct_ctx_t _asn_ctx;
1526} TwoThree_t;
1527
1528/*** <<< FUNC-DECLS [TwoThree] >>> ***/
1529
1530extern asn_TYPE_descriptor_t asn_DEF_TwoThree;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001531extern asn_SET_specifics_t asn_SPC_TwoThree_specs_1;
1532extern asn_TYPE_member_t asn_MBR_TwoThree_1[1];
Lev Walkinb85a8132005-08-18 13:38:19 +00001533
1534/*** <<< POST-INCLUDE [TwoThree] >>> ***/
1535
Lev Walkin22b5ed42006-09-13 02:51:20 +00001536#include "ThreeOne.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001537
1538/*** <<< STAT-DEFS [TwoThree] >>> ***/
1539
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001540asn_TYPE_member_t asn_MBR_TwoThree_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001541 { ATF_POINTER, 0, offsetof(struct TwoThree, m23),
1542 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1543 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001544 .type = &asn_DEF_ThreeOne,
Lev Walkinb85a8132005-08-18 13:38:19 +00001545 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001546 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001547 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1548 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001549 .name = "m23"
1550 },
1551};
Lev Walkina7591b52014-10-12 18:37:35 -07001552static const ber_tlv_tag_t asn_DEF_TwoThree_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001553 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1554};
Lev Walkina7591b52014-10-12 18:37:35 -07001555static const asn_TYPE_tag2member_t asn_MAP_TwoThree_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001556 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* m23 */
Lev Walkinb85a8132005-08-18 13:38:19 +00001557};
Lev Walkina7591b52014-10-12 18:37:35 -07001558static const uint8_t asn_MAP_TwoThree_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001559 (1 << 7)
1560};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001561asn_SET_specifics_t asn_SPC_TwoThree_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001562 sizeof(struct TwoThree),
1563 offsetof(struct TwoThree, _asn_ctx),
1564 offsetof(struct TwoThree, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +00001565 asn_MAP_TwoThree_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001566 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001567 asn_MAP_TwoThree_tag2el_1, /* Same as above */
Lev Walkinb85a8132005-08-18 13:38:19 +00001568 1, /* Count of tags in the CXER map */
1569 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -07001570 (const unsigned int *)asn_MAP_TwoThree_mmap_1 /* Mandatory elements map */
Lev Walkinb85a8132005-08-18 13:38:19 +00001571};
1572asn_TYPE_descriptor_t asn_DEF_TwoThree = {
1573 "TwoThree",
1574 "TwoThree",
1575 SET_free,
1576 SET_print,
1577 SET_constraint,
1578 SET_decode_ber,
1579 SET_encode_der,
1580 SET_decode_xer,
1581 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001582 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001583 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001584 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001585 asn_DEF_TwoThree_tags_1,
1586 sizeof(asn_DEF_TwoThree_tags_1)
1587 /sizeof(asn_DEF_TwoThree_tags_1[0]), /* 1 */
1588 asn_DEF_TwoThree_tags_1, /* Same as above */
1589 sizeof(asn_DEF_TwoThree_tags_1)
1590 /sizeof(asn_DEF_TwoThree_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001591 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001592 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001593 asn_MBR_TwoThree_1,
1594 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001595 &asn_SPC_TwoThree_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001596};
1597
1598
1599/*** <<< INCLUDES [ThreeOne] >>> ***/
1600
1601#include <constr_SET.h>
1602
1603/*** <<< DEPS [ThreeOne] >>> ***/
1604
1605
1606/*
1607 * Method of determining the components presence
1608 */
1609typedef enum ThreeOne_PR {
1610 ThreeOne_PR_m31, /* Member m31 is present */
1611 ThreeOne_PR_g, /* Member g is present */
1612} ThreeOne_PR;
1613
1614/*** <<< FWD-DECLS [ThreeOne] >>> ***/
1615
1616struct OneTwo;
1617struct Gamma;
1618
1619/*** <<< TYPE-DECLS [ThreeOne] >>> ***/
1620
1621typedef struct ThreeOne {
1622 struct OneTwo *m31;
1623 struct Gamma *g;
1624
1625 /* Presence bitmask: ASN_SET_ISPRESENT(pThreeOne, ThreeOne_PR_x) */
1626 unsigned int _presence_map
1627 [((2+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
1628
1629 /* Context for parsing across buffer boundaries */
1630 asn_struct_ctx_t _asn_ctx;
1631} ThreeOne_t;
1632
1633/*** <<< FUNC-DECLS [ThreeOne] >>> ***/
1634
1635extern asn_TYPE_descriptor_t asn_DEF_ThreeOne;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001636extern asn_SET_specifics_t asn_SPC_ThreeOne_specs_1;
1637extern asn_TYPE_member_t asn_MBR_ThreeOne_1[2];
Lev Walkinb85a8132005-08-18 13:38:19 +00001638
1639/*** <<< POST-INCLUDE [ThreeOne] >>> ***/
1640
Lev Walkin22b5ed42006-09-13 02:51:20 +00001641#include "OneTwo.h"
1642#include "Gamma.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001643
1644/*** <<< STAT-DEFS [ThreeOne] >>> ***/
1645
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001646asn_TYPE_member_t asn_MBR_ThreeOne_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001647 { ATF_POINTER, 0, offsetof(struct ThreeOne, m31),
1648 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1649 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001650 .type = &asn_DEF_OneTwo,
Lev Walkinb85a8132005-08-18 13:38:19 +00001651 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001652 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001653 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1654 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001655 .name = "m31"
1656 },
1657 { ATF_POINTER, 0, offsetof(struct ThreeOne, g),
1658 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1659 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001660 .type = &asn_DEF_Gamma,
Lev Walkinb85a8132005-08-18 13:38:19 +00001661 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001662 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001663 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1664 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001665 .name = "g"
1666 },
1667};
Lev Walkina7591b52014-10-12 18:37:35 -07001668static const ber_tlv_tag_t asn_DEF_ThreeOne_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001669 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1670};
Lev Walkina7591b52014-10-12 18:37:35 -07001671static const asn_TYPE_tag2member_t asn_MAP_ThreeOne_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001672 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* m31 */
1673 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* g */
Lev Walkinb85a8132005-08-18 13:38:19 +00001674};
Lev Walkina7591b52014-10-12 18:37:35 -07001675static const uint8_t asn_MAP_ThreeOne_mmap_1[(2 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001676 (1 << 7) | (1 << 6)
1677};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001678asn_SET_specifics_t asn_SPC_ThreeOne_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001679 sizeof(struct ThreeOne),
1680 offsetof(struct ThreeOne, _asn_ctx),
1681 offsetof(struct ThreeOne, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +00001682 asn_MAP_ThreeOne_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001683 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001684 asn_MAP_ThreeOne_tag2el_1, /* Same as above */
Lev Walkinb85a8132005-08-18 13:38:19 +00001685 2, /* Count of tags in the CXER map */
1686 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -07001687 (const unsigned int *)asn_MAP_ThreeOne_mmap_1 /* Mandatory elements map */
Lev Walkinb85a8132005-08-18 13:38:19 +00001688};
1689asn_TYPE_descriptor_t asn_DEF_ThreeOne = {
1690 "ThreeOne",
1691 "ThreeOne",
1692 SET_free,
1693 SET_print,
1694 SET_constraint,
1695 SET_decode_ber,
1696 SET_encode_der,
1697 SET_decode_xer,
1698 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001699 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001700 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001701 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001702 asn_DEF_ThreeOne_tags_1,
1703 sizeof(asn_DEF_ThreeOne_tags_1)
1704 /sizeof(asn_DEF_ThreeOne_tags_1[0]), /* 1 */
1705 asn_DEF_ThreeOne_tags_1, /* Same as above */
1706 sizeof(asn_DEF_ThreeOne_tags_1)
1707 /sizeof(asn_DEF_ThreeOne_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001708 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001709 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001710 asn_MBR_ThreeOne_1,
1711 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001712 &asn_SPC_ThreeOne_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001713};
1714