blob: 19d7d5f125629c39ac515fbe2c720fc7915cae2d [file] [log] [blame]
Lev Walkin67ec2092004-09-08 00:26:56 +00001
2/*** <<< INCLUDES [Test-structure-1] >>> ***/
3
Lev Walkin67ec2092004-09-08 00:26:56 +00004#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
Lev Walkinc8285712005-03-04 22:18:20 +000011/*** <<< FWD-DECLS [Test-structure-1] >>> ***/
Lev Walkin1ca69672004-09-29 13:19:12 +000012
Lev Walkinbf56d542005-03-04 23:50:56 +000013struct Test_structure_1;
Lev Walkin67ec2092004-09-08 00:26:56 +000014
15/*** <<< TYPE-DECLS [Test-structure-1] >>> ***/
16
Lev Walkin67ec2092004-09-08 00:26:56 +000017typedef 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 */
Lev Walkin1ca69672004-09-29 13:19:12 +000022 asn_struct_ctx_t _asn_ctx;
Lev Walkin67ec2092004-09-08 00:26:56 +000023 } t_member1;
24 struct t_member2 {
25 A_SEQUENCE_OF(struct Test_structure_1) list;
26
27 /* Context for parsing across buffer boundaries */
Lev Walkin1ca69672004-09-29 13:19:12 +000028 asn_struct_ctx_t _asn_ctx;
Lev Walkin67ec2092004-09-08 00:26:56 +000029 } t_member2;
30 struct Test_structure_1 *t_member3 /* OPTIONAL */;
31 INTEGER_t t_member4;
32
33 /* Context for parsing across buffer boundaries */
Lev Walkin1ca69672004-09-29 13:19:12 +000034 asn_struct_ctx_t _asn_ctx;
Lev Walkin67ec2092004-09-08 00:26:56 +000035} Test_structure_1_t;
36
Lev Walkinc8285712005-03-04 22:18:20 +000037/*** <<< FUNC-DECLS [Test-structure-1] >>> ***/
38
39extern asn_TYPE_descriptor_t asn_DEF_Test_structure_1;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080040extern asn_SEQUENCE_specifics_t asn_SPC_Test_structure_1_specs_1;
41extern asn_TYPE_member_t asn_MBR_Test_structure_1_1[4];
Lev Walkinc8285712005-03-04 22:18:20 +000042
43/*** <<< POST-INCLUDE [Test-structure-1] >>> ***/
44
Lev Walkin22b5ed42006-09-13 02:51:20 +000045#include "Test-structure-1.h"
Lev Walkinc8285712005-03-04 22:18:20 +000046
Lev Walkin67ec2092004-09-08 00:26:56 +000047/*** <<< STAT-DEFS [Test-structure-1] >>> ***/
48
Lev Walkine0272aa2005-03-04 11:26:08 +000049static asn_TYPE_member_t asn_MBR_t_member1_2[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +000050 { ATF_POINTER, 0, 0,
Lev Walkin67ec2092004-09-08 00:26:56 +000051 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
52 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +000053 .type = &asn_DEF_Test_structure_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +000054 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040055 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000056 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
57 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +000058 .name = ""
59 },
60};
Lev Walkina7591b52014-10-12 18:37:35 -070061static const ber_tlv_tag_t asn_DEF_t_member1_tags_2[] = {
Lev Walkin67ec2092004-09-08 00:26:56 +000062 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
63};
Lev Walkin59b176e2005-11-26 11:25:14 +000064static asn_SET_OF_specifics_t asn_SPC_t_member1_specs_2 = {
Lev Walkin67ec2092004-09-08 00:26:56 +000065 sizeof(struct t_member1),
Lev Walkin1ca69672004-09-29 13:19:12 +000066 offsetof(struct t_member1, _asn_ctx),
Lev Walkina9cc46e2004-09-22 16:06:28 +000067 0, /* XER encoding is XMLDelimitedItemList */
Lev Walkin67ec2092004-09-08 00:26:56 +000068};
69static /* Use -fall-defs-global to expose */
Lev Walkine0272aa2005-03-04 11:26:08 +000070asn_TYPE_descriptor_t asn_DEF_t_member1_2 = {
Lev Walkin67ec2092004-09-08 00:26:56 +000071 "t-member1",
Lev Walkindc06f6b2004-10-20 15:50:55 +000072 "t-member1",
Lev Walkina9cc46e2004-09-22 16:06:28 +000073 SET_OF_free,
74 SET_OF_print,
Lev Walkin67ec2092004-09-08 00:26:56 +000075 SET_OF_constraint,
76 SET_OF_decode_ber,
77 SET_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +000078 SET_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +000079 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -070080 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +040081 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin67ec2092004-09-08 00:26:56 +000082 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +000083 asn_DEF_t_member1_tags_2,
84 sizeof(asn_DEF_t_member1_tags_2)
85 /sizeof(asn_DEF_t_member1_tags_2[0]), /* 1 */
86 asn_DEF_t_member1_tags_2, /* Same as above */
87 sizeof(asn_DEF_t_member1_tags_2)
88 /sizeof(asn_DEF_t_member1_tags_2[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +040089 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +000090 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +000091 asn_MBR_t_member1_2,
Lev Walkin67ec2092004-09-08 00:26:56 +000092 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +000093 &asn_SPC_t_member1_specs_2 /* Additional specs */
Lev Walkin67ec2092004-09-08 00:26:56 +000094};
95
Lev Walkine8318b82005-03-06 09:29:03 +000096static asn_TYPE_member_t asn_MBR_t_member2_4[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +000097 { ATF_POINTER, 0, 0,
Lev Walkin67ec2092004-09-08 00:26:56 +000098 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
99 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000100 .type = &asn_DEF_Test_structure_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000101 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400102 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000103 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
104 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000105 .name = ""
106 },
107};
Lev Walkina7591b52014-10-12 18:37:35 -0700108static const ber_tlv_tag_t asn_DEF_t_member2_tags_4[] = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000109 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
110};
Lev Walkin59b176e2005-11-26 11:25:14 +0000111static asn_SET_OF_specifics_t asn_SPC_t_member2_specs_4 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000112 sizeof(struct t_member2),
Lev Walkin1ca69672004-09-29 13:19:12 +0000113 offsetof(struct t_member2, _asn_ctx),
Lev Walkina9cc46e2004-09-22 16:06:28 +0000114 0, /* XER encoding is XMLDelimitedItemList */
Lev Walkin67ec2092004-09-08 00:26:56 +0000115};
116static /* Use -fall-defs-global to expose */
Lev Walkine8318b82005-03-06 09:29:03 +0000117asn_TYPE_descriptor_t asn_DEF_t_member2_4 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000118 "t-member2",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000119 "t-member2",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000120 SEQUENCE_OF_free,
121 SEQUENCE_OF_print,
Lev Walkin67ec2092004-09-08 00:26:56 +0000122 SEQUENCE_OF_constraint,
123 SEQUENCE_OF_decode_ber,
124 SEQUENCE_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000125 SEQUENCE_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000126 SEQUENCE_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700127 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400128 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin67ec2092004-09-08 00:26:56 +0000129 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000130 asn_DEF_t_member2_tags_4,
131 sizeof(asn_DEF_t_member2_tags_4)
132 /sizeof(asn_DEF_t_member2_tags_4[0]), /* 1 */
133 asn_DEF_t_member2_tags_4, /* Same as above */
134 sizeof(asn_DEF_t_member2_tags_4)
135 /sizeof(asn_DEF_t_member2_tags_4[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400136 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000137 0, /* No PER visible constraints */
Lev Walkine8318b82005-03-06 09:29:03 +0000138 asn_MBR_t_member2_4,
Lev Walkin67ec2092004-09-08 00:26:56 +0000139 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000140 &asn_SPC_t_member2_specs_4 /* Additional specs */
Lev Walkin67ec2092004-09-08 00:26:56 +0000141};
142
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800143asn_TYPE_member_t asn_MBR_Test_structure_1_1[] = {
Lev Walkincc93b0f2004-09-10 09:18:20 +0000144 { ATF_NOFLAGS, 0, offsetof(struct Test_structure_1, t_member1),
Lev Walkin67ec2092004-09-08 00:26:56 +0000145 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
146 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000147 .type = &asn_DEF_t_member1_2,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000148 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400149 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000150 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
151 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000152 .name = "t-member1"
153 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000154 { ATF_NOFLAGS, 0, offsetof(struct Test_structure_1, t_member2),
Lev Walkin67ec2092004-09-08 00:26:56 +0000155 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
156 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000157 .type = &asn_DEF_t_member2_4,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000158 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400159 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000160 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
161 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000162 .name = "t-member2"
163 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000164 { ATF_POINTER, 1, offsetof(struct Test_structure_1, t_member3),
Lev Walkin67ec2092004-09-08 00:26:56 +0000165 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
166 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000167 .type = &asn_DEF_Test_structure_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000168 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400169 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000170 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
171 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000172 .name = "t-member3"
173 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000174 { ATF_NOFLAGS, 0, offsetof(struct Test_structure_1, t_member4),
Lev Walkin67ec2092004-09-08 00:26:56 +0000175 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
176 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000177 .type = &asn_DEF_INTEGER,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000178 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400179 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000180 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
181 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000182 .name = "t-member4"
183 },
184};
Lev Walkina7591b52014-10-12 18:37:35 -0700185static const ber_tlv_tag_t asn_DEF_Test_structure_1_tags_1[] = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000186 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
187};
Lev Walkina7591b52014-10-12 18:37:35 -0700188static const asn_TYPE_tag2member_t asn_MAP_Test_structure_1_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700189 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* t-member4 */
190 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 1 }, /* t-member2 */
191 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -1, 0 }, /* t-member3 */
192 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* t-member1 */
Lev Walkin67ec2092004-09-08 00:26:56 +0000193};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800194asn_SEQUENCE_specifics_t asn_SPC_Test_structure_1_specs_1 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000195 sizeof(struct Test_structure_1),
Lev Walkin1ca69672004-09-29 13:19:12 +0000196 offsetof(struct Test_structure_1, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +0000197 asn_MAP_Test_structure_1_tag2el_1,
Lev Walkin67ec2092004-09-08 00:26:56 +0000198 4, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000199 0, 0, 0, /* Optional elements (not needed) */
Lev Walkin67ec2092004-09-08 00:26:56 +0000200 -1, /* Start extensions */
201 -1 /* Stop extensions */
202};
Lev Walkin1ca69672004-09-29 13:19:12 +0000203asn_TYPE_descriptor_t asn_DEF_Test_structure_1 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000204 "Test-structure-1",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000205 "Test-structure-1",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000206 SEQUENCE_free,
207 SEQUENCE_print,
Lev Walkin67ec2092004-09-08 00:26:56 +0000208 SEQUENCE_constraint,
209 SEQUENCE_decode_ber,
210 SEQUENCE_encode_der,
Lev Walkin61b40d82004-10-23 15:07:45 +0000211 SEQUENCE_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000212 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700213 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400214 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin67ec2092004-09-08 00:26:56 +0000215 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000216 asn_DEF_Test_structure_1_tags_1,
217 sizeof(asn_DEF_Test_structure_1_tags_1)
218 /sizeof(asn_DEF_Test_structure_1_tags_1[0]), /* 1 */
219 asn_DEF_Test_structure_1_tags_1, /* Same as above */
220 sizeof(asn_DEF_Test_structure_1_tags_1)
221 /sizeof(asn_DEF_Test_structure_1_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400222 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000223 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000224 asn_MBR_Test_structure_1_1,
Lev Walkin67ec2092004-09-08 00:26:56 +0000225 4, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000226 &asn_SPC_Test_structure_1_specs_1 /* Additional specs */
Lev Walkin67ec2092004-09-08 00:26:56 +0000227};
228
229
230/*** <<< INCLUDES [Choice-1] >>> ***/
231
Lev Walkin67ec2092004-09-08 00:26:56 +0000232#include <INTEGER.h>
233#include <asn_SET_OF.h>
234#include <constr_SET_OF.h>
235#include <constr_CHOICE.h>
236
237/*** <<< DEPS [Choice-1] >>> ***/
238
239typedef enum Choice_1_PR {
240 Choice_1_PR_NOTHING, /* No components present */
241 Choice_1_PR_and,
242 Choice_1_PR_or,
243 Choice_1_PR_not,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000244 Choice_1_PR_other
Lev Walkin67ec2092004-09-08 00:26:56 +0000245} Choice_1_PR;
Lev Walkin1ca69672004-09-29 13:19:12 +0000246
Lev Walkinc8285712005-03-04 22:18:20 +0000247/*** <<< FWD-DECLS [Choice-1] >>> ***/
Lev Walkin1ca69672004-09-29 13:19:12 +0000248
Lev Walkinbf56d542005-03-04 23:50:56 +0000249struct Choice_1;
Lev Walkin67ec2092004-09-08 00:26:56 +0000250
251/*** <<< TYPE-DECLS [Choice-1] >>> ***/
252
Lev Walkin67ec2092004-09-08 00:26:56 +0000253typedef struct Choice_1 {
254 Choice_1_PR present;
Lev Walkin0f5d74c2005-08-14 15:03:31 +0000255 union Choice_1_u {
Lev Walkin2a744a72013-03-27 01:56:23 -0700256 struct Choice_1 *And;
257 struct Or {
Lev Walkin67ec2092004-09-08 00:26:56 +0000258 A_SET_OF(struct Choice_1) list;
259
260 /* Context for parsing across buffer boundaries */
Lev Walkin1ca69672004-09-29 13:19:12 +0000261 asn_struct_ctx_t _asn_ctx;
Lev Walkin2a744a72013-03-27 01:56:23 -0700262 } Or;
263 struct Choice_1 *Not;
Lev Walkin67ec2092004-09-08 00:26:56 +0000264 INTEGER_t other;
265 } choice;
266
267 /* Context for parsing across buffer boundaries */
Lev Walkin1ca69672004-09-29 13:19:12 +0000268 asn_struct_ctx_t _asn_ctx;
Lev Walkin67ec2092004-09-08 00:26:56 +0000269} Choice_1_t;
270
Lev Walkinc8285712005-03-04 22:18:20 +0000271/*** <<< FUNC-DECLS [Choice-1] >>> ***/
272
273extern asn_TYPE_descriptor_t asn_DEF_Choice_1;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800274extern asn_CHOICE_specifics_t asn_SPC_Choice_1_specs_1;
275extern asn_TYPE_member_t asn_MBR_Choice_1_1[4];
Lev Walkinc8285712005-03-04 22:18:20 +0000276
277/*** <<< POST-INCLUDE [Choice-1] >>> ***/
278
Lev Walkin22b5ed42006-09-13 02:51:20 +0000279#include "Choice-1.h"
Lev Walkinc8285712005-03-04 22:18:20 +0000280
Lev Walkin67ec2092004-09-08 00:26:56 +0000281/*** <<< STAT-DEFS [Choice-1] >>> ***/
282
Lev Walkine8318b82005-03-06 09:29:03 +0000283static asn_TYPE_member_t asn_MBR_or_3[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +0000284 { ATF_POINTER, 0, 0,
Lev Walkinb9189732004-09-10 09:37:12 +0000285 .tag = -1 /* Ambiguous tag (CHOICE?) */,
Lev Walkin67ec2092004-09-08 00:26:56 +0000286 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000287 .type = &asn_DEF_Choice_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000288 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400289 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000290 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
291 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000292 .name = ""
293 },
294};
Lev Walkina7591b52014-10-12 18:37:35 -0700295static const ber_tlv_tag_t asn_DEF_or_tags_3[] = {
Lev Walkin188ed2c2004-09-13 08:31:01 +0000296 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
297 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
Lev Walkin67ec2092004-09-08 00:26:56 +0000298};
Lev Walkin59b176e2005-11-26 11:25:14 +0000299static asn_SET_OF_specifics_t asn_SPC_or_specs_3 = {
Lev Walkin2a744a72013-03-27 01:56:23 -0700300 sizeof(struct Or),
301 offsetof(struct Or, _asn_ctx),
Lev Walkind1bfea62005-11-08 03:06:16 +0000302 2, /* XER encoding is XMLValueList */
Lev Walkin67ec2092004-09-08 00:26:56 +0000303};
304static /* Use -fall-defs-global to expose */
Lev Walkine8318b82005-03-06 09:29:03 +0000305asn_TYPE_descriptor_t asn_DEF_or_3 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000306 "or",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000307 "or",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000308 SET_OF_free,
309 SET_OF_print,
Lev Walkin67ec2092004-09-08 00:26:56 +0000310 SET_OF_constraint,
311 SET_OF_decode_ber,
312 SET_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000313 SET_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000314 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700315 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400316 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin67ec2092004-09-08 00:26:56 +0000317 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000318 asn_DEF_or_tags_3,
319 sizeof(asn_DEF_or_tags_3)
320 /sizeof(asn_DEF_or_tags_3[0]) - 1, /* 1 */
321 asn_DEF_or_tags_3, /* Same as above */
322 sizeof(asn_DEF_or_tags_3)
323 /sizeof(asn_DEF_or_tags_3[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400324 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000325 0, /* No PER visible constraints */
Lev Walkine8318b82005-03-06 09:29:03 +0000326 asn_MBR_or_3,
Lev Walkin67ec2092004-09-08 00:26:56 +0000327 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000328 &asn_SPC_or_specs_3 /* Additional specs */
Lev Walkin67ec2092004-09-08 00:26:56 +0000329};
330
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800331asn_TYPE_member_t asn_MBR_Choice_1_1[] = {
Lev Walkin2a744a72013-03-27 01:56:23 -0700332 { ATF_POINTER, 0, offsetof(struct Choice_1, choice.And),
Lev Walkin67ec2092004-09-08 00:26:56 +0000333 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
334 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000335 .type = &asn_DEF_Choice_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000336 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400337 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000338 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
339 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000340 .name = "and"
341 },
Lev Walkin2a744a72013-03-27 01:56:23 -0700342 { ATF_NOFLAGS, 0, offsetof(struct Choice_1, choice.Or),
Lev Walkin67ec2092004-09-08 00:26:56 +0000343 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000344 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000345 .type = &asn_DEF_or_3,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000346 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400347 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000348 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
349 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000350 .name = "or"
351 },
Lev Walkin2a744a72013-03-27 01:56:23 -0700352 { ATF_POINTER, 0, offsetof(struct Choice_1, choice.Not),
Lev Walkin67ec2092004-09-08 00:26:56 +0000353 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
354 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000355 .type = &asn_DEF_Choice_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000356 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400357 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000358 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
359 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000360 .name = "not"
361 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000362 { ATF_NOFLAGS, 0, offsetof(struct Choice_1, choice.other),
Lev Walkin67ec2092004-09-08 00:26:56 +0000363 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
364 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000365 .type = &asn_DEF_INTEGER,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000366 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400367 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000368 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
369 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000370 .name = "other"
371 },
372};
Lev Walkina7591b52014-10-12 18:37:35 -0700373static const asn_TYPE_tag2member_t asn_MAP_Choice_1_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700374 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* and */
375 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* or */
376 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, 0, 0 }, /* not */
377 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 3, 0, 0 } /* other */
Lev Walkin67ec2092004-09-08 00:26:56 +0000378};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800379asn_CHOICE_specifics_t asn_SPC_Choice_1_specs_1 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000380 sizeof(struct Choice_1),
Lev Walkin1ca69672004-09-29 13:19:12 +0000381 offsetof(struct Choice_1, _asn_ctx),
Lev Walkin67ec2092004-09-08 00:26:56 +0000382 offsetof(struct Choice_1, present),
383 sizeof(((struct Choice_1 *)0)->present),
Lev Walkin59b176e2005-11-26 11:25:14 +0000384 asn_MAP_Choice_1_tag2el_1,
Lev Walkin67ec2092004-09-08 00:26:56 +0000385 4, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000386 .canonical_order = 0,
387 .ext_start = -1 /* Extensions start */
Lev Walkin67ec2092004-09-08 00:26:56 +0000388};
Lev Walkin1ca69672004-09-29 13:19:12 +0000389asn_TYPE_descriptor_t asn_DEF_Choice_1 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000390 "Choice-1",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000391 "Choice-1",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000392 CHOICE_free,
393 CHOICE_print,
Lev Walkin67ec2092004-09-08 00:26:56 +0000394 CHOICE_constraint,
395 CHOICE_decode_ber,
396 CHOICE_encode_der,
Lev Walkin61b40d82004-10-23 15:07:45 +0000397 CHOICE_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000398 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700399 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400400 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin67ec2092004-09-08 00:26:56 +0000401 CHOICE_outmost_tag,
Lev Walkin188ed2c2004-09-13 08:31:01 +0000402 0, /* No effective tags (pointer) */
403 0, /* No effective tags (count) */
404 0, /* No tags (pointer) */
405 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400406 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000407 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000408 asn_MBR_Choice_1_1,
Lev Walkin67ec2092004-09-08 00:26:56 +0000409 4, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000410 &asn_SPC_Choice_1_specs_1 /* Additional specs */
Lev Walkin1ca69672004-09-29 13:19:12 +0000411};
412
413
414/*** <<< INCLUDES [Test-structure-2] >>> ***/
415
Lev Walkin1ca69672004-09-29 13:19:12 +0000416#include <constr_SET.h>
417
418/*** <<< DEPS [Test-structure-2] >>> ***/
419
420
421/*
422 * Method of determining the components presence
423 */
424typedef enum Test_structure_2_PR {
425 Test_structure_2_PR_m1, /* Member m1 is present */
426} Test_structure_2_PR;
427
Lev Walkinc8285712005-03-04 22:18:20 +0000428/*** <<< FWD-DECLS [Test-structure-2] >>> ***/
429
Lev Walkinbf56d542005-03-04 23:50:56 +0000430struct Test_structure_3;
Lev Walkin1ca69672004-09-29 13:19:12 +0000431
432/*** <<< TYPE-DECLS [Test-structure-2] >>> ***/
433
Lev Walkin1ca69672004-09-29 13:19:12 +0000434typedef struct Test_structure_2 {
435 struct Test_structure_3 *m1 /* OPTIONAL */;
436
437 /* Presence bitmask: ASN_SET_ISPRESENT(pTest_structure_2, Test_structure_2_PR_x) */
438 unsigned int _presence_map
439 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
440
441 /* Context for parsing across buffer boundaries */
442 asn_struct_ctx_t _asn_ctx;
443} Test_structure_2_t;
444
Lev Walkinc8285712005-03-04 22:18:20 +0000445/*** <<< FUNC-DECLS [Test-structure-2] >>> ***/
446
447extern asn_TYPE_descriptor_t asn_DEF_Test_structure_2;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800448extern asn_SET_specifics_t asn_SPC_Test_structure_2_specs_1;
449extern asn_TYPE_member_t asn_MBR_Test_structure_2_1[1];
Lev Walkinc8285712005-03-04 22:18:20 +0000450
451/*** <<< POST-INCLUDE [Test-structure-2] >>> ***/
452
Lev Walkin22b5ed42006-09-13 02:51:20 +0000453#include "Test-structure-3.h"
Lev Walkinc8285712005-03-04 22:18:20 +0000454
Lev Walkin1ca69672004-09-29 13:19:12 +0000455/*** <<< STAT-DEFS [Test-structure-2] >>> ***/
456
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800457asn_TYPE_member_t asn_MBR_Test_structure_2_1[] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000458 { ATF_POINTER, 1, offsetof(struct Test_structure_2, m1),
459 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
460 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000461 .type = &asn_DEF_Test_structure_3,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000462 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400463 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000464 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
465 .default_value = 0,
Lev Walkin1ca69672004-09-29 13:19:12 +0000466 .name = "m1"
467 },
468};
Lev Walkina7591b52014-10-12 18:37:35 -0700469static const ber_tlv_tag_t asn_DEF_Test_structure_2_tags_1[] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000470 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
471};
Lev Walkina7591b52014-10-12 18:37:35 -0700472static const asn_TYPE_tag2member_t asn_MAP_Test_structure_2_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700473 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* m1 */
Lev Walkin1ca69672004-09-29 13:19:12 +0000474};
Lev Walkina7591b52014-10-12 18:37:35 -0700475static const uint8_t asn_MAP_Test_structure_2_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000476 (0 << 7)
477};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800478asn_SET_specifics_t asn_SPC_Test_structure_2_specs_1 = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000479 sizeof(struct Test_structure_2),
480 offsetof(struct Test_structure_2, _asn_ctx),
481 offsetof(struct Test_structure_2, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +0000482 asn_MAP_Test_structure_2_tag2el_1,
Lev Walkin1ca69672004-09-29 13:19:12 +0000483 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000484 asn_MAP_Test_structure_2_tag2el_1, /* Same as above */
Lev Walkinf82138b2005-02-25 08:20:32 +0000485 1, /* Count of tags in the CXER map */
Lev Walkin1ca69672004-09-29 13:19:12 +0000486 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -0700487 (const unsigned int *)asn_MAP_Test_structure_2_mmap_1 /* Mandatory elements map */
Lev Walkin1ca69672004-09-29 13:19:12 +0000488};
489asn_TYPE_descriptor_t asn_DEF_Test_structure_2 = {
490 "Test-structure-2",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000491 "Test-structure-2",
Lev Walkin1ca69672004-09-29 13:19:12 +0000492 SET_free,
493 SET_print,
494 SET_constraint,
495 SET_decode_ber,
496 SET_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000497 SET_decode_xer,
Lev Walkin1ca69672004-09-29 13:19:12 +0000498 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700499 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400500 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin1ca69672004-09-29 13:19:12 +0000501 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000502 asn_DEF_Test_structure_2_tags_1,
503 sizeof(asn_DEF_Test_structure_2_tags_1)
504 /sizeof(asn_DEF_Test_structure_2_tags_1[0]), /* 1 */
505 asn_DEF_Test_structure_2_tags_1, /* Same as above */
506 sizeof(asn_DEF_Test_structure_2_tags_1)
507 /sizeof(asn_DEF_Test_structure_2_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400508 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000509 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000510 asn_MBR_Test_structure_2_1,
Lev Walkin1ca69672004-09-29 13:19:12 +0000511 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000512 &asn_SPC_Test_structure_2_specs_1 /* Additional specs */
Lev Walkin1ca69672004-09-29 13:19:12 +0000513};
514
515
516/*** <<< INCLUDES [Test-structure-3] >>> ***/
517
Lev Walkin1ca69672004-09-29 13:19:12 +0000518#include <constr_SET.h>
519
520/*** <<< DEPS [Test-structure-3] >>> ***/
521
522
523/*
524 * Method of determining the components presence
525 */
526typedef enum Test_structure_3_PR {
527 Test_structure_3_PR_m1, /* Member m1 is present */
528} Test_structure_3_PR;
529
Lev Walkinc8285712005-03-04 22:18:20 +0000530/*** <<< FWD-DECLS [Test-structure-3] >>> ***/
531
Lev Walkinbf56d542005-03-04 23:50:56 +0000532struct Test_structure_2;
Lev Walkin1ca69672004-09-29 13:19:12 +0000533
534/*** <<< TYPE-DECLS [Test-structure-3] >>> ***/
535
Lev Walkin1ca69672004-09-29 13:19:12 +0000536typedef struct Test_structure_3 {
537 struct Test_structure_2 *m1 /* OPTIONAL */;
538
539 /* Presence bitmask: ASN_SET_ISPRESENT(pTest_structure_3, Test_structure_3_PR_x) */
540 unsigned int _presence_map
541 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
542
543 /* Context for parsing across buffer boundaries */
544 asn_struct_ctx_t _asn_ctx;
545} Test_structure_3_t;
546
Lev Walkinc8285712005-03-04 22:18:20 +0000547/*** <<< FUNC-DECLS [Test-structure-3] >>> ***/
548
549extern asn_TYPE_descriptor_t asn_DEF_Test_structure_3;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800550extern asn_SET_specifics_t asn_SPC_Test_structure_3_specs_1;
551extern asn_TYPE_member_t asn_MBR_Test_structure_3_1[1];
Lev Walkinc8285712005-03-04 22:18:20 +0000552
553/*** <<< POST-INCLUDE [Test-structure-3] >>> ***/
554
Lev Walkin22b5ed42006-09-13 02:51:20 +0000555#include "Test-structure-2.h"
Lev Walkinc8285712005-03-04 22:18:20 +0000556
Lev Walkin1ca69672004-09-29 13:19:12 +0000557/*** <<< STAT-DEFS [Test-structure-3] >>> ***/
558
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800559asn_TYPE_member_t asn_MBR_Test_structure_3_1[] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000560 { ATF_POINTER, 1, offsetof(struct Test_structure_3, m1),
561 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
562 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000563 .type = &asn_DEF_Test_structure_2,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000564 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400565 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000566 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
567 .default_value = 0,
Lev Walkin1ca69672004-09-29 13:19:12 +0000568 .name = "m1"
569 },
570};
Lev Walkina7591b52014-10-12 18:37:35 -0700571static const ber_tlv_tag_t asn_DEF_Test_structure_3_tags_1[] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000572 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
573};
Lev Walkina7591b52014-10-12 18:37:35 -0700574static const asn_TYPE_tag2member_t asn_MAP_Test_structure_3_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700575 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* m1 */
Lev Walkin1ca69672004-09-29 13:19:12 +0000576};
Lev Walkina7591b52014-10-12 18:37:35 -0700577static const uint8_t asn_MAP_Test_structure_3_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000578 (0 << 7)
579};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800580asn_SET_specifics_t asn_SPC_Test_structure_3_specs_1 = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000581 sizeof(struct Test_structure_3),
582 offsetof(struct Test_structure_3, _asn_ctx),
583 offsetof(struct Test_structure_3, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +0000584 asn_MAP_Test_structure_3_tag2el_1,
Lev Walkin1ca69672004-09-29 13:19:12 +0000585 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000586 asn_MAP_Test_structure_3_tag2el_1, /* Same as above */
Lev Walkinf82138b2005-02-25 08:20:32 +0000587 1, /* Count of tags in the CXER map */
Lev Walkin1ca69672004-09-29 13:19:12 +0000588 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -0700589 (const unsigned int *)asn_MAP_Test_structure_3_mmap_1 /* Mandatory elements map */
Lev Walkin1ca69672004-09-29 13:19:12 +0000590};
591asn_TYPE_descriptor_t asn_DEF_Test_structure_3 = {
592 "Test-structure-3",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000593 "Test-structure-3",
Lev Walkin1ca69672004-09-29 13:19:12 +0000594 SET_free,
595 SET_print,
596 SET_constraint,
597 SET_decode_ber,
598 SET_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000599 SET_decode_xer,
Lev Walkin1ca69672004-09-29 13:19:12 +0000600 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700601 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400602 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin1ca69672004-09-29 13:19:12 +0000603 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000604 asn_DEF_Test_structure_3_tags_1,
605 sizeof(asn_DEF_Test_structure_3_tags_1)
606 /sizeof(asn_DEF_Test_structure_3_tags_1[0]), /* 1 */
607 asn_DEF_Test_structure_3_tags_1, /* Same as above */
608 sizeof(asn_DEF_Test_structure_3_tags_1)
609 /sizeof(asn_DEF_Test_structure_3_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400610 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000611 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000612 asn_MBR_Test_structure_3_1,
Lev Walkin1ca69672004-09-29 13:19:12 +0000613 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000614 &asn_SPC_Test_structure_3_specs_1 /* Additional specs */
Lev Walkin67ec2092004-09-08 00:26:56 +0000615};
616