blob: 733c3dd8eef5b496b2f259907049b66ddc9767f6 [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 Walkincd2f48e2017-08-10 02:14:59 -070075 SET_OF_compare,
Lev Walkin67ec2092004-09-08 00:26:56 +000076 SET_OF_constraint,
77 SET_OF_decode_ber,
78 SET_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +000079 SET_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +000080 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -070081 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +040082 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin67ec2092004-09-08 00:26:56 +000083 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +000084 asn_DEF_t_member1_tags_2,
85 sizeof(asn_DEF_t_member1_tags_2)
86 /sizeof(asn_DEF_t_member1_tags_2[0]), /* 1 */
87 asn_DEF_t_member1_tags_2, /* Same as above */
88 sizeof(asn_DEF_t_member1_tags_2)
89 /sizeof(asn_DEF_t_member1_tags_2[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +040090 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +000091 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +000092 asn_MBR_t_member1_2,
Lev Walkin67ec2092004-09-08 00:26:56 +000093 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +000094 &asn_SPC_t_member1_specs_2 /* Additional specs */
Lev Walkin67ec2092004-09-08 00:26:56 +000095};
96
Lev Walkine8318b82005-03-06 09:29:03 +000097static asn_TYPE_member_t asn_MBR_t_member2_4[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +000098 { ATF_POINTER, 0, 0,
Lev Walkin67ec2092004-09-08 00:26:56 +000099 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
100 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000101 .type = &asn_DEF_Test_structure_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000102 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400103 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000104 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
105 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000106 .name = ""
107 },
108};
Lev Walkina7591b52014-10-12 18:37:35 -0700109static const ber_tlv_tag_t asn_DEF_t_member2_tags_4[] = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000110 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
111};
Lev Walkin59b176e2005-11-26 11:25:14 +0000112static asn_SET_OF_specifics_t asn_SPC_t_member2_specs_4 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000113 sizeof(struct t_member2),
Lev Walkin1ca69672004-09-29 13:19:12 +0000114 offsetof(struct t_member2, _asn_ctx),
Lev Walkina9cc46e2004-09-22 16:06:28 +0000115 0, /* XER encoding is XMLDelimitedItemList */
Lev Walkin67ec2092004-09-08 00:26:56 +0000116};
117static /* Use -fall-defs-global to expose */
Lev Walkine8318b82005-03-06 09:29:03 +0000118asn_TYPE_descriptor_t asn_DEF_t_member2_4 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000119 "t-member2",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000120 "t-member2",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000121 SEQUENCE_OF_free,
122 SEQUENCE_OF_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700123 SEQUENCE_OF_compare,
Lev Walkin67ec2092004-09-08 00:26:56 +0000124 SEQUENCE_OF_constraint,
125 SEQUENCE_OF_decode_ber,
126 SEQUENCE_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000127 SEQUENCE_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000128 SEQUENCE_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700129 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400130 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin67ec2092004-09-08 00:26:56 +0000131 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000132 asn_DEF_t_member2_tags_4,
133 sizeof(asn_DEF_t_member2_tags_4)
134 /sizeof(asn_DEF_t_member2_tags_4[0]), /* 1 */
135 asn_DEF_t_member2_tags_4, /* Same as above */
136 sizeof(asn_DEF_t_member2_tags_4)
137 /sizeof(asn_DEF_t_member2_tags_4[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400138 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000139 0, /* No PER visible constraints */
Lev Walkine8318b82005-03-06 09:29:03 +0000140 asn_MBR_t_member2_4,
Lev Walkin67ec2092004-09-08 00:26:56 +0000141 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000142 &asn_SPC_t_member2_specs_4 /* Additional specs */
Lev Walkin67ec2092004-09-08 00:26:56 +0000143};
144
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800145asn_TYPE_member_t asn_MBR_Test_structure_1_1[] = {
Lev Walkincc93b0f2004-09-10 09:18:20 +0000146 { ATF_NOFLAGS, 0, offsetof(struct Test_structure_1, t_member1),
Lev Walkin67ec2092004-09-08 00:26:56 +0000147 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
148 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000149 .type = &asn_DEF_t_member1_2,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000150 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400151 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000152 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
153 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000154 .name = "t-member1"
155 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000156 { ATF_NOFLAGS, 0, offsetof(struct Test_structure_1, t_member2),
Lev Walkin67ec2092004-09-08 00:26:56 +0000157 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
158 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000159 .type = &asn_DEF_t_member2_4,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000160 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400161 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000162 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
163 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000164 .name = "t-member2"
165 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000166 { ATF_POINTER, 1, offsetof(struct Test_structure_1, t_member3),
Lev Walkin67ec2092004-09-08 00:26:56 +0000167 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
168 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000169 .type = &asn_DEF_Test_structure_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000170 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400171 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000172 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
173 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000174 .name = "t-member3"
175 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000176 { ATF_NOFLAGS, 0, offsetof(struct Test_structure_1, t_member4),
Lev Walkin67ec2092004-09-08 00:26:56 +0000177 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
178 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000179 .type = &asn_DEF_INTEGER,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000180 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400181 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000182 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
183 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000184 .name = "t-member4"
185 },
186};
Lev Walkina7591b52014-10-12 18:37:35 -0700187static const ber_tlv_tag_t asn_DEF_Test_structure_1_tags_1[] = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000188 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
189};
Lev Walkina7591b52014-10-12 18:37:35 -0700190static const asn_TYPE_tag2member_t asn_MAP_Test_structure_1_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700191 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* t-member4 */
192 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 1 }, /* t-member2 */
193 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -1, 0 }, /* t-member3 */
194 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* t-member1 */
Lev Walkin67ec2092004-09-08 00:26:56 +0000195};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800196asn_SEQUENCE_specifics_t asn_SPC_Test_structure_1_specs_1 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000197 sizeof(struct Test_structure_1),
Lev Walkin1ca69672004-09-29 13:19:12 +0000198 offsetof(struct Test_structure_1, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +0000199 asn_MAP_Test_structure_1_tag2el_1,
Lev Walkin67ec2092004-09-08 00:26:56 +0000200 4, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000201 0, 0, 0, /* Optional elements (not needed) */
Lev Walkin67ec2092004-09-08 00:26:56 +0000202 -1, /* Start extensions */
203 -1 /* Stop extensions */
204};
Lev Walkin1ca69672004-09-29 13:19:12 +0000205asn_TYPE_descriptor_t asn_DEF_Test_structure_1 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000206 "Test-structure-1",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000207 "Test-structure-1",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000208 SEQUENCE_free,
209 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700210 SEQUENCE_compare,
Lev Walkin67ec2092004-09-08 00:26:56 +0000211 SEQUENCE_constraint,
212 SEQUENCE_decode_ber,
213 SEQUENCE_encode_der,
Lev Walkin61b40d82004-10-23 15:07:45 +0000214 SEQUENCE_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000215 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700216 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400217 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin67ec2092004-09-08 00:26:56 +0000218 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000219 asn_DEF_Test_structure_1_tags_1,
220 sizeof(asn_DEF_Test_structure_1_tags_1)
221 /sizeof(asn_DEF_Test_structure_1_tags_1[0]), /* 1 */
222 asn_DEF_Test_structure_1_tags_1, /* Same as above */
223 sizeof(asn_DEF_Test_structure_1_tags_1)
224 /sizeof(asn_DEF_Test_structure_1_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400225 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000226 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000227 asn_MBR_Test_structure_1_1,
Lev Walkin67ec2092004-09-08 00:26:56 +0000228 4, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000229 &asn_SPC_Test_structure_1_specs_1 /* Additional specs */
Lev Walkin67ec2092004-09-08 00:26:56 +0000230};
231
232
233/*** <<< INCLUDES [Choice-1] >>> ***/
234
Lev Walkin67ec2092004-09-08 00:26:56 +0000235#include <INTEGER.h>
236#include <asn_SET_OF.h>
237#include <constr_SET_OF.h>
238#include <constr_CHOICE.h>
239
240/*** <<< DEPS [Choice-1] >>> ***/
241
242typedef enum Choice_1_PR {
243 Choice_1_PR_NOTHING, /* No components present */
244 Choice_1_PR_and,
245 Choice_1_PR_or,
246 Choice_1_PR_not,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000247 Choice_1_PR_other
Lev Walkin67ec2092004-09-08 00:26:56 +0000248} Choice_1_PR;
Lev Walkin1ca69672004-09-29 13:19:12 +0000249
Lev Walkinc8285712005-03-04 22:18:20 +0000250/*** <<< FWD-DECLS [Choice-1] >>> ***/
Lev Walkin1ca69672004-09-29 13:19:12 +0000251
Lev Walkinbf56d542005-03-04 23:50:56 +0000252struct Choice_1;
Lev Walkin67ec2092004-09-08 00:26:56 +0000253
254/*** <<< TYPE-DECLS [Choice-1] >>> ***/
255
Lev Walkin67ec2092004-09-08 00:26:56 +0000256typedef struct Choice_1 {
257 Choice_1_PR present;
Lev Walkin0f5d74c2005-08-14 15:03:31 +0000258 union Choice_1_u {
Lev Walkin2a744a72013-03-27 01:56:23 -0700259 struct Choice_1 *And;
260 struct Or {
Lev Walkin67ec2092004-09-08 00:26:56 +0000261 A_SET_OF(struct Choice_1) list;
262
263 /* Context for parsing across buffer boundaries */
Lev Walkin1ca69672004-09-29 13:19:12 +0000264 asn_struct_ctx_t _asn_ctx;
Lev Walkin2a744a72013-03-27 01:56:23 -0700265 } Or;
266 struct Choice_1 *Not;
Lev Walkin67ec2092004-09-08 00:26:56 +0000267 INTEGER_t other;
268 } choice;
269
270 /* Context for parsing across buffer boundaries */
Lev Walkin1ca69672004-09-29 13:19:12 +0000271 asn_struct_ctx_t _asn_ctx;
Lev Walkin67ec2092004-09-08 00:26:56 +0000272} Choice_1_t;
273
Lev Walkinc8285712005-03-04 22:18:20 +0000274/*** <<< FUNC-DECLS [Choice-1] >>> ***/
275
276extern asn_TYPE_descriptor_t asn_DEF_Choice_1;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800277extern asn_CHOICE_specifics_t asn_SPC_Choice_1_specs_1;
278extern asn_TYPE_member_t asn_MBR_Choice_1_1[4];
Lev Walkinc8285712005-03-04 22:18:20 +0000279
280/*** <<< POST-INCLUDE [Choice-1] >>> ***/
281
Lev Walkin22b5ed42006-09-13 02:51:20 +0000282#include "Choice-1.h"
Lev Walkinc8285712005-03-04 22:18:20 +0000283
Lev Walkin67ec2092004-09-08 00:26:56 +0000284/*** <<< STAT-DEFS [Choice-1] >>> ***/
285
Lev Walkine8318b82005-03-06 09:29:03 +0000286static asn_TYPE_member_t asn_MBR_or_3[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +0000287 { ATF_POINTER, 0, 0,
Lev Walkinb9189732004-09-10 09:37:12 +0000288 .tag = -1 /* Ambiguous tag (CHOICE?) */,
Lev Walkin67ec2092004-09-08 00:26:56 +0000289 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000290 .type = &asn_DEF_Choice_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000291 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400292 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000293 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
294 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000295 .name = ""
296 },
297};
Lev Walkina7591b52014-10-12 18:37:35 -0700298static const ber_tlv_tag_t asn_DEF_or_tags_3[] = {
Lev Walkin188ed2c2004-09-13 08:31:01 +0000299 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
300 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
Lev Walkin67ec2092004-09-08 00:26:56 +0000301};
Lev Walkin59b176e2005-11-26 11:25:14 +0000302static asn_SET_OF_specifics_t asn_SPC_or_specs_3 = {
Lev Walkin2a744a72013-03-27 01:56:23 -0700303 sizeof(struct Or),
304 offsetof(struct Or, _asn_ctx),
Lev Walkind1bfea62005-11-08 03:06:16 +0000305 2, /* XER encoding is XMLValueList */
Lev Walkin67ec2092004-09-08 00:26:56 +0000306};
307static /* Use -fall-defs-global to expose */
Lev Walkine8318b82005-03-06 09:29:03 +0000308asn_TYPE_descriptor_t asn_DEF_or_3 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000309 "or",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000310 "or",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000311 SET_OF_free,
312 SET_OF_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700313 SET_OF_compare,
Lev Walkin67ec2092004-09-08 00:26:56 +0000314 SET_OF_constraint,
315 SET_OF_decode_ber,
316 SET_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000317 SET_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000318 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700319 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400320 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin67ec2092004-09-08 00:26:56 +0000321 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000322 asn_DEF_or_tags_3,
323 sizeof(asn_DEF_or_tags_3)
324 /sizeof(asn_DEF_or_tags_3[0]) - 1, /* 1 */
325 asn_DEF_or_tags_3, /* Same as above */
326 sizeof(asn_DEF_or_tags_3)
327 /sizeof(asn_DEF_or_tags_3[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400328 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000329 0, /* No PER visible constraints */
Lev Walkine8318b82005-03-06 09:29:03 +0000330 asn_MBR_or_3,
Lev Walkin67ec2092004-09-08 00:26:56 +0000331 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000332 &asn_SPC_or_specs_3 /* Additional specs */
Lev Walkin67ec2092004-09-08 00:26:56 +0000333};
334
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800335asn_TYPE_member_t asn_MBR_Choice_1_1[] = {
Lev Walkin2a744a72013-03-27 01:56:23 -0700336 { ATF_POINTER, 0, offsetof(struct Choice_1, choice.And),
Lev Walkin67ec2092004-09-08 00:26:56 +0000337 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
338 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000339 .type = &asn_DEF_Choice_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000340 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400341 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000342 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
343 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000344 .name = "and"
345 },
Lev Walkin2a744a72013-03-27 01:56:23 -0700346 { ATF_NOFLAGS, 0, offsetof(struct Choice_1, choice.Or),
Lev Walkin67ec2092004-09-08 00:26:56 +0000347 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000348 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000349 .type = &asn_DEF_or_3,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000350 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400351 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000352 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
353 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000354 .name = "or"
355 },
Lev Walkin2a744a72013-03-27 01:56:23 -0700356 { ATF_POINTER, 0, offsetof(struct Choice_1, choice.Not),
Lev Walkin67ec2092004-09-08 00:26:56 +0000357 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
358 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000359 .type = &asn_DEF_Choice_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000360 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400361 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000362 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
363 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000364 .name = "not"
365 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000366 { ATF_NOFLAGS, 0, offsetof(struct Choice_1, choice.other),
Lev Walkin67ec2092004-09-08 00:26:56 +0000367 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
368 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000369 .type = &asn_DEF_INTEGER,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000370 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400371 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000372 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
373 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000374 .name = "other"
375 },
376};
Lev Walkina7591b52014-10-12 18:37:35 -0700377static const asn_TYPE_tag2member_t asn_MAP_Choice_1_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700378 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* and */
379 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* or */
380 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, 0, 0 }, /* not */
381 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 3, 0, 0 } /* other */
Lev Walkin67ec2092004-09-08 00:26:56 +0000382};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800383asn_CHOICE_specifics_t asn_SPC_Choice_1_specs_1 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000384 sizeof(struct Choice_1),
Lev Walkin1ca69672004-09-29 13:19:12 +0000385 offsetof(struct Choice_1, _asn_ctx),
Lev Walkin67ec2092004-09-08 00:26:56 +0000386 offsetof(struct Choice_1, present),
387 sizeof(((struct Choice_1 *)0)->present),
Lev Walkin59b176e2005-11-26 11:25:14 +0000388 asn_MAP_Choice_1_tag2el_1,
Lev Walkin67ec2092004-09-08 00:26:56 +0000389 4, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000390 .canonical_order = 0,
391 .ext_start = -1 /* Extensions start */
Lev Walkin67ec2092004-09-08 00:26:56 +0000392};
Lev Walkin1ca69672004-09-29 13:19:12 +0000393asn_TYPE_descriptor_t asn_DEF_Choice_1 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000394 "Choice-1",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000395 "Choice-1",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000396 CHOICE_free,
397 CHOICE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700398 CHOICE_compare,
Lev Walkin67ec2092004-09-08 00:26:56 +0000399 CHOICE_constraint,
400 CHOICE_decode_ber,
401 CHOICE_encode_der,
Lev Walkin61b40d82004-10-23 15:07:45 +0000402 CHOICE_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000403 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700404 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400405 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin67ec2092004-09-08 00:26:56 +0000406 CHOICE_outmost_tag,
Lev Walkin188ed2c2004-09-13 08:31:01 +0000407 0, /* No effective tags (pointer) */
408 0, /* No effective tags (count) */
409 0, /* No tags (pointer) */
410 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400411 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000412 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000413 asn_MBR_Choice_1_1,
Lev Walkin67ec2092004-09-08 00:26:56 +0000414 4, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000415 &asn_SPC_Choice_1_specs_1 /* Additional specs */
Lev Walkin1ca69672004-09-29 13:19:12 +0000416};
417
418
419/*** <<< INCLUDES [Test-structure-2] >>> ***/
420
Lev Walkin1ca69672004-09-29 13:19:12 +0000421#include <constr_SET.h>
422
423/*** <<< DEPS [Test-structure-2] >>> ***/
424
425
426/*
427 * Method of determining the components presence
428 */
429typedef enum Test_structure_2_PR {
430 Test_structure_2_PR_m1, /* Member m1 is present */
431} Test_structure_2_PR;
432
Lev Walkinc8285712005-03-04 22:18:20 +0000433/*** <<< FWD-DECLS [Test-structure-2] >>> ***/
434
Lev Walkinbf56d542005-03-04 23:50:56 +0000435struct Test_structure_3;
Lev Walkin1ca69672004-09-29 13:19:12 +0000436
437/*** <<< TYPE-DECLS [Test-structure-2] >>> ***/
438
Lev Walkin1ca69672004-09-29 13:19:12 +0000439typedef struct Test_structure_2 {
440 struct Test_structure_3 *m1 /* OPTIONAL */;
441
442 /* Presence bitmask: ASN_SET_ISPRESENT(pTest_structure_2, Test_structure_2_PR_x) */
443 unsigned int _presence_map
444 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
445
446 /* Context for parsing across buffer boundaries */
447 asn_struct_ctx_t _asn_ctx;
448} Test_structure_2_t;
449
Lev Walkinc8285712005-03-04 22:18:20 +0000450/*** <<< FUNC-DECLS [Test-structure-2] >>> ***/
451
452extern asn_TYPE_descriptor_t asn_DEF_Test_structure_2;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800453extern asn_SET_specifics_t asn_SPC_Test_structure_2_specs_1;
454extern asn_TYPE_member_t asn_MBR_Test_structure_2_1[1];
Lev Walkinc8285712005-03-04 22:18:20 +0000455
456/*** <<< POST-INCLUDE [Test-structure-2] >>> ***/
457
Lev Walkin22b5ed42006-09-13 02:51:20 +0000458#include "Test-structure-3.h"
Lev Walkinc8285712005-03-04 22:18:20 +0000459
Lev Walkin1ca69672004-09-29 13:19:12 +0000460/*** <<< STAT-DEFS [Test-structure-2] >>> ***/
461
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800462asn_TYPE_member_t asn_MBR_Test_structure_2_1[] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000463 { ATF_POINTER, 1, offsetof(struct Test_structure_2, m1),
464 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
465 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000466 .type = &asn_DEF_Test_structure_3,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000467 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400468 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000469 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
470 .default_value = 0,
Lev Walkin1ca69672004-09-29 13:19:12 +0000471 .name = "m1"
472 },
473};
Lev Walkina7591b52014-10-12 18:37:35 -0700474static const ber_tlv_tag_t asn_DEF_Test_structure_2_tags_1[] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000475 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
476};
Lev Walkina7591b52014-10-12 18:37:35 -0700477static const asn_TYPE_tag2member_t asn_MAP_Test_structure_2_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700478 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* m1 */
Lev Walkin1ca69672004-09-29 13:19:12 +0000479};
Lev Walkina7591b52014-10-12 18:37:35 -0700480static const uint8_t asn_MAP_Test_structure_2_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000481 (0 << 7)
482};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800483asn_SET_specifics_t asn_SPC_Test_structure_2_specs_1 = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000484 sizeof(struct Test_structure_2),
485 offsetof(struct Test_structure_2, _asn_ctx),
486 offsetof(struct Test_structure_2, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +0000487 asn_MAP_Test_structure_2_tag2el_1,
Lev Walkin1ca69672004-09-29 13:19:12 +0000488 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000489 asn_MAP_Test_structure_2_tag2el_1, /* Same as above */
Lev Walkinf82138b2005-02-25 08:20:32 +0000490 1, /* Count of tags in the CXER map */
Lev Walkin1ca69672004-09-29 13:19:12 +0000491 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -0700492 (const unsigned int *)asn_MAP_Test_structure_2_mmap_1 /* Mandatory elements map */
Lev Walkin1ca69672004-09-29 13:19:12 +0000493};
494asn_TYPE_descriptor_t asn_DEF_Test_structure_2 = {
495 "Test-structure-2",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000496 "Test-structure-2",
Lev Walkin1ca69672004-09-29 13:19:12 +0000497 SET_free,
498 SET_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700499 SET_compare,
Lev Walkin1ca69672004-09-29 13:19:12 +0000500 SET_constraint,
501 SET_decode_ber,
502 SET_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000503 SET_decode_xer,
Lev Walkin1ca69672004-09-29 13:19:12 +0000504 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700505 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400506 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin1ca69672004-09-29 13:19:12 +0000507 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000508 asn_DEF_Test_structure_2_tags_1,
509 sizeof(asn_DEF_Test_structure_2_tags_1)
510 /sizeof(asn_DEF_Test_structure_2_tags_1[0]), /* 1 */
511 asn_DEF_Test_structure_2_tags_1, /* Same as above */
512 sizeof(asn_DEF_Test_structure_2_tags_1)
513 /sizeof(asn_DEF_Test_structure_2_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400514 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000515 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000516 asn_MBR_Test_structure_2_1,
Lev Walkin1ca69672004-09-29 13:19:12 +0000517 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000518 &asn_SPC_Test_structure_2_specs_1 /* Additional specs */
Lev Walkin1ca69672004-09-29 13:19:12 +0000519};
520
521
522/*** <<< INCLUDES [Test-structure-3] >>> ***/
523
Lev Walkin1ca69672004-09-29 13:19:12 +0000524#include <constr_SET.h>
525
526/*** <<< DEPS [Test-structure-3] >>> ***/
527
528
529/*
530 * Method of determining the components presence
531 */
532typedef enum Test_structure_3_PR {
533 Test_structure_3_PR_m1, /* Member m1 is present */
534} Test_structure_3_PR;
535
Lev Walkinc8285712005-03-04 22:18:20 +0000536/*** <<< FWD-DECLS [Test-structure-3] >>> ***/
537
Lev Walkinbf56d542005-03-04 23:50:56 +0000538struct Test_structure_2;
Lev Walkin1ca69672004-09-29 13:19:12 +0000539
540/*** <<< TYPE-DECLS [Test-structure-3] >>> ***/
541
Lev Walkin1ca69672004-09-29 13:19:12 +0000542typedef struct Test_structure_3 {
543 struct Test_structure_2 *m1 /* OPTIONAL */;
544
545 /* Presence bitmask: ASN_SET_ISPRESENT(pTest_structure_3, Test_structure_3_PR_x) */
546 unsigned int _presence_map
547 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
548
549 /* Context for parsing across buffer boundaries */
550 asn_struct_ctx_t _asn_ctx;
551} Test_structure_3_t;
552
Lev Walkinc8285712005-03-04 22:18:20 +0000553/*** <<< FUNC-DECLS [Test-structure-3] >>> ***/
554
555extern asn_TYPE_descriptor_t asn_DEF_Test_structure_3;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800556extern asn_SET_specifics_t asn_SPC_Test_structure_3_specs_1;
557extern asn_TYPE_member_t asn_MBR_Test_structure_3_1[1];
Lev Walkinc8285712005-03-04 22:18:20 +0000558
559/*** <<< POST-INCLUDE [Test-structure-3] >>> ***/
560
Lev Walkin22b5ed42006-09-13 02:51:20 +0000561#include "Test-structure-2.h"
Lev Walkinc8285712005-03-04 22:18:20 +0000562
Lev Walkin1ca69672004-09-29 13:19:12 +0000563/*** <<< STAT-DEFS [Test-structure-3] >>> ***/
564
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800565asn_TYPE_member_t asn_MBR_Test_structure_3_1[] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000566 { ATF_POINTER, 1, offsetof(struct Test_structure_3, m1),
567 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
568 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000569 .type = &asn_DEF_Test_structure_2,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000570 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400571 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000572 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
573 .default_value = 0,
Lev Walkin1ca69672004-09-29 13:19:12 +0000574 .name = "m1"
575 },
576};
Lev Walkina7591b52014-10-12 18:37:35 -0700577static const ber_tlv_tag_t asn_DEF_Test_structure_3_tags_1[] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000578 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
579};
Lev Walkina7591b52014-10-12 18:37:35 -0700580static const asn_TYPE_tag2member_t asn_MAP_Test_structure_3_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700581 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* m1 */
Lev Walkin1ca69672004-09-29 13:19:12 +0000582};
Lev Walkina7591b52014-10-12 18:37:35 -0700583static const uint8_t asn_MAP_Test_structure_3_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000584 (0 << 7)
585};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800586asn_SET_specifics_t asn_SPC_Test_structure_3_specs_1 = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000587 sizeof(struct Test_structure_3),
588 offsetof(struct Test_structure_3, _asn_ctx),
589 offsetof(struct Test_structure_3, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +0000590 asn_MAP_Test_structure_3_tag2el_1,
Lev Walkin1ca69672004-09-29 13:19:12 +0000591 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000592 asn_MAP_Test_structure_3_tag2el_1, /* Same as above */
Lev Walkinf82138b2005-02-25 08:20:32 +0000593 1, /* Count of tags in the CXER map */
Lev Walkin1ca69672004-09-29 13:19:12 +0000594 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -0700595 (const unsigned int *)asn_MAP_Test_structure_3_mmap_1 /* Mandatory elements map */
Lev Walkin1ca69672004-09-29 13:19:12 +0000596};
597asn_TYPE_descriptor_t asn_DEF_Test_structure_3 = {
598 "Test-structure-3",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000599 "Test-structure-3",
Lev Walkin1ca69672004-09-29 13:19:12 +0000600 SET_free,
601 SET_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700602 SET_compare,
Lev Walkin1ca69672004-09-29 13:19:12 +0000603 SET_constraint,
604 SET_decode_ber,
605 SET_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000606 SET_decode_xer,
Lev Walkin1ca69672004-09-29 13:19:12 +0000607 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700608 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400609 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin1ca69672004-09-29 13:19:12 +0000610 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000611 asn_DEF_Test_structure_3_tags_1,
612 sizeof(asn_DEF_Test_structure_3_tags_1)
613 /sizeof(asn_DEF_Test_structure_3_tags_1[0]), /* 1 */
614 asn_DEF_Test_structure_3_tags_1, /* Same as above */
615 sizeof(asn_DEF_Test_structure_3_tags_1)
616 /sizeof(asn_DEF_Test_structure_3_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400617 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000618 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000619 asn_MBR_Test_structure_3_1,
Lev Walkin1ca69672004-09-29 13:19:12 +0000620 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000621 &asn_SPC_Test_structure_3_specs_1 /* Additional specs */
Lev Walkin67ec2092004-09-08 00:26:56 +0000622};
623