blob: e97312a9ea44da7e7590937a1f35a4141326a643 [file] [log] [blame]
Lev Walkin8c2ca0b2006-09-17 06:31:08 +00001
2/*** <<< INCLUDES [T] >>> ***/
3
4#include <INTEGER.h>
5#include <OCTET_STRING.h>
6#include "Choice1.h"
7#include "Choice2.h"
8#include <constr_CHOICE.h>
9
10/*** <<< DEPS [T] >>> ***/
11
12typedef enum T_PR {
13 T_PR_NOTHING, /* No components present */
14 T_PR_t_a,
15 T_PR_t_b,
16 T_PR_t_c,
17 T_PR_t_d
18} T_PR;
19
20/*** <<< TYPE-DECLS [T] >>> ***/
21
22typedef struct T {
23 T_PR present;
24 union T_u {
25 INTEGER_t t_a;
26 OCTET_STRING_t t_b;
27 Choice1_t t_c;
28 Choice2_t t_d;
29 } choice;
30
31 /* Context for parsing across buffer boundaries */
32 asn_struct_ctx_t _asn_ctx;
33} T_t;
34
35/*** <<< FUNC-DECLS [T] >>> ***/
36
37extern asn_TYPE_descriptor_t asn_DEF_T;
38
39/*** <<< STAT-DEFS [T] >>> ***/
40
41static asn_TYPE_member_t asn_MBR_T_1[] = {
42 { ATF_NOFLAGS, 0, offsetof(struct T, choice.t_a),
43 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
44 .tag_mode = 0,
45 .type = &asn_DEF_INTEGER,
46 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040047 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +000048 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
49 .default_value = 0,
50 .name = "t-a"
51 },
52 { ATF_NOFLAGS, 0, offsetof(struct T, choice.t_b),
53 .tag = (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
54 .tag_mode = 0,
55 .type = &asn_DEF_OCTET_STRING,
56 .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 Walkin8c2ca0b2006-09-17 06:31:08 +000058 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
59 .default_value = 0,
60 .name = "t-b"
61 },
62 { ATF_NOFLAGS, 0, offsetof(struct T, choice.t_c),
63 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
64 .tag_mode = +1, /* EXPLICIT tag at current level */
65 .type = &asn_DEF_Choice1,
66 .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 Walkin8c2ca0b2006-09-17 06:31:08 +000068 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
69 .default_value = 0,
70 .name = "t-c"
71 },
72 { ATF_NOFLAGS, 0, offsetof(struct T, choice.t_d),
73 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
74 .tag_mode = -1, /* IMPLICIT tag at current level */
75 .type = &asn_DEF_Choice2,
76 .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 Walkin8c2ca0b2006-09-17 06:31:08 +000078 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
79 .default_value = 0,
80 .name = "t-d"
81 },
82};
Lev Walkina7591b52014-10-12 18:37:35 -070083static const asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -070084 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* t-a */
85 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* t-b */
86 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 }, /* t-c */
87 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* t-d */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +000088};
89static asn_CHOICE_specifics_t asn_SPC_T_specs_1 = {
90 sizeof(struct T),
91 offsetof(struct T, _asn_ctx),
92 offsetof(struct T, present),
93 sizeof(((struct T *)0)->present),
94 asn_MAP_T_tag2el_1,
95 4, /* Count of tags in the map */
96 .canonical_order = 0,
97 .ext_start = -1 /* Extensions start */
98};
99asn_TYPE_descriptor_t asn_DEF_T = {
100 "T",
101 "T",
102 CHOICE_free,
103 CHOICE_print,
104 CHOICE_constraint,
105 CHOICE_decode_ber,
106 CHOICE_encode_der,
107 CHOICE_decode_xer,
108 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700109 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400110 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000111 CHOICE_outmost_tag,
112 0, /* No effective tags (pointer) */
113 0, /* No effective tags (count) */
114 0, /* No tags (pointer) */
115 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400116 0, /* No OER visible constraints */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000117 0, /* No PER visible constraints */
118 asn_MBR_T_1,
119 4, /* Elements count */
120 &asn_SPC_T_specs_1 /* Additional specs */
121};
122
123
124/*** <<< INCLUDES [Choice1] >>> ***/
125
126#include <OCTET_STRING.h>
127#include <INTEGER.h>
128#include <constr_CHOICE.h>
129
130/*** <<< DEPS [Choice1] >>> ***/
131
132typedef enum Choice1_PR {
133 Choice1_PR_NOTHING, /* No components present */
134 Choice1_PR_c_a,
135 Choice1_PR_c_b
136} Choice1_PR;
137
138/*** <<< TYPE-DECLS [Choice1] >>> ***/
139
140typedef struct Choice1 {
141 Choice1_PR present;
142 union Choice1_u {
143 OCTET_STRING_t c_a;
144 INTEGER_t c_b;
145 } choice;
146
147 /* Context for parsing across buffer boundaries */
148 asn_struct_ctx_t _asn_ctx;
149} Choice1_t;
150
151/*** <<< FUNC-DECLS [Choice1] >>> ***/
152
153extern asn_TYPE_descriptor_t asn_DEF_Choice1;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800154extern asn_CHOICE_specifics_t asn_SPC_Choice1_specs_1;
155extern asn_TYPE_member_t asn_MBR_Choice1_1[2];
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000156
157/*** <<< STAT-DEFS [Choice1] >>> ***/
158
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800159asn_TYPE_member_t asn_MBR_Choice1_1[] = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000160 { ATF_NOFLAGS, 0, offsetof(struct Choice1, choice.c_a),
161 .tag = (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
162 .tag_mode = 0,
163 .type = &asn_DEF_OCTET_STRING,
164 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400165 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000166 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
167 .default_value = 0,
168 .name = "c-a"
169 },
170 { ATF_NOFLAGS, 0, offsetof(struct Choice1, choice.c_b),
171 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
172 .tag_mode = 0,
173 .type = &asn_DEF_INTEGER,
174 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400175 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000176 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
177 .default_value = 0,
178 .name = "c-b"
179 },
180};
Lev Walkina7591b52014-10-12 18:37:35 -0700181static const asn_TYPE_tag2member_t asn_MAP_Choice1_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700182 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* c-b */
183 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* c-a */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000184};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800185asn_CHOICE_specifics_t asn_SPC_Choice1_specs_1 = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000186 sizeof(struct Choice1),
187 offsetof(struct Choice1, _asn_ctx),
188 offsetof(struct Choice1, present),
189 sizeof(((struct Choice1 *)0)->present),
190 asn_MAP_Choice1_tag2el_1,
191 2, /* Count of tags in the map */
192 .canonical_order = 0,
193 .ext_start = -1 /* Extensions start */
194};
195asn_TYPE_descriptor_t asn_DEF_Choice1 = {
196 "Choice1",
197 "Choice1",
198 CHOICE_free,
199 CHOICE_print,
200 CHOICE_constraint,
201 CHOICE_decode_ber,
202 CHOICE_encode_der,
203 CHOICE_decode_xer,
204 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700205 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400206 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000207 CHOICE_outmost_tag,
208 0, /* No effective tags (pointer) */
209 0, /* No effective tags (count) */
210 0, /* No tags (pointer) */
211 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400212 0, /* No OER visible constraints */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000213 0, /* No PER visible constraints */
214 asn_MBR_Choice1_1,
215 2, /* Elements count */
216 &asn_SPC_Choice1_specs_1 /* Additional specs */
217};
218
219
220/*** <<< INCLUDES [Choice2] >>> ***/
221
222#include <OCTET_STRING.h>
223#include <INTEGER.h>
224#include "Choice1.h"
225#include <constr_CHOICE.h>
226
227/*** <<< DEPS [Choice2] >>> ***/
228
229typedef enum Choice2_PR {
230 Choice2_PR_NOTHING, /* No components present */
231 Choice2_PR_c_a,
232 Choice2_PR_c_b,
233 Choice2_PR_c_d,
234 Choice2_PR_c_e
235} Choice2_PR;
236
237/*** <<< TYPE-DECLS [Choice2] >>> ***/
238
239typedef struct Choice2 {
240 Choice2_PR present;
241 union Choice2_u {
242 OCTET_STRING_t c_a;
243 INTEGER_t c_b;
244 Choice1_t c_d;
245 Choice1_t c_e;
246 } choice;
247
248 /* Context for parsing across buffer boundaries */
249 asn_struct_ctx_t _asn_ctx;
250} Choice2_t;
251
252/*** <<< FUNC-DECLS [Choice2] >>> ***/
253
254extern asn_TYPE_descriptor_t asn_DEF_Choice2;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800255extern asn_CHOICE_specifics_t asn_SPC_Choice2_specs_1;
256extern asn_TYPE_member_t asn_MBR_Choice2_1[4];
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000257
258/*** <<< STAT-DEFS [Choice2] >>> ***/
259
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800260asn_TYPE_member_t asn_MBR_Choice2_1[] = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000261 { ATF_NOFLAGS, 0, offsetof(struct Choice2, choice.c_a),
262 .tag = (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
263 .tag_mode = 0,
264 .type = &asn_DEF_OCTET_STRING,
265 .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 Walkin8c2ca0b2006-09-17 06:31:08 +0000267 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
268 .default_value = 0,
269 .name = "c-a"
270 },
271 { ATF_NOFLAGS, 0, offsetof(struct Choice2, choice.c_b),
272 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
273 .tag_mode = 0,
274 .type = &asn_DEF_INTEGER,
275 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400276 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000277 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
278 .default_value = 0,
279 .name = "c-b"
280 },
281 { ATF_NOFLAGS, 0, offsetof(struct Choice2, choice.c_d),
282 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
283 .tag_mode = +1, /* EXPLICIT tag at current level */
284 .type = &asn_DEF_Choice1,
285 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400286 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000287 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
288 .default_value = 0,
289 .name = "c-d"
290 },
291 { ATF_NOFLAGS, 0, offsetof(struct Choice2, choice.c_e),
292 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
293 .tag_mode = +1, /* EXPLICIT tag at current level */
294 .type = &asn_DEF_Choice1,
295 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400296 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000297 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
298 .default_value = 0,
299 .name = "c-e"
300 },
301};
Lev Walkina7591b52014-10-12 18:37:35 -0700302static const ber_tlv_tag_t asn_DEF_Choice2_tags_1[] = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000303 (ASN_TAG_CLASS_CONTEXT | (2 << 2))
304};
Lev Walkina7591b52014-10-12 18:37:35 -0700305static const asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700306 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* c-b */
307 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 }, /* c-a */
308 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, 0, 0 }, /* c-d */
309 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 3, 0, 0 } /* c-e */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000310};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800311asn_CHOICE_specifics_t asn_SPC_Choice2_specs_1 = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000312 sizeof(struct Choice2),
313 offsetof(struct Choice2, _asn_ctx),
314 offsetof(struct Choice2, present),
315 sizeof(((struct Choice2 *)0)->present),
316 asn_MAP_Choice2_tag2el_1,
317 4, /* Count of tags in the map */
318 .canonical_order = 0,
319 .ext_start = -1 /* Extensions start */
320};
321asn_TYPE_descriptor_t asn_DEF_Choice2 = {
322 "Choice2",
323 "Choice2",
324 CHOICE_free,
325 CHOICE_print,
326 CHOICE_constraint,
327 CHOICE_decode_ber,
328 CHOICE_encode_der,
329 CHOICE_decode_xer,
330 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700331 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400332 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000333 CHOICE_outmost_tag,
334 asn_DEF_Choice2_tags_1,
335 sizeof(asn_DEF_Choice2_tags_1)
336 /sizeof(asn_DEF_Choice2_tags_1[0]), /* 1 */
337 asn_DEF_Choice2_tags_1, /* Same as above */
338 sizeof(asn_DEF_Choice2_tags_1)
339 /sizeof(asn_DEF_Choice2_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400340 0, /* No OER visible constraints */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000341 0, /* No PER visible constraints */
342 asn_MBR_Choice2_1,
343 4, /* Elements count */
344 &asn_SPC_Choice2_specs_1 /* Additional specs */
345};
346
347
348/*** <<< INCLUDES [Choice3] >>> ***/
349
350#include "Choice2.h"
351
352/*** <<< TYPE-DECLS [Choice3] >>> ***/
353
354typedef Choice2_t Choice3_t;
355
356/*** <<< FUNC-DECLS [Choice3] >>> ***/
357
358extern asn_TYPE_descriptor_t asn_DEF_Choice3;
359asn_struct_free_f Choice3_free;
360asn_struct_print_f Choice3_print;
361asn_constr_check_f Choice3_constraint;
362ber_type_decoder_f Choice3_decode_ber;
363der_type_encoder_f Choice3_encode_der;
364xer_type_decoder_f Choice3_decode_xer;
365xer_type_encoder_f Choice3_encode_xer;
366
367/*** <<< CODE [Choice3] >>> ***/
368
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000369/*
370 * This type is implemented using Choice2,
371 * so here we adjust the DEF accordingly.
372 */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000373
374/*** <<< STAT-DEFS [Choice3] >>> ***/
375
Lev Walkina7591b52014-10-12 18:37:35 -0700376static const ber_tlv_tag_t asn_DEF_Choice3_tags_1[] = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000377 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
378 (ASN_TAG_CLASS_CONTEXT | (2 << 2))
379};
380asn_TYPE_descriptor_t asn_DEF_Choice3 = {
381 "Choice3",
382 "Choice3",
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800383 CHOICE_free,
384 CHOICE_print,
385 CHOICE_constraint,
386 CHOICE_decode_ber,
387 CHOICE_encode_der,
388 CHOICE_decode_xer,
389 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700390 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400391 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000392 CHOICE_outmost_tag,
393 asn_DEF_Choice3_tags_1,
394 sizeof(asn_DEF_Choice3_tags_1)
395 /sizeof(asn_DEF_Choice3_tags_1[0]), /* 2 */
396 asn_DEF_Choice3_tags_1, /* Same as above */
397 sizeof(asn_DEF_Choice3_tags_1)
398 /sizeof(asn_DEF_Choice3_tags_1[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400399 0, /* No OER visible constraints */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000400 0, /* No PER visible constraints */
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800401 asn_MBR_Choice2_1,
402 4, /* Elements count */
403 &asn_SPC_Choice2_specs_1 /* Additional specs */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000404};
405
406
407/*** <<< INCLUDES [Choice4] >>> ***/
408
409#include "Choice2.h"
410
411/*** <<< TYPE-DECLS [Choice4] >>> ***/
412
413typedef Choice2_t Choice4_t;
414
415/*** <<< FUNC-DECLS [Choice4] >>> ***/
416
417extern asn_TYPE_descriptor_t asn_DEF_Choice4;
418asn_struct_free_f Choice4_free;
419asn_struct_print_f Choice4_print;
420asn_constr_check_f Choice4_constraint;
421ber_type_decoder_f Choice4_decode_ber;
422der_type_encoder_f Choice4_encode_der;
423xer_type_decoder_f Choice4_decode_xer;
424xer_type_encoder_f Choice4_encode_xer;
425
426/*** <<< CODE [Choice4] >>> ***/
427
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000428/*
429 * This type is implemented using Choice2,
430 * so here we adjust the DEF accordingly.
431 */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000432
433/*** <<< STAT-DEFS [Choice4] >>> ***/
434
Lev Walkina7591b52014-10-12 18:37:35 -0700435static const ber_tlv_tag_t asn_DEF_Choice4_tags_1[] = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000436 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
437 (ASN_TAG_CLASS_CONTEXT | (2 << 2))
438};
439asn_TYPE_descriptor_t asn_DEF_Choice4 = {
440 "Choice4",
441 "Choice4",
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800442 CHOICE_free,
443 CHOICE_print,
444 CHOICE_constraint,
445 CHOICE_decode_ber,
446 CHOICE_encode_der,
447 CHOICE_decode_xer,
448 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700449 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400450 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000451 CHOICE_outmost_tag,
452 asn_DEF_Choice4_tags_1,
453 sizeof(asn_DEF_Choice4_tags_1)
454 /sizeof(asn_DEF_Choice4_tags_1[0]) - 1, /* 1 */
455 asn_DEF_Choice4_tags_1, /* Same as above */
456 sizeof(asn_DEF_Choice4_tags_1)
457 /sizeof(asn_DEF_Choice4_tags_1[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400458 0, /* No OER visible constraints */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000459 0, /* No PER visible constraints */
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800460 asn_MBR_Choice2_1,
461 4, /* Elements count */
462 &asn_SPC_Choice2_specs_1 /* Additional specs */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000463};
464
465
466/*** <<< INCLUDES [Choice5] >>> ***/
467
468#include "Choice2.h"
469
470/*** <<< TYPE-DECLS [Choice5] >>> ***/
471
472typedef Choice2_t Choice5_t;
473
474/*** <<< FUNC-DECLS [Choice5] >>> ***/
475
476extern asn_TYPE_descriptor_t asn_DEF_Choice5;
477asn_struct_free_f Choice5_free;
478asn_struct_print_f Choice5_print;
479asn_constr_check_f Choice5_constraint;
480ber_type_decoder_f Choice5_decode_ber;
481der_type_encoder_f Choice5_encode_der;
482xer_type_decoder_f Choice5_decode_xer;
483xer_type_encoder_f Choice5_encode_xer;
484
485/*** <<< CODE [Choice5] >>> ***/
486
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000487/*
488 * This type is implemented using Choice2,
489 * so here we adjust the DEF accordingly.
490 */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000491
492/*** <<< STAT-DEFS [Choice5] >>> ***/
493
Lev Walkina7591b52014-10-12 18:37:35 -0700494static const ber_tlv_tag_t asn_DEF_Choice5_tags_1[] = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000495 (ASN_TAG_CLASS_CONTEXT | (2 << 2))
496};
497asn_TYPE_descriptor_t asn_DEF_Choice5 = {
498 "Choice5",
499 "Choice5",
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800500 CHOICE_free,
501 CHOICE_print,
502 CHOICE_constraint,
503 CHOICE_decode_ber,
504 CHOICE_encode_der,
505 CHOICE_decode_xer,
506 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700507 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400508 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000509 CHOICE_outmost_tag,
510 asn_DEF_Choice5_tags_1,
511 sizeof(asn_DEF_Choice5_tags_1)
512 /sizeof(asn_DEF_Choice5_tags_1[0]), /* 1 */
513 asn_DEF_Choice5_tags_1, /* Same as above */
514 sizeof(asn_DEF_Choice5_tags_1)
515 /sizeof(asn_DEF_Choice5_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400516 0, /* No OER visible constraints */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000517 0, /* No PER visible constraints */
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800518 asn_MBR_Choice2_1,
519 4, /* Elements count */
520 &asn_SPC_Choice2_specs_1 /* Additional specs */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000521};
522
523
524/*** <<< INCLUDES [Choice6] >>> ***/
525
526#include "Choice1.h"
527
528/*** <<< TYPE-DECLS [Choice6] >>> ***/
529
530typedef Choice1_t Choice6_t;
531
532/*** <<< FUNC-DECLS [Choice6] >>> ***/
533
534extern asn_TYPE_descriptor_t asn_DEF_Choice6;
535asn_struct_free_f Choice6_free;
536asn_struct_print_f Choice6_print;
537asn_constr_check_f Choice6_constraint;
538ber_type_decoder_f Choice6_decode_ber;
539der_type_encoder_f Choice6_encode_der;
540xer_type_decoder_f Choice6_decode_xer;
541xer_type_encoder_f Choice6_encode_xer;
542
543/*** <<< CODE [Choice6] >>> ***/
544
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000545/*
546 * This type is implemented using Choice1,
547 * so here we adjust the DEF accordingly.
548 */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000549
550/*** <<< STAT-DEFS [Choice6] >>> ***/
551
552asn_TYPE_descriptor_t asn_DEF_Choice6 = {
553 "Choice6",
554 "Choice6",
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800555 CHOICE_free,
556 CHOICE_print,
557 CHOICE_constraint,
558 CHOICE_decode_ber,
559 CHOICE_encode_der,
560 CHOICE_decode_xer,
561 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700562 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400563 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000564 CHOICE_outmost_tag,
565 0, /* No effective tags (pointer) */
566 0, /* No effective tags (count) */
567 0, /* No tags (pointer) */
568 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400569 0, /* No OER visible constraints */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000570 0, /* No PER visible constraints */
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800571 asn_MBR_Choice1_1,
572 2, /* Elements count */
573 &asn_SPC_Choice1_specs_1 /* Additional specs */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000574};
575