blob: 25b49e352f5c8a49112123d32bad9e1a4e8aa8d0 [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;
40
41/*** <<< POST-INCLUDE [Test-structure-1] >>> ***/
42
Lev Walkin22b5ed42006-09-13 02:51:20 +000043#include "Test-structure-1.h"
Lev Walkinc8285712005-03-04 22:18:20 +000044
Lev Walkin67ec2092004-09-08 00:26:56 +000045/*** <<< STAT-DEFS [Test-structure-1] >>> ***/
46
Lev Walkine0272aa2005-03-04 11:26:08 +000047static asn_TYPE_member_t asn_MBR_t_member1_2[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +000048 { ATF_POINTER, 0, 0,
Lev Walkin67ec2092004-09-08 00:26:56 +000049 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
50 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +000051 .type = &asn_DEF_Test_structure_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +000052 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040053 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000054 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
55 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +000056 .name = ""
57 },
58};
Lev Walkina7591b52014-10-12 18:37:35 -070059static const ber_tlv_tag_t asn_DEF_t_member1_tags_2[] = {
Lev Walkin67ec2092004-09-08 00:26:56 +000060 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
61};
Lev Walkin59b176e2005-11-26 11:25:14 +000062static asn_SET_OF_specifics_t asn_SPC_t_member1_specs_2 = {
Lev Walkin67ec2092004-09-08 00:26:56 +000063 sizeof(struct t_member1),
Lev Walkin1ca69672004-09-29 13:19:12 +000064 offsetof(struct t_member1, _asn_ctx),
Lev Walkina9cc46e2004-09-22 16:06:28 +000065 0, /* XER encoding is XMLDelimitedItemList */
Lev Walkin67ec2092004-09-08 00:26:56 +000066};
67static /* Use -fall-defs-global to expose */
Lev Walkine0272aa2005-03-04 11:26:08 +000068asn_TYPE_descriptor_t asn_DEF_t_member1_2 = {
Lev Walkin67ec2092004-09-08 00:26:56 +000069 "t-member1",
Lev Walkindc06f6b2004-10-20 15:50:55 +000070 "t-member1",
Lev Walkina9cc46e2004-09-22 16:06:28 +000071 SET_OF_free,
72 SET_OF_print,
Lev Walkin67ec2092004-09-08 00:26:56 +000073 SET_OF_constraint,
74 SET_OF_decode_ber,
75 SET_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +000076 SET_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +000077 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -070078 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +040079 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin67ec2092004-09-08 00:26:56 +000080 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +000081 asn_DEF_t_member1_tags_2,
82 sizeof(asn_DEF_t_member1_tags_2)
83 /sizeof(asn_DEF_t_member1_tags_2[0]), /* 1 */
84 asn_DEF_t_member1_tags_2, /* Same as above */
85 sizeof(asn_DEF_t_member1_tags_2)
86 /sizeof(asn_DEF_t_member1_tags_2[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +040087 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +000088 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +000089 asn_MBR_t_member1_2,
Lev Walkin67ec2092004-09-08 00:26:56 +000090 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +000091 &asn_SPC_t_member1_specs_2 /* Additional specs */
Lev Walkin67ec2092004-09-08 00:26:56 +000092};
93
Lev Walkine8318b82005-03-06 09:29:03 +000094static asn_TYPE_member_t asn_MBR_t_member2_4[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +000095 { ATF_POINTER, 0, 0,
Lev Walkin67ec2092004-09-08 00:26:56 +000096 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
97 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +000098 .type = &asn_DEF_Test_structure_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +000099 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400100 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000101 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
102 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000103 .name = ""
104 },
105};
Lev Walkina7591b52014-10-12 18:37:35 -0700106static const ber_tlv_tag_t asn_DEF_t_member2_tags_4[] = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000107 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
108};
Lev Walkin59b176e2005-11-26 11:25:14 +0000109static asn_SET_OF_specifics_t asn_SPC_t_member2_specs_4 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000110 sizeof(struct t_member2),
Lev Walkin1ca69672004-09-29 13:19:12 +0000111 offsetof(struct t_member2, _asn_ctx),
Lev Walkina9cc46e2004-09-22 16:06:28 +0000112 0, /* XER encoding is XMLDelimitedItemList */
Lev Walkin67ec2092004-09-08 00:26:56 +0000113};
114static /* Use -fall-defs-global to expose */
Lev Walkine8318b82005-03-06 09:29:03 +0000115asn_TYPE_descriptor_t asn_DEF_t_member2_4 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000116 "t-member2",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000117 "t-member2",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000118 SEQUENCE_OF_free,
119 SEQUENCE_OF_print,
Lev Walkin67ec2092004-09-08 00:26:56 +0000120 SEQUENCE_OF_constraint,
121 SEQUENCE_OF_decode_ber,
122 SEQUENCE_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000123 SEQUENCE_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000124 SEQUENCE_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700125 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400126 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin67ec2092004-09-08 00:26:56 +0000127 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000128 asn_DEF_t_member2_tags_4,
129 sizeof(asn_DEF_t_member2_tags_4)
130 /sizeof(asn_DEF_t_member2_tags_4[0]), /* 1 */
131 asn_DEF_t_member2_tags_4, /* Same as above */
132 sizeof(asn_DEF_t_member2_tags_4)
133 /sizeof(asn_DEF_t_member2_tags_4[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400134 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000135 0, /* No PER visible constraints */
Lev Walkine8318b82005-03-06 09:29:03 +0000136 asn_MBR_t_member2_4,
Lev Walkin67ec2092004-09-08 00:26:56 +0000137 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000138 &asn_SPC_t_member2_specs_4 /* Additional specs */
Lev Walkin67ec2092004-09-08 00:26:56 +0000139};
140
Lev Walkine0272aa2005-03-04 11:26:08 +0000141static asn_TYPE_member_t asn_MBR_Test_structure_1_1[] = {
Lev Walkincc93b0f2004-09-10 09:18:20 +0000142 { ATF_NOFLAGS, 0, offsetof(struct Test_structure_1, t_member1),
Lev Walkin67ec2092004-09-08 00:26:56 +0000143 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
144 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000145 .type = &asn_DEF_t_member1_2,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000146 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400147 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000148 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
149 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000150 .name = "t-member1"
151 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000152 { ATF_NOFLAGS, 0, offsetof(struct Test_structure_1, t_member2),
Lev Walkin67ec2092004-09-08 00:26:56 +0000153 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
154 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000155 .type = &asn_DEF_t_member2_4,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000156 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400157 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000158 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
159 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000160 .name = "t-member2"
161 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000162 { ATF_POINTER, 1, offsetof(struct Test_structure_1, t_member3),
Lev Walkin67ec2092004-09-08 00:26:56 +0000163 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
164 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000165 .type = &asn_DEF_Test_structure_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000166 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400167 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000168 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
169 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000170 .name = "t-member3"
171 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000172 { ATF_NOFLAGS, 0, offsetof(struct Test_structure_1, t_member4),
Lev Walkin67ec2092004-09-08 00:26:56 +0000173 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
174 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000175 .type = &asn_DEF_INTEGER,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000176 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400177 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000178 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
179 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000180 .name = "t-member4"
181 },
182};
Lev Walkina7591b52014-10-12 18:37:35 -0700183static const ber_tlv_tag_t asn_DEF_Test_structure_1_tags_1[] = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000184 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
185};
Lev Walkina7591b52014-10-12 18:37:35 -0700186static const asn_TYPE_tag2member_t asn_MAP_Test_structure_1_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700187 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* t-member4 */
188 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 1 }, /* t-member2 */
189 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -1, 0 }, /* t-member3 */
190 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* t-member1 */
Lev Walkin67ec2092004-09-08 00:26:56 +0000191};
Lev Walkin59b176e2005-11-26 11:25:14 +0000192static asn_SEQUENCE_specifics_t asn_SPC_Test_structure_1_specs_1 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000193 sizeof(struct Test_structure_1),
Lev Walkin1ca69672004-09-29 13:19:12 +0000194 offsetof(struct Test_structure_1, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +0000195 asn_MAP_Test_structure_1_tag2el_1,
Lev Walkin67ec2092004-09-08 00:26:56 +0000196 4, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000197 0, 0, 0, /* Optional elements (not needed) */
Lev Walkin67ec2092004-09-08 00:26:56 +0000198 -1, /* Start extensions */
199 -1 /* Stop extensions */
200};
Lev Walkin1ca69672004-09-29 13:19:12 +0000201asn_TYPE_descriptor_t asn_DEF_Test_structure_1 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000202 "Test-structure-1",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000203 "Test-structure-1",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000204 SEQUENCE_free,
205 SEQUENCE_print,
Lev Walkin67ec2092004-09-08 00:26:56 +0000206 SEQUENCE_constraint,
207 SEQUENCE_decode_ber,
208 SEQUENCE_encode_der,
Lev Walkin61b40d82004-10-23 15:07:45 +0000209 SEQUENCE_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000210 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700211 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400212 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin67ec2092004-09-08 00:26:56 +0000213 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000214 asn_DEF_Test_structure_1_tags_1,
215 sizeof(asn_DEF_Test_structure_1_tags_1)
216 /sizeof(asn_DEF_Test_structure_1_tags_1[0]), /* 1 */
217 asn_DEF_Test_structure_1_tags_1, /* Same as above */
218 sizeof(asn_DEF_Test_structure_1_tags_1)
219 /sizeof(asn_DEF_Test_structure_1_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400220 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000221 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000222 asn_MBR_Test_structure_1_1,
Lev Walkin67ec2092004-09-08 00:26:56 +0000223 4, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000224 &asn_SPC_Test_structure_1_specs_1 /* Additional specs */
Lev Walkin67ec2092004-09-08 00:26:56 +0000225};
226
227
228/*** <<< INCLUDES [Choice-1] >>> ***/
229
Lev Walkin67ec2092004-09-08 00:26:56 +0000230#include <INTEGER.h>
231#include <asn_SET_OF.h>
232#include <constr_SET_OF.h>
233#include <constr_CHOICE.h>
234
235/*** <<< DEPS [Choice-1] >>> ***/
236
237typedef enum Choice_1_PR {
238 Choice_1_PR_NOTHING, /* No components present */
239 Choice_1_PR_and,
240 Choice_1_PR_or,
241 Choice_1_PR_not,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000242 Choice_1_PR_other
Lev Walkin67ec2092004-09-08 00:26:56 +0000243} Choice_1_PR;
Lev Walkin1ca69672004-09-29 13:19:12 +0000244
Lev Walkinc8285712005-03-04 22:18:20 +0000245/*** <<< FWD-DECLS [Choice-1] >>> ***/
Lev Walkin1ca69672004-09-29 13:19:12 +0000246
Lev Walkinbf56d542005-03-04 23:50:56 +0000247struct Choice_1;
Lev Walkin67ec2092004-09-08 00:26:56 +0000248
249/*** <<< TYPE-DECLS [Choice-1] >>> ***/
250
Lev Walkin67ec2092004-09-08 00:26:56 +0000251typedef struct Choice_1 {
252 Choice_1_PR present;
Lev Walkin0f5d74c2005-08-14 15:03:31 +0000253 union Choice_1_u {
Lev Walkin2a744a72013-03-27 01:56:23 -0700254 struct Choice_1 *And;
255 struct Or {
Lev Walkin67ec2092004-09-08 00:26:56 +0000256 A_SET_OF(struct Choice_1) list;
257
258 /* Context for parsing across buffer boundaries */
Lev Walkin1ca69672004-09-29 13:19:12 +0000259 asn_struct_ctx_t _asn_ctx;
Lev Walkin2a744a72013-03-27 01:56:23 -0700260 } Or;
261 struct Choice_1 *Not;
Lev Walkin67ec2092004-09-08 00:26:56 +0000262 INTEGER_t other;
263 } choice;
264
265 /* Context for parsing across buffer boundaries */
Lev Walkin1ca69672004-09-29 13:19:12 +0000266 asn_struct_ctx_t _asn_ctx;
Lev Walkin67ec2092004-09-08 00:26:56 +0000267} Choice_1_t;
268
Lev Walkinc8285712005-03-04 22:18:20 +0000269/*** <<< FUNC-DECLS [Choice-1] >>> ***/
270
271extern asn_TYPE_descriptor_t asn_DEF_Choice_1;
272
273/*** <<< POST-INCLUDE [Choice-1] >>> ***/
274
Lev Walkin22b5ed42006-09-13 02:51:20 +0000275#include "Choice-1.h"
Lev Walkinc8285712005-03-04 22:18:20 +0000276
Lev Walkin67ec2092004-09-08 00:26:56 +0000277/*** <<< STAT-DEFS [Choice-1] >>> ***/
278
Lev Walkine8318b82005-03-06 09:29:03 +0000279static asn_TYPE_member_t asn_MBR_or_3[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +0000280 { ATF_POINTER, 0, 0,
Lev Walkinb9189732004-09-10 09:37:12 +0000281 .tag = -1 /* Ambiguous tag (CHOICE?) */,
Lev Walkin67ec2092004-09-08 00:26:56 +0000282 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000283 .type = &asn_DEF_Choice_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000284 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400285 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000286 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
287 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000288 .name = ""
289 },
290};
Lev Walkina7591b52014-10-12 18:37:35 -0700291static const ber_tlv_tag_t asn_DEF_or_tags_3[] = {
Lev Walkin188ed2c2004-09-13 08:31:01 +0000292 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
293 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
Lev Walkin67ec2092004-09-08 00:26:56 +0000294};
Lev Walkin59b176e2005-11-26 11:25:14 +0000295static asn_SET_OF_specifics_t asn_SPC_or_specs_3 = {
Lev Walkin2a744a72013-03-27 01:56:23 -0700296 sizeof(struct Or),
297 offsetof(struct Or, _asn_ctx),
Lev Walkind1bfea62005-11-08 03:06:16 +0000298 2, /* XER encoding is XMLValueList */
Lev Walkin67ec2092004-09-08 00:26:56 +0000299};
300static /* Use -fall-defs-global to expose */
Lev Walkine8318b82005-03-06 09:29:03 +0000301asn_TYPE_descriptor_t asn_DEF_or_3 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000302 "or",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000303 "or",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000304 SET_OF_free,
305 SET_OF_print,
Lev Walkin67ec2092004-09-08 00:26:56 +0000306 SET_OF_constraint,
307 SET_OF_decode_ber,
308 SET_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000309 SET_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000310 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700311 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400312 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin67ec2092004-09-08 00:26:56 +0000313 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000314 asn_DEF_or_tags_3,
315 sizeof(asn_DEF_or_tags_3)
316 /sizeof(asn_DEF_or_tags_3[0]) - 1, /* 1 */
317 asn_DEF_or_tags_3, /* Same as above */
318 sizeof(asn_DEF_or_tags_3)
319 /sizeof(asn_DEF_or_tags_3[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400320 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000321 0, /* No PER visible constraints */
Lev Walkine8318b82005-03-06 09:29:03 +0000322 asn_MBR_or_3,
Lev Walkin67ec2092004-09-08 00:26:56 +0000323 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000324 &asn_SPC_or_specs_3 /* Additional specs */
Lev Walkin67ec2092004-09-08 00:26:56 +0000325};
326
Lev Walkine0272aa2005-03-04 11:26:08 +0000327static asn_TYPE_member_t asn_MBR_Choice_1_1[] = {
Lev Walkin2a744a72013-03-27 01:56:23 -0700328 { ATF_POINTER, 0, offsetof(struct Choice_1, choice.And),
Lev Walkin67ec2092004-09-08 00:26:56 +0000329 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
330 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000331 .type = &asn_DEF_Choice_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000332 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400333 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000334 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
335 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000336 .name = "and"
337 },
Lev Walkin2a744a72013-03-27 01:56:23 -0700338 { ATF_NOFLAGS, 0, offsetof(struct Choice_1, choice.Or),
Lev Walkin67ec2092004-09-08 00:26:56 +0000339 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000340 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000341 .type = &asn_DEF_or_3,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000342 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400343 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000344 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
345 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000346 .name = "or"
347 },
Lev Walkin2a744a72013-03-27 01:56:23 -0700348 { ATF_POINTER, 0, offsetof(struct Choice_1, choice.Not),
Lev Walkin67ec2092004-09-08 00:26:56 +0000349 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
350 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000351 .type = &asn_DEF_Choice_1,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000352 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400353 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000354 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
355 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000356 .name = "not"
357 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000358 { ATF_NOFLAGS, 0, offsetof(struct Choice_1, choice.other),
Lev Walkin67ec2092004-09-08 00:26:56 +0000359 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
360 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000361 .type = &asn_DEF_INTEGER,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000362 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400363 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000364 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
365 .default_value = 0,
Lev Walkin67ec2092004-09-08 00:26:56 +0000366 .name = "other"
367 },
368};
Lev Walkina7591b52014-10-12 18:37:35 -0700369static const asn_TYPE_tag2member_t asn_MAP_Choice_1_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700370 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* and */
371 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* or */
372 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, 0, 0 }, /* not */
373 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 3, 0, 0 } /* other */
Lev Walkin67ec2092004-09-08 00:26:56 +0000374};
Lev Walkin59b176e2005-11-26 11:25:14 +0000375static asn_CHOICE_specifics_t asn_SPC_Choice_1_specs_1 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000376 sizeof(struct Choice_1),
Lev Walkin1ca69672004-09-29 13:19:12 +0000377 offsetof(struct Choice_1, _asn_ctx),
Lev Walkin67ec2092004-09-08 00:26:56 +0000378 offsetof(struct Choice_1, present),
379 sizeof(((struct Choice_1 *)0)->present),
Lev Walkin59b176e2005-11-26 11:25:14 +0000380 asn_MAP_Choice_1_tag2el_1,
Lev Walkin67ec2092004-09-08 00:26:56 +0000381 4, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000382 .canonical_order = 0,
383 .ext_start = -1 /* Extensions start */
Lev Walkin67ec2092004-09-08 00:26:56 +0000384};
Lev Walkin1ca69672004-09-29 13:19:12 +0000385asn_TYPE_descriptor_t asn_DEF_Choice_1 = {
Lev Walkin67ec2092004-09-08 00:26:56 +0000386 "Choice-1",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000387 "Choice-1",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000388 CHOICE_free,
389 CHOICE_print,
Lev Walkin67ec2092004-09-08 00:26:56 +0000390 CHOICE_constraint,
391 CHOICE_decode_ber,
392 CHOICE_encode_der,
Lev Walkin61b40d82004-10-23 15:07:45 +0000393 CHOICE_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000394 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700395 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400396 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin67ec2092004-09-08 00:26:56 +0000397 CHOICE_outmost_tag,
Lev Walkin188ed2c2004-09-13 08:31:01 +0000398 0, /* No effective tags (pointer) */
399 0, /* No effective tags (count) */
400 0, /* No tags (pointer) */
401 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400402 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000403 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000404 asn_MBR_Choice_1_1,
Lev Walkin67ec2092004-09-08 00:26:56 +0000405 4, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000406 &asn_SPC_Choice_1_specs_1 /* Additional specs */
Lev Walkin1ca69672004-09-29 13:19:12 +0000407};
408
409
410/*** <<< INCLUDES [Test-structure-2] >>> ***/
411
Lev Walkin1ca69672004-09-29 13:19:12 +0000412#include <constr_SET.h>
413
414/*** <<< DEPS [Test-structure-2] >>> ***/
415
416
417/*
418 * Method of determining the components presence
419 */
420typedef enum Test_structure_2_PR {
421 Test_structure_2_PR_m1, /* Member m1 is present */
422} Test_structure_2_PR;
423
Lev Walkinc8285712005-03-04 22:18:20 +0000424/*** <<< FWD-DECLS [Test-structure-2] >>> ***/
425
Lev Walkinbf56d542005-03-04 23:50:56 +0000426struct Test_structure_3;
Lev Walkin1ca69672004-09-29 13:19:12 +0000427
428/*** <<< TYPE-DECLS [Test-structure-2] >>> ***/
429
Lev Walkin1ca69672004-09-29 13:19:12 +0000430typedef struct Test_structure_2 {
431 struct Test_structure_3 *m1 /* OPTIONAL */;
432
433 /* Presence bitmask: ASN_SET_ISPRESENT(pTest_structure_2, Test_structure_2_PR_x) */
434 unsigned int _presence_map
435 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
436
437 /* Context for parsing across buffer boundaries */
438 asn_struct_ctx_t _asn_ctx;
439} Test_structure_2_t;
440
Lev Walkinc8285712005-03-04 22:18:20 +0000441/*** <<< FUNC-DECLS [Test-structure-2] >>> ***/
442
443extern asn_TYPE_descriptor_t asn_DEF_Test_structure_2;
444
445/*** <<< POST-INCLUDE [Test-structure-2] >>> ***/
446
Lev Walkin22b5ed42006-09-13 02:51:20 +0000447#include "Test-structure-3.h"
Lev Walkinc8285712005-03-04 22:18:20 +0000448
Lev Walkin1ca69672004-09-29 13:19:12 +0000449/*** <<< STAT-DEFS [Test-structure-2] >>> ***/
450
Lev Walkine0272aa2005-03-04 11:26:08 +0000451static asn_TYPE_member_t asn_MBR_Test_structure_2_1[] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000452 { ATF_POINTER, 1, offsetof(struct Test_structure_2, m1),
453 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
454 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000455 .type = &asn_DEF_Test_structure_3,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000456 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400457 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000458 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
459 .default_value = 0,
Lev Walkin1ca69672004-09-29 13:19:12 +0000460 .name = "m1"
461 },
462};
Lev Walkina7591b52014-10-12 18:37:35 -0700463static const ber_tlv_tag_t asn_DEF_Test_structure_2_tags_1[] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000464 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
465};
Lev Walkina7591b52014-10-12 18:37:35 -0700466static const asn_TYPE_tag2member_t asn_MAP_Test_structure_2_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700467 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* m1 */
Lev Walkin1ca69672004-09-29 13:19:12 +0000468};
Lev Walkina7591b52014-10-12 18:37:35 -0700469static const uint8_t asn_MAP_Test_structure_2_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000470 (0 << 7)
471};
Lev Walkin59b176e2005-11-26 11:25:14 +0000472static asn_SET_specifics_t asn_SPC_Test_structure_2_specs_1 = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000473 sizeof(struct Test_structure_2),
474 offsetof(struct Test_structure_2, _asn_ctx),
475 offsetof(struct Test_structure_2, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +0000476 asn_MAP_Test_structure_2_tag2el_1,
Lev Walkin1ca69672004-09-29 13:19:12 +0000477 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000478 asn_MAP_Test_structure_2_tag2el_1, /* Same as above */
Lev Walkinf82138b2005-02-25 08:20:32 +0000479 1, /* Count of tags in the CXER map */
Lev Walkin1ca69672004-09-29 13:19:12 +0000480 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -0700481 (const unsigned int *)asn_MAP_Test_structure_2_mmap_1 /* Mandatory elements map */
Lev Walkin1ca69672004-09-29 13:19:12 +0000482};
483asn_TYPE_descriptor_t asn_DEF_Test_structure_2 = {
484 "Test-structure-2",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000485 "Test-structure-2",
Lev Walkin1ca69672004-09-29 13:19:12 +0000486 SET_free,
487 SET_print,
488 SET_constraint,
489 SET_decode_ber,
490 SET_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000491 SET_decode_xer,
Lev Walkin1ca69672004-09-29 13:19:12 +0000492 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700493 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400494 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin1ca69672004-09-29 13:19:12 +0000495 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000496 asn_DEF_Test_structure_2_tags_1,
497 sizeof(asn_DEF_Test_structure_2_tags_1)
498 /sizeof(asn_DEF_Test_structure_2_tags_1[0]), /* 1 */
499 asn_DEF_Test_structure_2_tags_1, /* Same as above */
500 sizeof(asn_DEF_Test_structure_2_tags_1)
501 /sizeof(asn_DEF_Test_structure_2_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400502 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000503 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000504 asn_MBR_Test_structure_2_1,
Lev Walkin1ca69672004-09-29 13:19:12 +0000505 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000506 &asn_SPC_Test_structure_2_specs_1 /* Additional specs */
Lev Walkin1ca69672004-09-29 13:19:12 +0000507};
508
509
510/*** <<< INCLUDES [Test-structure-3] >>> ***/
511
Lev Walkin1ca69672004-09-29 13:19:12 +0000512#include <constr_SET.h>
513
514/*** <<< DEPS [Test-structure-3] >>> ***/
515
516
517/*
518 * Method of determining the components presence
519 */
520typedef enum Test_structure_3_PR {
521 Test_structure_3_PR_m1, /* Member m1 is present */
522} Test_structure_3_PR;
523
Lev Walkinc8285712005-03-04 22:18:20 +0000524/*** <<< FWD-DECLS [Test-structure-3] >>> ***/
525
Lev Walkinbf56d542005-03-04 23:50:56 +0000526struct Test_structure_2;
Lev Walkin1ca69672004-09-29 13:19:12 +0000527
528/*** <<< TYPE-DECLS [Test-structure-3] >>> ***/
529
Lev Walkin1ca69672004-09-29 13:19:12 +0000530typedef struct Test_structure_3 {
531 struct Test_structure_2 *m1 /* OPTIONAL */;
532
533 /* Presence bitmask: ASN_SET_ISPRESENT(pTest_structure_3, Test_structure_3_PR_x) */
534 unsigned int _presence_map
535 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
536
537 /* Context for parsing across buffer boundaries */
538 asn_struct_ctx_t _asn_ctx;
539} Test_structure_3_t;
540
Lev Walkinc8285712005-03-04 22:18:20 +0000541/*** <<< FUNC-DECLS [Test-structure-3] >>> ***/
542
543extern asn_TYPE_descriptor_t asn_DEF_Test_structure_3;
544
545/*** <<< POST-INCLUDE [Test-structure-3] >>> ***/
546
Lev Walkin22b5ed42006-09-13 02:51:20 +0000547#include "Test-structure-2.h"
Lev Walkinc8285712005-03-04 22:18:20 +0000548
Lev Walkin1ca69672004-09-29 13:19:12 +0000549/*** <<< STAT-DEFS [Test-structure-3] >>> ***/
550
Lev Walkine0272aa2005-03-04 11:26:08 +0000551static asn_TYPE_member_t asn_MBR_Test_structure_3_1[] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000552 { ATF_POINTER, 1, offsetof(struct Test_structure_3, m1),
553 .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
554 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000555 .type = &asn_DEF_Test_structure_2,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000556 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400557 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000558 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
559 .default_value = 0,
Lev Walkin1ca69672004-09-29 13:19:12 +0000560 .name = "m1"
561 },
562};
Lev Walkina7591b52014-10-12 18:37:35 -0700563static const ber_tlv_tag_t asn_DEF_Test_structure_3_tags_1[] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000564 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
565};
Lev Walkina7591b52014-10-12 18:37:35 -0700566static const asn_TYPE_tag2member_t asn_MAP_Test_structure_3_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700567 { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* m1 */
Lev Walkin1ca69672004-09-29 13:19:12 +0000568};
Lev Walkina7591b52014-10-12 18:37:35 -0700569static const uint8_t asn_MAP_Test_structure_3_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000570 (0 << 7)
571};
Lev Walkin59b176e2005-11-26 11:25:14 +0000572static asn_SET_specifics_t asn_SPC_Test_structure_3_specs_1 = {
Lev Walkin1ca69672004-09-29 13:19:12 +0000573 sizeof(struct Test_structure_3),
574 offsetof(struct Test_structure_3, _asn_ctx),
575 offsetof(struct Test_structure_3, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +0000576 asn_MAP_Test_structure_3_tag2el_1,
Lev Walkin1ca69672004-09-29 13:19:12 +0000577 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000578 asn_MAP_Test_structure_3_tag2el_1, /* Same as above */
Lev Walkinf82138b2005-02-25 08:20:32 +0000579 1, /* Count of tags in the CXER map */
Lev Walkin1ca69672004-09-29 13:19:12 +0000580 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -0700581 (const unsigned int *)asn_MAP_Test_structure_3_mmap_1 /* Mandatory elements map */
Lev Walkin1ca69672004-09-29 13:19:12 +0000582};
583asn_TYPE_descriptor_t asn_DEF_Test_structure_3 = {
584 "Test-structure-3",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000585 "Test-structure-3",
Lev Walkin1ca69672004-09-29 13:19:12 +0000586 SET_free,
587 SET_print,
588 SET_constraint,
589 SET_decode_ber,
590 SET_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000591 SET_decode_xer,
Lev Walkin1ca69672004-09-29 13:19:12 +0000592 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700593 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400594 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin1ca69672004-09-29 13:19:12 +0000595 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000596 asn_DEF_Test_structure_3_tags_1,
597 sizeof(asn_DEF_Test_structure_3_tags_1)
598 /sizeof(asn_DEF_Test_structure_3_tags_1[0]), /* 1 */
599 asn_DEF_Test_structure_3_tags_1, /* Same as above */
600 sizeof(asn_DEF_Test_structure_3_tags_1)
601 /sizeof(asn_DEF_Test_structure_3_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400602 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000603 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000604 asn_MBR_Test_structure_3_1,
Lev Walkin1ca69672004-09-29 13:19:12 +0000605 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000606 &asn_SPC_Test_structure_3_specs_1 /* Additional specs */
Lev Walkin67ec2092004-09-08 00:26:56 +0000607};
608