blob: dfd38f3f583c552174bc215db3dbdb72006a36d6 [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,
Lev Walkin67a30122017-08-10 05:48:54 -070046 .type_selector = 0,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +000047 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040048 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +000049 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
50 .default_value = 0,
51 .name = "t-a"
52 },
53 { ATF_NOFLAGS, 0, offsetof(struct T, choice.t_b),
54 .tag = (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
55 .tag_mode = 0,
56 .type = &asn_DEF_OCTET_STRING,
Lev Walkin67a30122017-08-10 05:48:54 -070057 .type_selector = 0,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +000058 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040059 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +000060 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
61 .default_value = 0,
62 .name = "t-b"
63 },
64 { ATF_NOFLAGS, 0, offsetof(struct T, choice.t_c),
65 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
66 .tag_mode = +1, /* EXPLICIT tag at current level */
67 .type = &asn_DEF_Choice1,
Lev Walkin67a30122017-08-10 05:48:54 -070068 .type_selector = 0,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +000069 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040070 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +000071 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
72 .default_value = 0,
73 .name = "t-c"
74 },
75 { ATF_NOFLAGS, 0, offsetof(struct T, choice.t_d),
76 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
77 .tag_mode = -1, /* IMPLICIT tag at current level */
78 .type = &asn_DEF_Choice2,
Lev Walkin67a30122017-08-10 05:48:54 -070079 .type_selector = 0,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +000080 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040081 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +000082 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
83 .default_value = 0,
84 .name = "t-d"
85 },
86};
Lev Walkina7591b52014-10-12 18:37:35 -070087static const asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -070088 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* t-a */
89 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* t-b */
90 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 }, /* t-c */
91 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* t-d */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +000092};
93static asn_CHOICE_specifics_t asn_SPC_T_specs_1 = {
94 sizeof(struct T),
95 offsetof(struct T, _asn_ctx),
96 offsetof(struct T, present),
97 sizeof(((struct T *)0)->present),
Lev Walkine3917082017-08-23 10:29:38 -070098 .tag2el = asn_MAP_T_tag2el_1,
99 .tag2el_count = 4, /* Count of tags in the map */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000100 .canonical_order = 0,
101 .ext_start = -1 /* Extensions start */
102};
103asn_TYPE_descriptor_t asn_DEF_T = {
104 "T",
105 "T",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800106 &asn_OP_CHOICE,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000107 CHOICE_constraint,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000108 0, /* No effective tags (pointer) */
109 0, /* No effective tags (count) */
110 0, /* No tags (pointer) */
111 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400112 0, /* No OER visible constraints */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000113 0, /* No PER visible constraints */
114 asn_MBR_T_1,
115 4, /* Elements count */
116 &asn_SPC_T_specs_1 /* Additional specs */
117};
118
119
120/*** <<< INCLUDES [Choice1] >>> ***/
121
122#include <OCTET_STRING.h>
123#include <INTEGER.h>
124#include <constr_CHOICE.h>
125
126/*** <<< DEPS [Choice1] >>> ***/
127
128typedef enum Choice1_PR {
129 Choice1_PR_NOTHING, /* No components present */
130 Choice1_PR_c_a,
131 Choice1_PR_c_b
132} Choice1_PR;
133
134/*** <<< TYPE-DECLS [Choice1] >>> ***/
135
136typedef struct Choice1 {
137 Choice1_PR present;
138 union Choice1_u {
139 OCTET_STRING_t c_a;
140 INTEGER_t c_b;
141 } choice;
142
143 /* Context for parsing across buffer boundaries */
144 asn_struct_ctx_t _asn_ctx;
145} Choice1_t;
146
147/*** <<< FUNC-DECLS [Choice1] >>> ***/
148
149extern asn_TYPE_descriptor_t asn_DEF_Choice1;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800150extern asn_CHOICE_specifics_t asn_SPC_Choice1_specs_1;
151extern asn_TYPE_member_t asn_MBR_Choice1_1[2];
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000152
153/*** <<< STAT-DEFS [Choice1] >>> ***/
154
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800155asn_TYPE_member_t asn_MBR_Choice1_1[] = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000156 { ATF_NOFLAGS, 0, offsetof(struct Choice1, choice.c_a),
157 .tag = (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
158 .tag_mode = 0,
159 .type = &asn_DEF_OCTET_STRING,
Lev Walkin67a30122017-08-10 05:48:54 -0700160 .type_selector = 0,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000161 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400162 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000163 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
164 .default_value = 0,
165 .name = "c-a"
166 },
167 { ATF_NOFLAGS, 0, offsetof(struct Choice1, choice.c_b),
168 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
169 .tag_mode = 0,
170 .type = &asn_DEF_INTEGER,
Lev Walkin67a30122017-08-10 05:48:54 -0700171 .type_selector = 0,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000172 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400173 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000174 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
175 .default_value = 0,
176 .name = "c-b"
177 },
178};
Lev Walkina7591b52014-10-12 18:37:35 -0700179static const asn_TYPE_tag2member_t asn_MAP_Choice1_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700180 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* c-b */
181 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* c-a */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000182};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800183asn_CHOICE_specifics_t asn_SPC_Choice1_specs_1 = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000184 sizeof(struct Choice1),
185 offsetof(struct Choice1, _asn_ctx),
186 offsetof(struct Choice1, present),
187 sizeof(((struct Choice1 *)0)->present),
Lev Walkine3917082017-08-23 10:29:38 -0700188 .tag2el = asn_MAP_Choice1_tag2el_1,
189 .tag2el_count = 2, /* Count of tags in the map */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000190 .canonical_order = 0,
191 .ext_start = -1 /* Extensions start */
192};
193asn_TYPE_descriptor_t asn_DEF_Choice1 = {
194 "Choice1",
195 "Choice1",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800196 &asn_OP_CHOICE,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000197 CHOICE_constraint,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000198 0, /* No effective tags (pointer) */
199 0, /* No effective tags (count) */
200 0, /* No tags (pointer) */
201 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400202 0, /* No OER visible constraints */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000203 0, /* No PER visible constraints */
204 asn_MBR_Choice1_1,
205 2, /* Elements count */
206 &asn_SPC_Choice1_specs_1 /* Additional specs */
207};
208
209
210/*** <<< INCLUDES [Choice2] >>> ***/
211
212#include <OCTET_STRING.h>
213#include <INTEGER.h>
214#include "Choice1.h"
215#include <constr_CHOICE.h>
216
217/*** <<< DEPS [Choice2] >>> ***/
218
219typedef enum Choice2_PR {
220 Choice2_PR_NOTHING, /* No components present */
221 Choice2_PR_c_a,
222 Choice2_PR_c_b,
223 Choice2_PR_c_d,
224 Choice2_PR_c_e
225} Choice2_PR;
226
227/*** <<< TYPE-DECLS [Choice2] >>> ***/
228
229typedef struct Choice2 {
230 Choice2_PR present;
231 union Choice2_u {
232 OCTET_STRING_t c_a;
233 INTEGER_t c_b;
234 Choice1_t c_d;
235 Choice1_t c_e;
236 } choice;
237
238 /* Context for parsing across buffer boundaries */
239 asn_struct_ctx_t _asn_ctx;
240} Choice2_t;
241
242/*** <<< FUNC-DECLS [Choice2] >>> ***/
243
244extern asn_TYPE_descriptor_t asn_DEF_Choice2;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800245extern asn_CHOICE_specifics_t asn_SPC_Choice2_specs_1;
246extern asn_TYPE_member_t asn_MBR_Choice2_1[4];
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000247
248/*** <<< STAT-DEFS [Choice2] >>> ***/
249
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800250asn_TYPE_member_t asn_MBR_Choice2_1[] = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000251 { ATF_NOFLAGS, 0, offsetof(struct Choice2, choice.c_a),
252 .tag = (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
253 .tag_mode = 0,
254 .type = &asn_DEF_OCTET_STRING,
Lev Walkin67a30122017-08-10 05:48:54 -0700255 .type_selector = 0,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000256 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400257 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000258 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
259 .default_value = 0,
260 .name = "c-a"
261 },
262 { ATF_NOFLAGS, 0, offsetof(struct Choice2, choice.c_b),
263 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
264 .tag_mode = 0,
265 .type = &asn_DEF_INTEGER,
Lev Walkin67a30122017-08-10 05:48:54 -0700266 .type_selector = 0,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000267 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400268 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000269 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
270 .default_value = 0,
271 .name = "c-b"
272 },
273 { ATF_NOFLAGS, 0, offsetof(struct Choice2, choice.c_d),
274 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
275 .tag_mode = +1, /* EXPLICIT tag at current level */
276 .type = &asn_DEF_Choice1,
Lev Walkin67a30122017-08-10 05:48:54 -0700277 .type_selector = 0,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000278 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400279 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000280 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
281 .default_value = 0,
282 .name = "c-d"
283 },
284 { ATF_NOFLAGS, 0, offsetof(struct Choice2, choice.c_e),
285 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
286 .tag_mode = +1, /* EXPLICIT tag at current level */
287 .type = &asn_DEF_Choice1,
Lev Walkin67a30122017-08-10 05:48:54 -0700288 .type_selector = 0,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000289 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400290 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000291 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
292 .default_value = 0,
293 .name = "c-e"
294 },
295};
Lev Walkina7591b52014-10-12 18:37:35 -0700296static const ber_tlv_tag_t asn_DEF_Choice2_tags_1[] = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000297 (ASN_TAG_CLASS_CONTEXT | (2 << 2))
298};
Lev Walkina7591b52014-10-12 18:37:35 -0700299static const asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700300 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* c-b */
301 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 }, /* c-a */
302 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, 0, 0 }, /* c-d */
303 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 3, 0, 0 } /* c-e */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000304};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800305asn_CHOICE_specifics_t asn_SPC_Choice2_specs_1 = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000306 sizeof(struct Choice2),
307 offsetof(struct Choice2, _asn_ctx),
308 offsetof(struct Choice2, present),
309 sizeof(((struct Choice2 *)0)->present),
Lev Walkine3917082017-08-23 10:29:38 -0700310 .tag2el = asn_MAP_Choice2_tag2el_1,
311 .tag2el_count = 4, /* Count of tags in the map */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000312 .canonical_order = 0,
313 .ext_start = -1 /* Extensions start */
314};
315asn_TYPE_descriptor_t asn_DEF_Choice2 = {
316 "Choice2",
317 "Choice2",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800318 &asn_OP_CHOICE,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000319 CHOICE_constraint,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000320 asn_DEF_Choice2_tags_1,
321 sizeof(asn_DEF_Choice2_tags_1)
322 /sizeof(asn_DEF_Choice2_tags_1[0]), /* 1 */
323 asn_DEF_Choice2_tags_1, /* Same as above */
324 sizeof(asn_DEF_Choice2_tags_1)
325 /sizeof(asn_DEF_Choice2_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400326 0, /* No OER visible constraints */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000327 0, /* No PER visible constraints */
328 asn_MBR_Choice2_1,
329 4, /* Elements count */
330 &asn_SPC_Choice2_specs_1 /* Additional specs */
331};
332
333
334/*** <<< INCLUDES [Choice3] >>> ***/
335
336#include "Choice2.h"
337
338/*** <<< TYPE-DECLS [Choice3] >>> ***/
339
340typedef Choice2_t Choice3_t;
341
342/*** <<< FUNC-DECLS [Choice3] >>> ***/
343
344extern asn_TYPE_descriptor_t asn_DEF_Choice3;
345asn_struct_free_f Choice3_free;
346asn_struct_print_f Choice3_print;
347asn_constr_check_f Choice3_constraint;
348ber_type_decoder_f Choice3_decode_ber;
349der_type_encoder_f Choice3_encode_der;
350xer_type_decoder_f Choice3_decode_xer;
351xer_type_encoder_f Choice3_encode_xer;
352
353/*** <<< CODE [Choice3] >>> ***/
354
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000355/*
356 * This type is implemented using Choice2,
357 * so here we adjust the DEF accordingly.
358 */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000359
360/*** <<< STAT-DEFS [Choice3] >>> ***/
361
Lev Walkina7591b52014-10-12 18:37:35 -0700362static const ber_tlv_tag_t asn_DEF_Choice3_tags_1[] = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000363 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
364 (ASN_TAG_CLASS_CONTEXT | (2 << 2))
365};
366asn_TYPE_descriptor_t asn_DEF_Choice3 = {
367 "Choice3",
368 "Choice3",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800369 &asn_OP_CHOICE,
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800370 CHOICE_constraint,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000371 asn_DEF_Choice3_tags_1,
372 sizeof(asn_DEF_Choice3_tags_1)
373 /sizeof(asn_DEF_Choice3_tags_1[0]), /* 2 */
374 asn_DEF_Choice3_tags_1, /* Same as above */
375 sizeof(asn_DEF_Choice3_tags_1)
376 /sizeof(asn_DEF_Choice3_tags_1[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400377 0, /* No OER visible constraints */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000378 0, /* No PER visible constraints */
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800379 asn_MBR_Choice2_1,
380 4, /* Elements count */
381 &asn_SPC_Choice2_specs_1 /* Additional specs */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000382};
383
384
385/*** <<< INCLUDES [Choice4] >>> ***/
386
387#include "Choice2.h"
388
389/*** <<< TYPE-DECLS [Choice4] >>> ***/
390
391typedef Choice2_t Choice4_t;
392
393/*** <<< FUNC-DECLS [Choice4] >>> ***/
394
395extern asn_TYPE_descriptor_t asn_DEF_Choice4;
396asn_struct_free_f Choice4_free;
397asn_struct_print_f Choice4_print;
398asn_constr_check_f Choice4_constraint;
399ber_type_decoder_f Choice4_decode_ber;
400der_type_encoder_f Choice4_encode_der;
401xer_type_decoder_f Choice4_decode_xer;
402xer_type_encoder_f Choice4_encode_xer;
403
404/*** <<< CODE [Choice4] >>> ***/
405
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000406/*
407 * This type is implemented using Choice2,
408 * so here we adjust the DEF accordingly.
409 */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000410
411/*** <<< STAT-DEFS [Choice4] >>> ***/
412
Lev Walkina7591b52014-10-12 18:37:35 -0700413static const ber_tlv_tag_t asn_DEF_Choice4_tags_1[] = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000414 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
415 (ASN_TAG_CLASS_CONTEXT | (2 << 2))
416};
417asn_TYPE_descriptor_t asn_DEF_Choice4 = {
418 "Choice4",
419 "Choice4",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800420 &asn_OP_CHOICE,
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800421 CHOICE_constraint,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000422 asn_DEF_Choice4_tags_1,
423 sizeof(asn_DEF_Choice4_tags_1)
424 /sizeof(asn_DEF_Choice4_tags_1[0]) - 1, /* 1 */
425 asn_DEF_Choice4_tags_1, /* Same as above */
426 sizeof(asn_DEF_Choice4_tags_1)
427 /sizeof(asn_DEF_Choice4_tags_1[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400428 0, /* No OER visible constraints */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000429 0, /* No PER visible constraints */
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800430 asn_MBR_Choice2_1,
431 4, /* Elements count */
432 &asn_SPC_Choice2_specs_1 /* Additional specs */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000433};
434
435
436/*** <<< INCLUDES [Choice5] >>> ***/
437
438#include "Choice2.h"
439
440/*** <<< TYPE-DECLS [Choice5] >>> ***/
441
442typedef Choice2_t Choice5_t;
443
444/*** <<< FUNC-DECLS [Choice5] >>> ***/
445
446extern asn_TYPE_descriptor_t asn_DEF_Choice5;
447asn_struct_free_f Choice5_free;
448asn_struct_print_f Choice5_print;
449asn_constr_check_f Choice5_constraint;
450ber_type_decoder_f Choice5_decode_ber;
451der_type_encoder_f Choice5_encode_der;
452xer_type_decoder_f Choice5_decode_xer;
453xer_type_encoder_f Choice5_encode_xer;
454
455/*** <<< CODE [Choice5] >>> ***/
456
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000457/*
458 * This type is implemented using Choice2,
459 * so here we adjust the DEF accordingly.
460 */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000461
462/*** <<< STAT-DEFS [Choice5] >>> ***/
463
Lev Walkina7591b52014-10-12 18:37:35 -0700464static const ber_tlv_tag_t asn_DEF_Choice5_tags_1[] = {
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000465 (ASN_TAG_CLASS_CONTEXT | (2 << 2))
466};
467asn_TYPE_descriptor_t asn_DEF_Choice5 = {
468 "Choice5",
469 "Choice5",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800470 &asn_OP_CHOICE,
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800471 CHOICE_constraint,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000472 asn_DEF_Choice5_tags_1,
473 sizeof(asn_DEF_Choice5_tags_1)
474 /sizeof(asn_DEF_Choice5_tags_1[0]), /* 1 */
475 asn_DEF_Choice5_tags_1, /* Same as above */
476 sizeof(asn_DEF_Choice5_tags_1)
477 /sizeof(asn_DEF_Choice5_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400478 0, /* No OER visible constraints */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000479 0, /* No PER visible constraints */
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800480 asn_MBR_Choice2_1,
481 4, /* Elements count */
482 &asn_SPC_Choice2_specs_1 /* Additional specs */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000483};
484
485
486/*** <<< INCLUDES [Choice6] >>> ***/
487
488#include "Choice1.h"
489
490/*** <<< TYPE-DECLS [Choice6] >>> ***/
491
492typedef Choice1_t Choice6_t;
493
494/*** <<< FUNC-DECLS [Choice6] >>> ***/
495
496extern asn_TYPE_descriptor_t asn_DEF_Choice6;
497asn_struct_free_f Choice6_free;
498asn_struct_print_f Choice6_print;
499asn_constr_check_f Choice6_constraint;
500ber_type_decoder_f Choice6_decode_ber;
501der_type_encoder_f Choice6_encode_der;
502xer_type_decoder_f Choice6_decode_xer;
503xer_type_encoder_f Choice6_encode_xer;
504
505/*** <<< CODE [Choice6] >>> ***/
506
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000507/*
508 * This type is implemented using Choice1,
509 * so here we adjust the DEF accordingly.
510 */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000511
512/*** <<< STAT-DEFS [Choice6] >>> ***/
513
514asn_TYPE_descriptor_t asn_DEF_Choice6 = {
515 "Choice6",
516 "Choice6",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800517 &asn_OP_CHOICE,
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800518 CHOICE_constraint,
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000519 0, /* No effective tags (pointer) */
520 0, /* No effective tags (count) */
521 0, /* No tags (pointer) */
522 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400523 0, /* No OER visible constraints */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000524 0, /* No PER visible constraints */
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800525 asn_MBR_Choice1_1,
526 2, /* Elements count */
527 &asn_SPC_Choice1_specs_1 /* Additional specs */
Lev Walkin8c2ca0b2006-09-17 06:31:08 +0000528};
529