Debian Codegraph @

tests/43-recursion-OK.asn1.-Pfwide-types

raw
1
2 /*** <<< INCLUDES [Test-structure-1] >>> ***/
3
4 #include <INTEGER.h>
5 #include <asn_SET_OF.h>
6 #include <constr_SET_OF.h>
7 #include <asn_SEQUENCE_OF.h>
8 #include <constr_SEQUENCE_OF.h>
9 #include <constr_SEQUENCE.h>
10
11 /*** <<< FWD-DECLS [Test-structure-1] >>> ***/
12
13 struct Test_structure_1;
14
15 /*** <<< TYPE-DECLS [Test-structure-1] >>> ***/
16
17 typedef struct Test_structure_1 {
18 struct t_member1 {
19 A_SET_OF(struct Test_structure_1) list;
20
21 /* Context for parsing across buffer boundaries */
22 asn_struct_ctx_t _asn_ctx;
23 } t_member1;
24 struct t_member2 {
25 A_SEQUENCE_OF(struct Test_structure_1) list;
26
27 /* Context for parsing across buffer boundaries */
28 asn_struct_ctx_t _asn_ctx;
29 } t_member2;
30 struct Test_structure_1 *t_member3 /* OPTIONAL */;
31 INTEGER_t t_member4;
32
33 /* Context for parsing across buffer boundaries */
34 asn_struct_ctx_t _asn_ctx;
35 } Test_structure_1_t;
36
37 /*** <<< FUNC-DECLS [Test-structure-1] >>> ***/
38
39 extern asn_TYPE_descriptor_t asn_DEF_Test_structure_1;
40
41 /*** <<< POST-INCLUDE [Test-structure-1] >>> ***/
42
43 #include "Test-structure-1.h"
44
45 /*** <<< STAT-DEFS [Test-structure-1] >>> ***/
46
47 static asn_TYPE_member_t asn_MBR_t_member1_2[] = {
48 { ATF_POINTER, 0, 0,
49 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
50 .tag_mode = 0,
51 .type = &asn_DEF_Test_structure_1,
52 .memb_constraints = 0, /* Defer constraints checking to the member type */
53 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
54 .default_value = 0,
55 .name = ""
56 },
57 };
58 static const ber_tlv_tag_t asn_DEF_t_member1_tags_2[] = {
59 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
60 };
61 static asn_SET_OF_specifics_t asn_SPC_t_member1_specs_2 = {
62 sizeof(struct t_member1),
63 offsetof(struct t_member1, _asn_ctx),
64 0, /* XER encoding is XMLDelimitedItemList */
65 };
66 static /* Use -fall-defs-global to expose */
67 asn_TYPE_descriptor_t asn_DEF_t_member1_2 = {
68 "t-member1",
69 "t-member1",
70 SET_OF_free,
71 SET_OF_print,
72 SET_OF_constraint,
73 SET_OF_decode_ber,
74 SET_OF_encode_der,
75 SET_OF_decode_xer,
76 SET_OF_encode_xer,
77 0, 0, /* No PER support, use "-gen-PER" to enable */
78 0, /* Use generic outmost tag fetcher */
79 asn_DEF_t_member1_tags_2,
80 sizeof(asn_DEF_t_member1_tags_2)
81 /sizeof(asn_DEF_t_member1_tags_2[0]), /* 1 */
82 asn_DEF_t_member1_tags_2, /* Same as above */
83 sizeof(asn_DEF_t_member1_tags_2)
84 /sizeof(asn_DEF_t_member1_tags_2[0]), /* 1 */
85 0, /* No PER visible constraints */
86 asn_MBR_t_member1_2,
87 1, /* Single element */
88 &asn_SPC_t_member1_specs_2 /* Additional specs */
89 };
90
91 static asn_TYPE_member_t asn_MBR_t_member2_4[] = {
92 { ATF_POINTER, 0, 0,
93 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
94 .tag_mode = 0,
95 .type = &asn_DEF_Test_structure_1,
96 .memb_constraints = 0, /* Defer constraints checking to the member type */
97 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
98 .default_value = 0,
99 .name = ""
100 },
101 };
102 static const ber_tlv_tag_t asn_DEF_t_member2_tags_4[] = {
103 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
104 };
105 static asn_SET_OF_specifics_t asn_SPC_t_member2_specs_4 = {
106 sizeof(struct t_member2),
107 offsetof(struct t_member2, _asn_ctx),
108 0, /* XER encoding is XMLDelimitedItemList */
109 };
110 static /* Use -fall-defs-global to expose */
111 asn_TYPE_descriptor_t asn_DEF_t_member2_4 = {
112 "t-member2",
113 "t-member2",
114 SEQUENCE_OF_free,
115 SEQUENCE_OF_print,
116 SEQUENCE_OF_constraint,
117 SEQUENCE_OF_decode_ber,
118 SEQUENCE_OF_encode_der,
119 SEQUENCE_OF_decode_xer,
120 SEQUENCE_OF_encode_xer,
121 0, 0, /* No PER support, use "-gen-PER" to enable */
122 0, /* Use generic outmost tag fetcher */
123 asn_DEF_t_member2_tags_4,
124 sizeof(asn_DEF_t_member2_tags_4)
125 /sizeof(asn_DEF_t_member2_tags_4[0]), /* 1 */
126 asn_DEF_t_member2_tags_4, /* Same as above */
127 sizeof(asn_DEF_t_member2_tags_4)
128 /sizeof(asn_DEF_t_member2_tags_4[0]), /* 1 */
129 0, /* No PER visible constraints */
130 asn_MBR_t_member2_4,
131 1, /* Single element */
132 &asn_SPC_t_member2_specs_4 /* Additional specs */
133 };
134
135 static asn_TYPE_member_t asn_MBR_Test_structure_1_1[] = {
136 { ATF_NOFLAGS, 0, offsetof(struct Test_structure_1, t_member1),
137 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
138 .tag_mode = 0,
139 .type = &asn_DEF_t_member1_2,
140 .memb_constraints = 0, /* Defer constraints checking to the member type */
141 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
142 .default_value = 0,
143 .name = "t-member1"
144 },
145 { ATF_NOFLAGS, 0, offsetof(struct Test_structure_1, t_member2),
146 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
147 .tag_mode = 0,
148 .type = &asn_DEF_t_member2_4,
149 .memb_constraints = 0, /* Defer constraints checking to the member type */
150 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
151 .default_value = 0,
152 .name = "t-member2"
153 },
154 { ATF_POINTER, 1, offsetof(struct Test_structure_1, t_member3),
155 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
156 .tag_mode = 0,
157 .type = &asn_DEF_Test_structure_1,
158 .memb_constraints = 0, /* Defer constraints checking to the member type */
159 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
160 .default_value = 0,
161 .name = "t-member3"
162 },
163 { ATF_NOFLAGS, 0, offsetof(struct Test_structure_1, t_member4),
164 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
165 .tag_mode = 0,
166 .type = &asn_DEF_INTEGER,
167 .memb_constraints = 0, /* Defer constraints checking to the member type */
168 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
169 .default_value = 0,
170 .name = "t-member4"
171 },
172 };
173 static const ber_tlv_tag_t asn_DEF_Test_structure_1_tags_1[] = {
174 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
175 };
176 static const asn_TYPE_tag2member_t asn_MAP_Test_structure_1_tag2el_1[] = {
177 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* t-member4 */
178 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 1 }, /* t-member2 */
179 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -1, 0 }, /* t-member3 */
180 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* t-member1 */
181 };
182 static asn_SEQUENCE_specifics_t asn_SPC_Test_structure_1_specs_1 = {
183 sizeof(struct Test_structure_1),
184 offsetof(struct Test_structure_1, _asn_ctx),
185 asn_MAP_Test_structure_1_tag2el_1,
186 4, /* Count of tags in the map */
187 0, 0, 0, /* Optional elements (not needed) */
188 -1, /* Start extensions */
189 -1 /* Stop extensions */
190 };
191 asn_TYPE_descriptor_t asn_DEF_Test_structure_1 = {
192 "Test-structure-1",
193 "Test-structure-1",
194 SEQUENCE_free,
195 SEQUENCE_print,
196 SEQUENCE_constraint,
197 SEQUENCE_decode_ber,
198 SEQUENCE_encode_der,
199 SEQUENCE_decode_xer,
200 SEQUENCE_encode_xer,
201 0, 0, /* No PER support, use "-gen-PER" to enable */
202 0, /* Use generic outmost tag fetcher */
203 asn_DEF_Test_structure_1_tags_1,
204 sizeof(asn_DEF_Test_structure_1_tags_1)
205 /sizeof(asn_DEF_Test_structure_1_tags_1[0]), /* 1 */
206 asn_DEF_Test_structure_1_tags_1, /* Same as above */
207 sizeof(asn_DEF_Test_structure_1_tags_1)
208 /sizeof(asn_DEF_Test_structure_1_tags_1[0]), /* 1 */
209 0, /* No PER visible constraints */
210 asn_MBR_Test_structure_1_1,
211 4, /* Elements count */
212 &asn_SPC_Test_structure_1_specs_1 /* Additional specs */
213 };
214
215
216 /*** <<< INCLUDES [Choice-1] >>> ***/
217
218 #include <INTEGER.h>
219 #include <asn_SET_OF.h>
220 #include <constr_SET_OF.h>
221 #include <constr_CHOICE.h>
222
223 /*** <<< DEPS [Choice-1] >>> ***/
224
225 typedef enum Choice_1_PR {
226 Choice_1_PR_NOTHING, /* No components present */
227 Choice_1_PR_and,
228 Choice_1_PR_or,
229 Choice_1_PR_not,
230 Choice_1_PR_other
231 } Choice_1_PR;
232
233 /*** <<< FWD-DECLS [Choice-1] >>> ***/
234
235 struct Choice_1;
236
237 /*** <<< TYPE-DECLS [Choice-1] >>> ***/
238
239 typedef struct Choice_1 {
240 Choice_1_PR present;
241 union Choice_1_u {
242 struct Choice_1 *And;
243 struct Or {
244 A_SET_OF(struct Choice_1) list;
245
246 /* Context for parsing across buffer boundaries */
247 asn_struct_ctx_t _asn_ctx;
248 } Or;
249 struct Choice_1 *Not;
250 INTEGER_t other;
251 } choice;
252
253 /* Context for parsing across buffer boundaries */
254 asn_struct_ctx_t _asn_ctx;
255 } Choice_1_t;
256
257 /*** <<< FUNC-DECLS [Choice-1] >>> ***/
258
259 extern asn_TYPE_descriptor_t asn_DEF_Choice_1;
260
261 /*** <<< POST-INCLUDE [Choice-1] >>> ***/
262
263 #include "Choice-1.h"
264
265 /*** <<< STAT-DEFS [Choice-1] >>> ***/
266
267 static asn_TYPE_member_t asn_MBR_or_3[] = {
268 { ATF_POINTER, 0, 0,
269 .tag = -1 /* Ambiguous tag (CHOICE?) */,
270 .tag_mode = 0,
271 .type = &asn_DEF_Choice_1,
272 .memb_constraints = 0, /* Defer constraints checking to the member type */
273 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
274 .default_value = 0,
275 .name = ""
276 },
277 };
278 static const ber_tlv_tag_t asn_DEF_or_tags_3[] = {
279 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
280 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
281 };
282 static asn_SET_OF_specifics_t asn_SPC_or_specs_3 = {
283 sizeof(struct Or),
284 offsetof(struct Or, _asn_ctx),
285 2, /* XER encoding is XMLValueList */
286 };
287 static /* Use -fall-defs-global to expose */
288 asn_TYPE_descriptor_t asn_DEF_or_3 = {
289 "or",
290 "or",
291 SET_OF_free,
292 SET_OF_print,
293 SET_OF_constraint,
294 SET_OF_decode_ber,
295 SET_OF_encode_der,
296 SET_OF_decode_xer,
297 SET_OF_encode_xer,
298 0, 0, /* No PER support, use "-gen-PER" to enable */
299 0, /* Use generic outmost tag fetcher */
300 asn_DEF_or_tags_3,
301 sizeof(asn_DEF_or_tags_3)
302 /sizeof(asn_DEF_or_tags_3[0]) - 1, /* 1 */
303 asn_DEF_or_tags_3, /* Same as above */
304 sizeof(asn_DEF_or_tags_3)
305 /sizeof(asn_DEF_or_tags_3[0]), /* 2 */
306 0, /* No PER visible constraints */
307 asn_MBR_or_3,
308 1, /* Single element */
309 &asn_SPC_or_specs_3 /* Additional specs */
310 };
311
312 static asn_TYPE_member_t asn_MBR_Choice_1_1[] = {
313 { ATF_POINTER, 0, offsetof(struct Choice_1, choice.And),
314 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
315 .tag_mode = +1, /* EXPLICIT tag at current level */
316 .type = &asn_DEF_Choice_1,
317 .memb_constraints = 0, /* Defer constraints checking to the member type */
318 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
319 .default_value = 0,
320 .name = "and"
321 },
322 { ATF_NOFLAGS, 0, offsetof(struct Choice_1, choice.Or),
323 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
324 .tag_mode = 0,
325 .type = &asn_DEF_or_3,
326 .memb_constraints = 0, /* Defer constraints checking to the member type */
327 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
328 .default_value = 0,
329 .name = "or"
330 },
331 { ATF_POINTER, 0, offsetof(struct Choice_1, choice.Not),
332 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
333 .tag_mode = +1, /* EXPLICIT tag at current level */
334 .type = &asn_DEF_Choice_1,
335 .memb_constraints = 0, /* Defer constraints checking to the member type */
336 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
337 .default_value = 0,
338 .name = "not"
339 },
340 { ATF_NOFLAGS, 0, offsetof(struct Choice_1, choice.other),
341 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
342 .tag_mode = +1, /* EXPLICIT tag at current level */
343 .type = &asn_DEF_INTEGER,
344 .memb_constraints = 0, /* Defer constraints checking to the member type */
345 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
346 .default_value = 0,
347 .name = "other"
348 },
349 };
350 static const asn_TYPE_tag2member_t asn_MAP_Choice_1_tag2el_1[] = {
351 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* and */
352 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* or */
353 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, 0, 0 }, /* not */
354 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 3, 0, 0 } /* other */
355 };
356 static asn_CHOICE_specifics_t asn_SPC_Choice_1_specs_1 = {
357 sizeof(struct Choice_1),
358 offsetof(struct Choice_1, _asn_ctx),
359 offsetof(struct Choice_1, present),
360 sizeof(((struct Choice_1 *)0)->present),
361 asn_MAP_Choice_1_tag2el_1,
362 4, /* Count of tags in the map */
363 .canonical_order = 0,
364 .ext_start = -1 /* Extensions start */
365 };
366 asn_TYPE_descriptor_t asn_DEF_Choice_1 = {
367 "Choice-1",
368 "Choice-1",
369 CHOICE_free,
370 CHOICE_print,
371 CHOICE_constraint,
372 CHOICE_decode_ber,
373 CHOICE_encode_der,
374 CHOICE_decode_xer,
375 CHOICE_encode_xer,
376 0, 0, /* No PER support, use "-gen-PER" to enable */
377 CHOICE_outmost_tag,
378 0, /* No effective tags (pointer) */
379 0, /* No effective tags (count) */
380 0, /* No tags (pointer) */
381 0, /* No tags (count) */
382 0, /* No PER visible constraints */
383 asn_MBR_Choice_1_1,
384 4, /* Elements count */
385 &asn_SPC_Choice_1_specs_1 /* Additional specs */
386 };
387
388
389 /*** <<< INCLUDES [Test-structure-2] >>> ***/
390
391 #include <constr_SET.h>
392
393 /*** <<< DEPS [Test-structure-2] >>> ***/
394
395
396 /*
397 * Method of determining the components presence
398 */
399 typedef enum Test_structure_2_PR {
400 Test_structure_2_PR_m1, /* Member m1 is present */
401 } Test_structure_2_PR;
402
403 /*** <<< FWD-DECLS [Test-structure-2] >>> ***/
404
405 struct Test_structure_3;
406
407 /*** <<< TYPE-DECLS [Test-structure-2] >>> ***/
408
409 typedef struct Test_structure_2 {
410 struct Test_structure_3 *m1 /* OPTIONAL */;
411
412 /* Presence bitmask: ASN_SET_ISPRESENT(pTest_structure_2, Test_structure_2_PR_x) */
413 unsigned int _presence_map
414 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
415
416 /* Context for parsing across buffer boundaries */
417 asn_struct_ctx_t _asn_ctx;
418 } Test_structure_2_t;
419
420 /*** <<< FUNC-DECLS [Test-structure-2] >>> ***/
421
422 extern asn_TYPE_descriptor_t asn_DEF_Test_structure_2;
423
424 /*** <<< POST-INCLUDE [Test-structure-2] >>> ***/
425
426 #include "Test-structure-3.h"
427
428 /*** <<< STAT-DEFS [Test-structure-2] >>> ***/
429
430 static asn_TYPE_member_t asn_MBR_Test_structure_2_1[] = {
431 { ATF_POINTER, 1, offsetof(struct Test_structure_2, m1),
432 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
433 .tag_mode = 0,
434 .type = &asn_DEF_Test_structure_3,
435 .memb_constraints = 0, /* Defer constraints checking to the member type */
436 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
437 .default_value = 0,
438 .name = "m1"
439 },
440 };
441 static const ber_tlv_tag_t asn_DEF_Test_structure_2_tags_1[] = {
442 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
443 };
444 static const asn_TYPE_tag2member_t asn_MAP_Test_structure_2_tag2el_1[] = {
445 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* m1 */
446 };
447 static const uint8_t asn_MAP_Test_structure_2_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
448 (0 << 7)
449 };
450 static asn_SET_specifics_t asn_SPC_Test_structure_2_specs_1 = {
451 sizeof(struct Test_structure_2),
452 offsetof(struct Test_structure_2, _asn_ctx),
453 offsetof(struct Test_structure_2, _presence_map),
454 asn_MAP_Test_structure_2_tag2el_1,
455 1, /* Count of tags in the map */
456 asn_MAP_Test_structure_2_tag2el_1, /* Same as above */
457 1, /* Count of tags in the CXER map */
458 0, /* Whether extensible */
459 (unsigned int *)asn_MAP_Test_structure_2_mmap_1 /* Mandatory elements map */
460 };
461 asn_TYPE_descriptor_t asn_DEF_Test_structure_2 = {
462 "Test-structure-2",
463 "Test-structure-2",
464 SET_free,
465 SET_print,
466 SET_constraint,
467 SET_decode_ber,
468 SET_encode_der,
469 SET_decode_xer,
470 SET_encode_xer,
471 0, 0, /* No PER support, use "-gen-PER" to enable */
472 0, /* Use generic outmost tag fetcher */
473 asn_DEF_Test_structure_2_tags_1,
474 sizeof(asn_DEF_Test_structure_2_tags_1)
475 /sizeof(asn_DEF_Test_structure_2_tags_1[0]), /* 1 */
476 asn_DEF_Test_structure_2_tags_1, /* Same as above */
477 sizeof(asn_DEF_Test_structure_2_tags_1)
478 /sizeof(asn_DEF_Test_structure_2_tags_1[0]), /* 1 */
479 0, /* No PER visible constraints */
480 asn_MBR_Test_structure_2_1,
481 1, /* Elements count */
482 &asn_SPC_Test_structure_2_specs_1 /* Additional specs */
483 };
484
485
486 /*** <<< INCLUDES [Test-structure-3] >>> ***/
487
488 #include <constr_SET.h>
489
490 /*** <<< DEPS [Test-structure-3] >>> ***/
491
492
493 /*
494 * Method of determining the components presence
495 */
496 typedef enum Test_structure_3_PR {
497 Test_structure_3_PR_m1, /* Member m1 is present */
498 } Test_structure_3_PR;
499
500 /*** <<< FWD-DECLS [Test-structure-3] >>> ***/
501
502 struct Test_structure_2;
503
504 /*** <<< TYPE-DECLS [Test-structure-3] >>> ***/
505
506 typedef struct Test_structure_3 {
507 struct Test_structure_2 *m1 /* OPTIONAL */;
508
509 /* Presence bitmask: ASN_SET_ISPRESENT(pTest_structure_3, Test_structure_3_PR_x) */
510 unsigned int _presence_map
511 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
512
513 /* Context for parsing across buffer boundaries */
514 asn_struct_ctx_t _asn_ctx;
515 } Test_structure_3_t;
516
517 /*** <<< FUNC-DECLS [Test-structure-3] >>> ***/
518
519 extern asn_TYPE_descriptor_t asn_DEF_Test_structure_3;
520
521 /*** <<< POST-INCLUDE [Test-structure-3] >>> ***/
522
523 #include "Test-structure-2.h"
524
525 /*** <<< STAT-DEFS [Test-structure-3] >>> ***/
526
527 static asn_TYPE_member_t asn_MBR_Test_structure_3_1[] = {
528 { ATF_POINTER, 1, offsetof(struct Test_structure_3, m1),
529 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
530 .tag_mode = 0,
531 .type = &asn_DEF_Test_structure_2,
532 .memb_constraints = 0, /* Defer constraints checking to the member type */
533 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
534 .default_value = 0,
535 .name = "m1"
536 },
537 };
538 static const ber_tlv_tag_t asn_DEF_Test_structure_3_tags_1[] = {
539 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
540 };
541 static const asn_TYPE_tag2member_t asn_MAP_Test_structure_3_tag2el_1[] = {
542 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* m1 */
543 };
544 static const uint8_t asn_MAP_Test_structure_3_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
545 (0 << 7)
546 };
547 static asn_SET_specifics_t asn_SPC_Test_structure_3_specs_1 = {
548 sizeof(struct Test_structure_3),
549 offsetof(struct Test_structure_3, _asn_ctx),
550 offsetof(struct Test_structure_3, _presence_map),
551 asn_MAP_Test_structure_3_tag2el_1,
552 1, /* Count of tags in the map */
553 asn_MAP_Test_structure_3_tag2el_1, /* Same as above */
554 1, /* Count of tags in the CXER map */
555 0, /* Whether extensible */
556 (unsigned int *)asn_MAP_Test_structure_3_mmap_1 /* Mandatory elements map */
557 };
558 asn_TYPE_descriptor_t asn_DEF_Test_structure_3 = {
559 "Test-structure-3",
560 "Test-structure-3",
561 SET_free,
562 SET_print,
563 SET_constraint,
564 SET_decode_ber,
565 SET_encode_der,
566 SET_decode_xer,
567 SET_encode_xer,
568 0, 0, /* No PER support, use "-gen-PER" to enable */
569 0, /* Use generic outmost tag fetcher */
570 asn_DEF_Test_structure_3_tags_1,
571 sizeof(asn_DEF_Test_structure_3_tags_1)
572 /sizeof(asn_DEF_Test_structure_3_tags_1[0]), /* 1 */
573 asn_DEF_Test_structure_3_tags_1, /* Same as above */
574 sizeof(asn_DEF_Test_structure_3_tags_1)
575 /sizeof(asn_DEF_Test_structure_3_tags_1[0]), /* 1 */
576 0, /* No PER visible constraints */
577 asn_MBR_Test_structure_3_1,
578 1, /* Elements count */
579 &asn_SPC_Test_structure_3_specs_1 /* Additional specs */
580 };
581