blob: 34884ff46ac735a90f7477c3c8341b83c29752c8 [file] [log] [blame]
Lev Walkincee931e2005-08-16 16:56:59 +00001
2/*** <<< INCLUDES [Everything] >>> ***/
3
Lev Walkin22b5ed42006-09-13 02:51:20 +00004#include "Set.h"
5#include "Alpha.h"
6#include "Beta.h"
7#include "Gamma.h"
8#include "OneTwo.h"
9#include "TwoThree.h"
10#include "ThreeOne.h"
Lev Walkincee931e2005-08-16 16:56:59 +000011#include <constr_SEQUENCE.h>
12
Lev Walkinb85a8132005-08-18 13:38:19 +000013/*** <<< FWD-DECLS [Everything] >>> ***/
14
15struct Choice1;
16struct Choice2;
17struct Choice3;
18
Lev Walkincee931e2005-08-16 16:56:59 +000019/*** <<< TYPE-DECLS [Everything] >>> ***/
20
21typedef struct Everything {
Lev Walkinb85a8132005-08-18 13:38:19 +000022 struct Choice1 *ch1;
23 struct Choice2 *ch2;
24 struct Choice3 *ch3;
Lev Walkincee931e2005-08-16 16:56:59 +000025 Set_t set;
Lev Walkinb85a8132005-08-18 13:38:19 +000026 Alpha_t a;
27 Beta_t b;
28 Gamma_t g;
29 OneTwo_t ot;
30 TwoThree_t tt;
31 ThreeOne_t to;
Lev Walkincee931e2005-08-16 16:56:59 +000032
33 /* Context for parsing across buffer boundaries */
34 asn_struct_ctx_t _asn_ctx;
35} Everything_t;
36
37/*** <<< FUNC-DECLS [Everything] >>> ***/
38
39extern asn_TYPE_descriptor_t asn_DEF_Everything;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080040extern asn_SEQUENCE_specifics_t asn_SPC_Everything_specs_1;
41extern asn_TYPE_member_t asn_MBR_Everything_1[10];
Lev Walkincee931e2005-08-16 16:56:59 +000042
Lev Walkinb85a8132005-08-18 13:38:19 +000043/*** <<< POST-INCLUDE [Everything] >>> ***/
44
Lev Walkin22b5ed42006-09-13 02:51:20 +000045#include "Choice1.h"
46#include "Choice2.h"
47#include "Choice3.h"
Lev Walkinb85a8132005-08-18 13:38:19 +000048
Lev Walkincee931e2005-08-16 16:56:59 +000049/*** <<< STAT-DEFS [Everything] >>> ***/
50
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080051asn_TYPE_member_t asn_MBR_Everything_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +000052 { ATF_POINTER, 0, offsetof(struct Everything, ch1),
Lev Walkincee931e2005-08-16 16:56:59 +000053 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
54 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +000055 .type = &asn_DEF_Choice1,
Lev Walkincee931e2005-08-16 16:56:59 +000056 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040057 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000058 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
59 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +000060 .name = "ch1"
61 },
Lev Walkinb85a8132005-08-18 13:38:19 +000062 { ATF_POINTER, 0, offsetof(struct Everything, ch2),
Lev Walkincee931e2005-08-16 16:56:59 +000063 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
64 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +000065 .type = &asn_DEF_Choice2,
Lev Walkincee931e2005-08-16 16:56:59 +000066 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040067 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000068 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
69 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +000070 .name = "ch2"
71 },
Lev Walkinb85a8132005-08-18 13:38:19 +000072 { ATF_POINTER, 0, offsetof(struct Everything, ch3),
Lev Walkincee931e2005-08-16 16:56:59 +000073 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
Lev Walkinb85a8132005-08-18 13:38:19 +000074 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +000075 .type = &asn_DEF_Choice3,
Lev Walkinb85a8132005-08-18 13:38:19 +000076 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040077 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000078 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
79 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +000080 .name = "ch3"
81 },
82 { ATF_NOFLAGS, 0, offsetof(struct Everything, set),
83 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
Lev Walkincee931e2005-08-16 16:56:59 +000084 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +000085 .type = &asn_DEF_Set,
Lev Walkincee931e2005-08-16 16:56:59 +000086 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040087 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000088 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
89 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +000090 .name = "set"
91 },
Lev Walkinb85a8132005-08-18 13:38:19 +000092 { ATF_NOFLAGS, 0, offsetof(struct Everything, a),
93 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
94 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +000095 .type = &asn_DEF_Alpha,
Lev Walkinb85a8132005-08-18 13:38:19 +000096 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040097 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000098 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
99 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000100 .name = "a"
101 },
102 { ATF_NOFLAGS, 0, offsetof(struct Everything, b),
103 .tag = (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
104 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000105 .type = &asn_DEF_Beta,
Lev Walkinb85a8132005-08-18 13:38:19 +0000106 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400107 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000108 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
109 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000110 .name = "b"
111 },
112 { ATF_NOFLAGS, 0, offsetof(struct Everything, g),
113 .tag = (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
114 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000115 .type = &asn_DEF_Gamma,
Lev Walkinb85a8132005-08-18 13:38:19 +0000116 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400117 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000118 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
119 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000120 .name = "g"
121 },
122 { ATF_NOFLAGS, 0, offsetof(struct Everything, ot),
123 .tag = (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
124 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000125 .type = &asn_DEF_OneTwo,
Lev Walkinb85a8132005-08-18 13:38:19 +0000126 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400127 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000128 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
129 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000130 .name = "ot"
131 },
132 { ATF_NOFLAGS, 0, offsetof(struct Everything, tt),
133 .tag = (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
134 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000135 .type = &asn_DEF_TwoThree,
Lev Walkinb85a8132005-08-18 13:38:19 +0000136 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400137 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000138 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
139 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000140 .name = "tt"
141 },
142 { ATF_NOFLAGS, 0, offsetof(struct Everything, to),
143 .tag = (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
144 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000145 .type = &asn_DEF_ThreeOne,
Lev Walkinb85a8132005-08-18 13:38: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 Walkinb85a8132005-08-18 13:38:19 +0000150 .name = "to"
151 },
Lev Walkincee931e2005-08-16 16:56:59 +0000152};
Lev Walkina7591b52014-10-12 18:37:35 -0700153static const ber_tlv_tag_t asn_DEF_Everything_tags_1[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000154 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
155};
Lev Walkina7591b52014-10-12 18:37:35 -0700156static const asn_TYPE_tag2member_t asn_MAP_Everything_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700157 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ch1 */
158 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ch2 */
159 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ch3 */
160 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* set */
161 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* a */
162 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* b */
163 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* g */
164 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* ot */
165 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* tt */
166 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 } /* to */
Lev Walkincee931e2005-08-16 16:56:59 +0000167};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800168asn_SEQUENCE_specifics_t asn_SPC_Everything_specs_1 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000169 sizeof(struct Everything),
170 offsetof(struct Everything, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +0000171 asn_MAP_Everything_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +0000172 10, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000173 0, 0, 0, /* Optional elements (not needed) */
Lev Walkincee931e2005-08-16 16:56:59 +0000174 -1, /* Start extensions */
175 -1 /* Stop extensions */
176};
177asn_TYPE_descriptor_t asn_DEF_Everything = {
178 "Everything",
179 "Everything",
180 SEQUENCE_free,
181 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700182 SEQUENCE_compare,
Lev Walkincee931e2005-08-16 16:56:59 +0000183 SEQUENCE_constraint,
184 SEQUENCE_decode_ber,
185 SEQUENCE_encode_der,
186 SEQUENCE_decode_xer,
187 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700188 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400189 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000190 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000191 asn_DEF_Everything_tags_1,
192 sizeof(asn_DEF_Everything_tags_1)
193 /sizeof(asn_DEF_Everything_tags_1[0]), /* 1 */
194 asn_DEF_Everything_tags_1, /* Same as above */
195 sizeof(asn_DEF_Everything_tags_1)
196 /sizeof(asn_DEF_Everything_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400197 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000198 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000199 asn_MBR_Everything_1,
Lev Walkinb85a8132005-08-18 13:38:19 +0000200 10, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000201 &asn_SPC_Everything_specs_1 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000202};
203
204
205/*** <<< INCLUDES [Choice1] >>> ***/
206
207#include <constr_CHOICE.h>
208
209/*** <<< DEPS [Choice1] >>> ***/
210
211typedef enum Choice1_PR {
212 Choice1_PR_NOTHING, /* No components present */
213 Choice1_PR_something,
214 /* Extensions may appear below */
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000215 Choice1_PR_some2
Lev Walkincee931e2005-08-16 16:56:59 +0000216} Choice1_PR;
217
218/*** <<< FWD-DECLS [Choice1] >>> ***/
219
220struct Everything;
221
222/*** <<< TYPE-DECLS [Choice1] >>> ***/
223
224typedef struct Choice1 {
225 Choice1_PR present;
226 union Choice1_u {
227 struct Everything *something;
228 /*
229 * This type is extensible,
230 * possible extensions are below.
231 */
232 struct Everything *some2;
233 } choice;
234
235 /* Context for parsing across buffer boundaries */
236 asn_struct_ctx_t _asn_ctx;
237} Choice1_t;
238
239/*** <<< FUNC-DECLS [Choice1] >>> ***/
240
241extern asn_TYPE_descriptor_t asn_DEF_Choice1;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800242extern asn_CHOICE_specifics_t asn_SPC_Choice1_specs_1;
243extern asn_TYPE_member_t asn_MBR_Choice1_1[2];
Lev Walkincee931e2005-08-16 16:56:59 +0000244
245/*** <<< POST-INCLUDE [Choice1] >>> ***/
246
Lev Walkin22b5ed42006-09-13 02:51:20 +0000247#include "Everything.h"
Lev Walkincee931e2005-08-16 16:56:59 +0000248
249/*** <<< STAT-DEFS [Choice1] >>> ***/
250
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800251asn_TYPE_member_t asn_MBR_Choice1_1[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000252 { ATF_POINTER, 0, offsetof(struct Choice1, choice.something),
253 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
254 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000255 .type = &asn_DEF_Everything,
Lev Walkincee931e2005-08-16 16:56:59 +0000256 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400257 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000258 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
259 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000260 .name = "something"
261 },
262 { ATF_POINTER, 0, offsetof(struct Choice1, choice.some2),
263 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
264 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000265 .type = &asn_DEF_Everything,
Lev Walkincee931e2005-08-16 16:56:59 +0000266 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400267 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000268 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
269 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000270 .name = "some2"
271 },
272};
Lev Walkina7591b52014-10-12 18:37:35 -0700273static const asn_TYPE_tag2member_t asn_MAP_Choice1_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700274 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* something */
275 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* some2 */
Lev Walkincee931e2005-08-16 16:56:59 +0000276};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800277asn_CHOICE_specifics_t asn_SPC_Choice1_specs_1 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000278 sizeof(struct Choice1),
279 offsetof(struct Choice1, _asn_ctx),
280 offsetof(struct Choice1, present),
281 sizeof(((struct Choice1 *)0)->present),
Lev Walkin59b176e2005-11-26 11:25:14 +0000282 asn_MAP_Choice1_tag2el_1,
Lev Walkincee931e2005-08-16 16:56:59 +0000283 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000284 .canonical_order = 0,
285 .ext_start = 1 /* Extensions start */
Lev Walkincee931e2005-08-16 16:56:59 +0000286};
287asn_TYPE_descriptor_t asn_DEF_Choice1 = {
288 "Choice1",
289 "Choice1",
290 CHOICE_free,
291 CHOICE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700292 CHOICE_compare,
Lev Walkincee931e2005-08-16 16:56:59 +0000293 CHOICE_constraint,
294 CHOICE_decode_ber,
295 CHOICE_encode_der,
296 CHOICE_decode_xer,
297 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700298 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400299 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000300 CHOICE_outmost_tag,
301 0, /* No effective tags (pointer) */
302 0, /* No effective tags (count) */
303 0, /* No tags (pointer) */
304 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400305 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000306 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000307 asn_MBR_Choice1_1,
308 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000309 &asn_SPC_Choice1_specs_1 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000310};
311
312
313/*** <<< INCLUDES [Choice2] >>> ***/
314
315#include <constr_CHOICE.h>
316
317/*** <<< DEPS [Choice2] >>> ***/
318
319typedef enum Choice2_PR {
320 Choice2_PR_NOTHING, /* No components present */
Lev Walkinb85a8132005-08-18 13:38:19 +0000321 Choice2_PR_typeref,
Lev Walkincee931e2005-08-16 16:56:59 +0000322 /* Extensions may appear below */
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000323 Choice2_PR_some3
Lev Walkincee931e2005-08-16 16:56:59 +0000324} Choice2_PR;
325
326/*** <<< FWD-DECLS [Choice2] >>> ***/
327
Lev Walkinb85a8132005-08-18 13:38:19 +0000328struct Sequence;
Lev Walkincee931e2005-08-16 16:56:59 +0000329struct Everything;
330
331/*** <<< TYPE-DECLS [Choice2] >>> ***/
332
333typedef struct Choice2 {
334 Choice2_PR present;
335 union Choice2_u {
Lev Walkinb85a8132005-08-18 13:38:19 +0000336 struct Sequence *typeref;
Lev Walkincee931e2005-08-16 16:56:59 +0000337 /*
338 * This type is extensible,
339 * possible extensions are below.
340 */
341 struct Everything *some3;
342 } choice;
343
344 /* Context for parsing across buffer boundaries */
345 asn_struct_ctx_t _asn_ctx;
346} Choice2_t;
347
348/*** <<< FUNC-DECLS [Choice2] >>> ***/
349
350extern asn_TYPE_descriptor_t asn_DEF_Choice2;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800351extern asn_CHOICE_specifics_t asn_SPC_Choice2_specs_1;
352extern asn_TYPE_member_t asn_MBR_Choice2_1[2];
Lev Walkincee931e2005-08-16 16:56:59 +0000353
354/*** <<< POST-INCLUDE [Choice2] >>> ***/
355
Lev Walkin22b5ed42006-09-13 02:51:20 +0000356#include "TypeRef.h"
357#include "Everything.h"
Lev Walkincee931e2005-08-16 16:56:59 +0000358
359/*** <<< STAT-DEFS [Choice2] >>> ***/
360
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800361asn_TYPE_member_t asn_MBR_Choice2_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000362 { ATF_POINTER, 0, offsetof(struct Choice2, choice.typeref),
Lev Walkincee931e2005-08-16 16:56:59 +0000363 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
364 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000365 .type = &asn_DEF_TypeRef,
Lev Walkinb85a8132005-08-18 13:38: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 Walkinb85a8132005-08-18 13:38:19 +0000370 .name = "typeref"
371 },
372 { ATF_POINTER, 0, offsetof(struct Choice2, choice.some3),
373 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
374 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000375 .type = &asn_DEF_Everything,
Lev Walkincee931e2005-08-16 16:56:59 +0000376 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400377 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000378 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
379 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000380 .name = "some3"
381 },
382};
Lev Walkina7591b52014-10-12 18:37:35 -0700383static const asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700384 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* typeref */
385 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* some3 */
Lev Walkincee931e2005-08-16 16:56:59 +0000386};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800387asn_CHOICE_specifics_t asn_SPC_Choice2_specs_1 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000388 sizeof(struct Choice2),
389 offsetof(struct Choice2, _asn_ctx),
390 offsetof(struct Choice2, present),
391 sizeof(((struct Choice2 *)0)->present),
Lev Walkin59b176e2005-11-26 11:25:14 +0000392 asn_MAP_Choice2_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +0000393 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000394 .canonical_order = 0,
395 .ext_start = 1 /* Extensions start */
Lev Walkincee931e2005-08-16 16:56:59 +0000396};
397asn_TYPE_descriptor_t asn_DEF_Choice2 = {
398 "Choice2",
399 "Choice2",
400 CHOICE_free,
401 CHOICE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700402 CHOICE_compare,
Lev Walkincee931e2005-08-16 16:56:59 +0000403 CHOICE_constraint,
404 CHOICE_decode_ber,
405 CHOICE_encode_der,
406 CHOICE_decode_xer,
407 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700408 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400409 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000410 CHOICE_outmost_tag,
411 0, /* No effective tags (pointer) */
412 0, /* No effective tags (count) */
413 0, /* No tags (pointer) */
414 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400415 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000416 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000417 asn_MBR_Choice2_1,
Lev Walkinb85a8132005-08-18 13:38:19 +0000418 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000419 &asn_SPC_Choice2_specs_1 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000420};
421
422
Lev Walkinb85a8132005-08-18 13:38:19 +0000423/*** <<< INCLUDES [Choice3] >>> ***/
424
425#include <constr_SEQUENCE.h>
426#include <asn_SEQUENCE_OF.h>
427#include <constr_SEQUENCE_OF.h>
428#include <constr_CHOICE.h>
429
430/*** <<< DEPS [Choice3] >>> ***/
431
432typedef enum Choice3_PR {
433 Choice3_PR_NOTHING, /* No components present */
434 Choice3_PR_a,
435 Choice3_PR_b,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000436 Choice3_PR_c
Lev Walkinb85a8132005-08-18 13:38:19 +0000437} Choice3_PR;
438
439/*** <<< FWD-DECLS [Choice3] >>> ***/
440
441struct Everything;
442struct Choice3;
443
444/*** <<< TYPE-DECLS [Choice3] >>> ***/
445
446typedef struct Choice3 {
447 Choice3_PR present;
448 union Choice3_u {
449 struct a {
450 struct Everything *aa;
451
452 /* Context for parsing across buffer boundaries */
453 asn_struct_ctx_t _asn_ctx;
454 } *a;
455 struct Everything *b;
456 struct c {
457 A_SEQUENCE_OF(struct Choice3) list;
458
459 /* Context for parsing across buffer boundaries */
460 asn_struct_ctx_t _asn_ctx;
461 } *c;
462 } choice;
463
464 /* Context for parsing across buffer boundaries */
465 asn_struct_ctx_t _asn_ctx;
466} Choice3_t;
467
468/*** <<< FUNC-DECLS [Choice3] >>> ***/
469
470extern asn_TYPE_descriptor_t asn_DEF_Choice3;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800471extern asn_CHOICE_specifics_t asn_SPC_Choice3_specs_1;
472extern asn_TYPE_member_t asn_MBR_Choice3_1[3];
Lev Walkinb85a8132005-08-18 13:38:19 +0000473
474/*** <<< POST-INCLUDE [Choice3] >>> ***/
475
Lev Walkin22b5ed42006-09-13 02:51:20 +0000476#include "Everything.h"
477#include "Choice3.h"
Lev Walkinb85a8132005-08-18 13:38:19 +0000478
479/*** <<< STAT-DEFS [Choice3] >>> ***/
480
481static asn_TYPE_member_t asn_MBR_a_2[] = {
482 { ATF_POINTER, 0, offsetof(struct a, aa),
483 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
484 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000485 .type = &asn_DEF_Everything,
Lev Walkinb85a8132005-08-18 13:38:19 +0000486 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400487 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000488 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
489 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000490 .name = "aa"
491 },
492};
Lev Walkina7591b52014-10-12 18:37:35 -0700493static const ber_tlv_tag_t asn_DEF_a_tags_2[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000494 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
495 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
496};
Lev Walkina7591b52014-10-12 18:37:35 -0700497static const asn_TYPE_tag2member_t asn_MAP_a_tag2el_2[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700498 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* aa */
Lev Walkinb85a8132005-08-18 13:38:19 +0000499};
Lev Walkin59b176e2005-11-26 11:25:14 +0000500static asn_SEQUENCE_specifics_t asn_SPC_a_specs_2 = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000501 sizeof(struct a),
502 offsetof(struct a, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +0000503 asn_MAP_a_tag2el_2,
Lev Walkinb85a8132005-08-18 13:38:19 +0000504 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000505 0, 0, 0, /* Optional elements (not needed) */
Lev Walkinb85a8132005-08-18 13:38:19 +0000506 -1, /* Start extensions */
507 -1 /* Stop extensions */
508};
509static /* Use -fall-defs-global to expose */
510asn_TYPE_descriptor_t asn_DEF_a_2 = {
511 "a",
512 "a",
513 SEQUENCE_free,
514 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700515 SEQUENCE_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +0000516 SEQUENCE_constraint,
517 SEQUENCE_decode_ber,
518 SEQUENCE_encode_der,
519 SEQUENCE_decode_xer,
520 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700521 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400522 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +0000523 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000524 asn_DEF_a_tags_2,
525 sizeof(asn_DEF_a_tags_2)
526 /sizeof(asn_DEF_a_tags_2[0]) - 1, /* 1 */
527 asn_DEF_a_tags_2, /* Same as above */
528 sizeof(asn_DEF_a_tags_2)
529 /sizeof(asn_DEF_a_tags_2[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400530 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000531 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +0000532 asn_MBR_a_2,
533 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000534 &asn_SPC_a_specs_2 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +0000535};
536
537static asn_TYPE_member_t asn_MBR_c_5[] = {
538 { ATF_POINTER, 0, 0,
539 .tag = -1 /* Ambiguous tag (CHOICE?) */,
540 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000541 .type = &asn_DEF_Choice3,
Lev Walkinb85a8132005-08-18 13:38:19 +0000542 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400543 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000544 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
545 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000546 .name = ""
547 },
548};
Lev Walkina7591b52014-10-12 18:37:35 -0700549static const ber_tlv_tag_t asn_DEF_c_tags_5[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000550 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
551 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
552};
Lev Walkin59b176e2005-11-26 11:25:14 +0000553static asn_SET_OF_specifics_t asn_SPC_c_specs_5 = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000554 sizeof(struct c),
555 offsetof(struct c, _asn_ctx),
Lev Walkind1bfea62005-11-08 03:06:16 +0000556 2, /* XER encoding is XMLValueList */
Lev Walkinb85a8132005-08-18 13:38:19 +0000557};
558static /* Use -fall-defs-global to expose */
559asn_TYPE_descriptor_t asn_DEF_c_5 = {
560 "c",
561 "c",
562 SEQUENCE_OF_free,
563 SEQUENCE_OF_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700564 SEQUENCE_OF_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +0000565 SEQUENCE_OF_constraint,
566 SEQUENCE_OF_decode_ber,
567 SEQUENCE_OF_encode_der,
568 SEQUENCE_OF_decode_xer,
569 SEQUENCE_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700570 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400571 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +0000572 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000573 asn_DEF_c_tags_5,
574 sizeof(asn_DEF_c_tags_5)
575 /sizeof(asn_DEF_c_tags_5[0]) - 1, /* 1 */
576 asn_DEF_c_tags_5, /* Same as above */
577 sizeof(asn_DEF_c_tags_5)
578 /sizeof(asn_DEF_c_tags_5[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400579 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000580 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +0000581 asn_MBR_c_5,
582 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000583 &asn_SPC_c_specs_5 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +0000584};
585
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800586asn_TYPE_member_t asn_MBR_Choice3_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000587 { ATF_POINTER, 0, offsetof(struct Choice3, choice.a),
588 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000589 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000590 .type = &asn_DEF_a_2,
Lev Walkinb85a8132005-08-18 13:38:19 +0000591 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400592 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000593 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
594 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000595 .name = "a"
596 },
597 { ATF_POINTER, 0, offsetof(struct Choice3, choice.b),
598 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
599 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000600 .type = &asn_DEF_Everything,
Lev Walkinb85a8132005-08-18 13:38:19 +0000601 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400602 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000603 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
604 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000605 .name = "b"
606 },
607 { ATF_POINTER, 0, offsetof(struct Choice3, choice.c),
608 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000609 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000610 .type = &asn_DEF_c_5,
Lev Walkinb85a8132005-08-18 13:38:19 +0000611 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400612 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000613 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
614 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000615 .name = "c"
616 },
617};
Lev Walkina7591b52014-10-12 18:37:35 -0700618static const asn_TYPE_tag2member_t asn_MAP_Choice3_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700619 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
620 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* b */
621 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* c */
Lev Walkinb85a8132005-08-18 13:38:19 +0000622};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800623asn_CHOICE_specifics_t asn_SPC_Choice3_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000624 sizeof(struct Choice3),
625 offsetof(struct Choice3, _asn_ctx),
626 offsetof(struct Choice3, present),
627 sizeof(((struct Choice3 *)0)->present),
Lev Walkin59b176e2005-11-26 11:25:14 +0000628 asn_MAP_Choice3_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +0000629 3, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000630 .canonical_order = 0,
631 .ext_start = -1 /* Extensions start */
Lev Walkinb85a8132005-08-18 13:38:19 +0000632};
633asn_TYPE_descriptor_t asn_DEF_Choice3 = {
634 "Choice3",
635 "Choice3",
636 CHOICE_free,
637 CHOICE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700638 CHOICE_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +0000639 CHOICE_constraint,
640 CHOICE_decode_ber,
641 CHOICE_encode_der,
642 CHOICE_decode_xer,
643 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700644 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400645 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +0000646 CHOICE_outmost_tag,
647 0, /* No effective tags (pointer) */
648 0, /* No effective tags (count) */
649 0, /* No tags (pointer) */
650 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400651 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000652 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +0000653 asn_MBR_Choice3_1,
654 3, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000655 &asn_SPC_Choice3_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +0000656};
657
658
Lev Walkincee931e2005-08-16 16:56:59 +0000659/*** <<< INCLUDES [Set] >>> ***/
660
661#include <asn_SET_OF.h>
Lev Walkin2a744a72013-03-27 01:56:23 -0700662#include <NativeInteger.h>
Lev Walkincee931e2005-08-16 16:56:59 +0000663#include <constr_SEQUENCE.h>
664#include <constr_SET_OF.h>
665
666/*** <<< FWD-DECLS [Set] >>> ***/
667
668struct Set;
Lev Walkinb85a8132005-08-18 13:38:19 +0000669struct Sequence;
Lev Walkincee931e2005-08-16 16:56:59 +0000670
Bi-Ruei, Chiu9b87e5b2016-06-06 00:23:16 +0800671/*** <<< FWD-DEFS [Set] >>> ***/
672
673typedef struct Member {
674 long Int;
675 struct Set *set;
676 struct Sequence *seq;
677 struct Set *set2 /* OPTIONAL */;
678 /*
679 * This type is extensible,
680 * possible extensions are below.
681 */
682 struct Set *set3;
683
684 /* Context for parsing across buffer boundaries */
685 asn_struct_ctx_t _asn_ctx;
686} Member;
687
Lev Walkincee931e2005-08-16 16:56:59 +0000688/*** <<< TYPE-DECLS [Set] >>> ***/
689
690typedef struct Set {
Bi-Ruei, Chiu9b87e5b2016-06-06 00:23:16 +0800691 A_SET_OF(Member) list;
Lev Walkincee931e2005-08-16 16:56:59 +0000692
693 /* Context for parsing across buffer boundaries */
694 asn_struct_ctx_t _asn_ctx;
695} Set_t;
696
697/*** <<< FUNC-DECLS [Set] >>> ***/
698
699extern asn_TYPE_descriptor_t asn_DEF_Set;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800700extern asn_SET_OF_specifics_t asn_SPC_Set_specs_1;
701extern asn_TYPE_member_t asn_MBR_Set_1[1];
Lev Walkincee931e2005-08-16 16:56:59 +0000702
703/*** <<< POST-INCLUDE [Set] >>> ***/
704
Lev Walkin22b5ed42006-09-13 02:51:20 +0000705#include "Set.h"
706#include "Sequence.h"
Lev Walkincee931e2005-08-16 16:56:59 +0000707
708/*** <<< STAT-DEFS [Set] >>> ***/
709
710static asn_TYPE_member_t asn_MBR_Member_2[] = {
711 { ATF_NOFLAGS, 0, offsetof(struct Member, Int),
712 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
713 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkin2a744a72013-03-27 01:56:23 -0700714 .type = &asn_DEF_NativeInteger,
Lev Walkincee931e2005-08-16 16:56:59 +0000715 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400716 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000717 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
718 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000719 .name = "int"
720 },
721 { ATF_POINTER, 0, offsetof(struct Member, set),
722 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
723 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000724 .type = &asn_DEF_Set,
Lev Walkincee931e2005-08-16 16:56:59 +0000725 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400726 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000727 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
728 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000729 .name = "set"
730 },
Lev Walkinb85a8132005-08-18 13:38:19 +0000731 { ATF_POINTER, 0, offsetof(struct Member, seq),
Lev Walkincee931e2005-08-16 16:56:59 +0000732 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
733 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000734 .type = &asn_DEF_Sequence,
Lev Walkincee931e2005-08-16 16:56:59 +0000735 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400736 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000737 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
738 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000739 .name = "seq"
740 },
741 { ATF_POINTER, 2, offsetof(struct Member, set2),
742 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
743 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000744 .type = &asn_DEF_Set,
Lev Walkincee931e2005-08-16 16:56:59 +0000745 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400746 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000747 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
748 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000749 .name = "set2"
750 },
Lev Walkinb85a8132005-08-18 13:38:19 +0000751 { ATF_POINTER, 1, offsetof(struct Member, set3),
Lev Walkincee931e2005-08-16 16:56:59 +0000752 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
753 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000754 .type = &asn_DEF_Set,
Lev Walkincee931e2005-08-16 16:56:59 +0000755 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400756 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000757 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
758 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000759 .name = "set3"
760 },
761};
Lev Walkina7591b52014-10-12 18:37:35 -0700762static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000763 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
764};
Lev Walkina7591b52014-10-12 18:37:35 -0700765static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700766 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* int */
767 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* set */
768 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* seq */
769 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* set2 */
770 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* set3 */
Lev Walkincee931e2005-08-16 16:56:59 +0000771};
Lev Walkin59b176e2005-11-26 11:25:14 +0000772static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000773 sizeof(struct Member),
774 offsetof(struct Member, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +0000775 asn_MAP_Member_tag2el_2,
Lev Walkincee931e2005-08-16 16:56:59 +0000776 5, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000777 0, 0, 0, /* Optional elements (not needed) */
Lev Walkincee931e2005-08-16 16:56:59 +0000778 3, /* Start extensions */
779 6 /* Stop extensions */
780};
781static /* Use -fall-defs-global to expose */
782asn_TYPE_descriptor_t asn_DEF_Member_2 = {
Lev Walkin59b176e2005-11-26 11:25:14 +0000783 "SEQUENCE",
784 "SEQUENCE",
Lev Walkincee931e2005-08-16 16:56:59 +0000785 SEQUENCE_free,
786 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700787 SEQUENCE_compare,
Lev Walkincee931e2005-08-16 16:56:59 +0000788 SEQUENCE_constraint,
789 SEQUENCE_decode_ber,
790 SEQUENCE_encode_der,
791 SEQUENCE_decode_xer,
792 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700793 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400794 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000795 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000796 asn_DEF_Member_tags_2,
797 sizeof(asn_DEF_Member_tags_2)
798 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
799 asn_DEF_Member_tags_2, /* Same as above */
800 sizeof(asn_DEF_Member_tags_2)
801 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400802 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000803 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000804 asn_MBR_Member_2,
805 5, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000806 &asn_SPC_Member_specs_2 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000807};
808
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800809asn_TYPE_member_t asn_MBR_Set_1[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000810 { ATF_POINTER, 0, 0,
811 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
812 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000813 .type = &asn_DEF_Member_2,
Lev Walkincee931e2005-08-16 16:56:59 +0000814 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400815 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000816 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
817 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000818 .name = ""
819 },
820};
Lev Walkina7591b52014-10-12 18:37:35 -0700821static const ber_tlv_tag_t asn_DEF_Set_tags_1[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000822 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
823};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800824asn_SET_OF_specifics_t asn_SPC_Set_specs_1 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000825 sizeof(struct Set),
826 offsetof(struct Set, _asn_ctx),
827 0, /* XER encoding is XMLDelimitedItemList */
828};
829asn_TYPE_descriptor_t asn_DEF_Set = {
830 "Set",
831 "Set",
832 SET_OF_free,
833 SET_OF_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700834 SET_OF_compare,
Lev Walkincee931e2005-08-16 16:56:59 +0000835 SET_OF_constraint,
836 SET_OF_decode_ber,
837 SET_OF_encode_der,
838 SET_OF_decode_xer,
839 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700840 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400841 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000842 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000843 asn_DEF_Set_tags_1,
844 sizeof(asn_DEF_Set_tags_1)
845 /sizeof(asn_DEF_Set_tags_1[0]), /* 1 */
846 asn_DEF_Set_tags_1, /* Same as above */
847 sizeof(asn_DEF_Set_tags_1)
848 /sizeof(asn_DEF_Set_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400849 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000850 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000851 asn_MBR_Set_1,
852 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000853 &asn_SPC_Set_specs_1 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000854};
855
856
857/*** <<< INCLUDES [Sequence] >>> ***/
858
Lev Walkin2a744a72013-03-27 01:56:23 -0700859#include <NativeInteger.h>
Lev Walkincee931e2005-08-16 16:56:59 +0000860#include <constr_SEQUENCE.h>
861
862/*** <<< FWD-DECLS [Sequence] >>> ***/
863
864struct Sequence;
865struct Set;
866
867/*** <<< TYPE-DECLS [Sequence] >>> ***/
868
869typedef struct Sequence {
Lev Walkin2a744a72013-03-27 01:56:23 -0700870 long a;
Lev Walkincee931e2005-08-16 16:56:59 +0000871 struct Sequence *seq /* OPTIONAL */;
872 /*
873 * This type is extensible,
874 * possible extensions are below.
875 */
Lev Walkin2a744a72013-03-27 01:56:23 -0700876 long *b;
Lev Walkincee931e2005-08-16 16:56:59 +0000877 struct Set *set /* OPTIONAL */;
878
879 /* Context for parsing across buffer boundaries */
880 asn_struct_ctx_t _asn_ctx;
881} Sequence_t;
882
883/*** <<< FUNC-DECLS [Sequence] >>> ***/
884
885extern asn_TYPE_descriptor_t asn_DEF_Sequence;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800886extern asn_SEQUENCE_specifics_t asn_SPC_Sequence_specs_1;
887extern asn_TYPE_member_t asn_MBR_Sequence_1[4];
Lev Walkincee931e2005-08-16 16:56:59 +0000888
889/*** <<< POST-INCLUDE [Sequence] >>> ***/
890
Lev Walkin22b5ed42006-09-13 02:51:20 +0000891#include "Sequence.h"
892#include "Set.h"
Lev Walkincee931e2005-08-16 16:56:59 +0000893
894/*** <<< STAT-DEFS [Sequence] >>> ***/
895
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800896asn_TYPE_member_t asn_MBR_Sequence_1[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000897 { ATF_NOFLAGS, 0, offsetof(struct Sequence, a),
898 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
899 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkin2a744a72013-03-27 01:56:23 -0700900 .type = &asn_DEF_NativeInteger,
Lev Walkincee931e2005-08-16 16:56:59 +0000901 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400902 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000903 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
904 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000905 .name = "a"
906 },
907 { ATF_POINTER, 3, offsetof(struct Sequence, seq),
908 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
909 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000910 .type = &asn_DEF_Sequence,
Lev Walkincee931e2005-08-16 16:56:59 +0000911 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400912 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000913 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
914 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000915 .name = "seq"
916 },
Lev Walkinb85a8132005-08-18 13:38:19 +0000917 { ATF_POINTER, 2, offsetof(struct Sequence, b),
Lev Walkincee931e2005-08-16 16:56:59 +0000918 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
919 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkin2a744a72013-03-27 01:56:23 -0700920 .type = &asn_DEF_NativeInteger,
Lev Walkincee931e2005-08-16 16:56:59 +0000921 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400922 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000923 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
924 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000925 .name = "b"
926 },
927 { ATF_POINTER, 1, offsetof(struct Sequence, set),
928 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
929 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000930 .type = &asn_DEF_Set,
Lev Walkincee931e2005-08-16 16:56:59 +0000931 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400932 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000933 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
934 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000935 .name = "set"
936 },
937};
Lev Walkina7591b52014-10-12 18:37:35 -0700938static const ber_tlv_tag_t asn_DEF_Sequence_tags_1[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000939 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
940};
Lev Walkina7591b52014-10-12 18:37:35 -0700941static const asn_TYPE_tag2member_t asn_MAP_Sequence_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700942 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
943 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* seq */
944 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* b */
945 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* set */
Lev Walkincee931e2005-08-16 16:56:59 +0000946};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800947asn_SEQUENCE_specifics_t asn_SPC_Sequence_specs_1 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000948 sizeof(struct Sequence),
949 offsetof(struct Sequence, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +0000950 asn_MAP_Sequence_tag2el_1,
Lev Walkincee931e2005-08-16 16:56:59 +0000951 4, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000952 0, 0, 0, /* Optional elements (not needed) */
Lev Walkincee931e2005-08-16 16:56:59 +0000953 1, /* Start extensions */
954 5 /* Stop extensions */
955};
956asn_TYPE_descriptor_t asn_DEF_Sequence = {
957 "Sequence",
958 "Sequence",
959 SEQUENCE_free,
960 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700961 SEQUENCE_compare,
Lev Walkincee931e2005-08-16 16:56:59 +0000962 SEQUENCE_constraint,
963 SEQUENCE_decode_ber,
964 SEQUENCE_encode_der,
965 SEQUENCE_decode_xer,
966 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700967 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400968 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000969 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000970 asn_DEF_Sequence_tags_1,
971 sizeof(asn_DEF_Sequence_tags_1)
972 /sizeof(asn_DEF_Sequence_tags_1[0]), /* 1 */
973 asn_DEF_Sequence_tags_1, /* Same as above */
974 sizeof(asn_DEF_Sequence_tags_1)
975 /sizeof(asn_DEF_Sequence_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400976 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000977 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000978 asn_MBR_Sequence_1,
979 4, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000980 &asn_SPC_Sequence_specs_1 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000981};
982
Lev Walkinb85a8132005-08-18 13:38:19 +0000983
984/*** <<< INCLUDES [TypeRef] >>> ***/
985
Lev Walkin22b5ed42006-09-13 02:51:20 +0000986#include "Sequence.h"
Lev Walkinb85a8132005-08-18 13:38:19 +0000987
988/*** <<< TYPE-DECLS [TypeRef] >>> ***/
989
990typedef Sequence_t TypeRef_t;
991
992/*** <<< FUNC-DECLS [TypeRef] >>> ***/
993
994extern asn_TYPE_descriptor_t asn_DEF_TypeRef;
995asn_struct_free_f TypeRef_free;
996asn_struct_print_f TypeRef_print;
997asn_constr_check_f TypeRef_constraint;
998ber_type_decoder_f TypeRef_decode_ber;
999der_type_encoder_f TypeRef_encode_der;
1000xer_type_decoder_f TypeRef_decode_xer;
1001xer_type_encoder_f TypeRef_encode_xer;
1002
1003/*** <<< CODE [TypeRef] >>> ***/
1004
Lev Walkinb85a8132005-08-18 13:38:19 +00001005/*
1006 * This type is implemented using Sequence,
1007 * so here we adjust the DEF accordingly.
1008 */
Lev Walkinb85a8132005-08-18 13:38:19 +00001009
1010/*** <<< STAT-DEFS [TypeRef] >>> ***/
1011
Lev Walkina7591b52014-10-12 18:37:35 -07001012static const ber_tlv_tag_t asn_DEF_TypeRef_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001013 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1014};
1015asn_TYPE_descriptor_t asn_DEF_TypeRef = {
1016 "TypeRef",
1017 "TypeRef",
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001018 SEQUENCE_free,
1019 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001020 SEQUENCE_compare,
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001021 SEQUENCE_constraint,
1022 SEQUENCE_decode_ber,
1023 SEQUENCE_encode_der,
1024 SEQUENCE_decode_xer,
1025 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001026 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001027 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001028 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001029 asn_DEF_TypeRef_tags_1,
1030 sizeof(asn_DEF_TypeRef_tags_1)
1031 /sizeof(asn_DEF_TypeRef_tags_1[0]), /* 1 */
1032 asn_DEF_TypeRef_tags_1, /* Same as above */
1033 sizeof(asn_DEF_TypeRef_tags_1)
1034 /sizeof(asn_DEF_TypeRef_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001035 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001036 0, /* No PER visible constraints */
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001037 asn_MBR_Sequence_1,
1038 4, /* Elements count */
1039 &asn_SPC_Sequence_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001040};
1041
1042
1043/*** <<< INCLUDES [Alpha] >>> ***/
1044
1045#include <constr_SEQUENCE.h>
1046
1047/*** <<< FWD-DECLS [Alpha] >>> ***/
1048
1049struct Beta;
1050
1051/*** <<< TYPE-DECLS [Alpha] >>> ***/
1052
1053typedef struct Alpha {
1054 struct Beta *a;
1055 struct b {
1056 struct Beta *b /* OPTIONAL */;
1057
1058 /* Context for parsing across buffer boundaries */
1059 asn_struct_ctx_t _asn_ctx;
1060 } b;
1061
1062 /* Context for parsing across buffer boundaries */
1063 asn_struct_ctx_t _asn_ctx;
1064} Alpha_t;
1065
1066/*** <<< FUNC-DECLS [Alpha] >>> ***/
1067
1068extern asn_TYPE_descriptor_t asn_DEF_Alpha;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001069extern asn_SEQUENCE_specifics_t asn_SPC_Alpha_specs_1;
1070extern asn_TYPE_member_t asn_MBR_Alpha_1[2];
Lev Walkinb85a8132005-08-18 13:38:19 +00001071
1072/*** <<< POST-INCLUDE [Alpha] >>> ***/
1073
Lev Walkin22b5ed42006-09-13 02:51:20 +00001074#include "Beta.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001075
1076/*** <<< STAT-DEFS [Alpha] >>> ***/
1077
1078static asn_TYPE_member_t asn_MBR_b_3[] = {
1079 { ATF_POINTER, 1, offsetof(struct b, b),
1080 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1081 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001082 .type = &asn_DEF_Beta,
Lev Walkinb85a8132005-08-18 13:38:19 +00001083 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001084 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001085 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1086 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001087 .name = "b"
1088 },
1089};
Lev Walkina7591b52014-10-12 18:37:35 -07001090static const ber_tlv_tag_t asn_DEF_b_tags_3[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001091 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1092 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1093};
Lev Walkina7591b52014-10-12 18:37:35 -07001094static const asn_TYPE_tag2member_t asn_MAP_b_tag2el_3[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001095 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* b */
Lev Walkinb85a8132005-08-18 13:38:19 +00001096};
Lev Walkin59b176e2005-11-26 11:25:14 +00001097static asn_SEQUENCE_specifics_t asn_SPC_b_specs_3 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001098 sizeof(struct b),
1099 offsetof(struct b, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +00001100 asn_MAP_b_tag2el_3,
Lev Walkinb85a8132005-08-18 13:38:19 +00001101 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001102 0, 0, 0, /* Optional elements (not needed) */
Lev Walkinb85a8132005-08-18 13:38:19 +00001103 -1, /* Start extensions */
1104 -1 /* Stop extensions */
1105};
1106static /* Use -fall-defs-global to expose */
1107asn_TYPE_descriptor_t asn_DEF_b_3 = {
1108 "b",
1109 "b",
1110 SEQUENCE_free,
1111 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001112 SEQUENCE_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +00001113 SEQUENCE_constraint,
1114 SEQUENCE_decode_ber,
1115 SEQUENCE_encode_der,
1116 SEQUENCE_decode_xer,
1117 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001118 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001119 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001120 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001121 asn_DEF_b_tags_3,
1122 sizeof(asn_DEF_b_tags_3)
1123 /sizeof(asn_DEF_b_tags_3[0]) - 1, /* 1 */
1124 asn_DEF_b_tags_3, /* Same as above */
1125 sizeof(asn_DEF_b_tags_3)
1126 /sizeof(asn_DEF_b_tags_3[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001127 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001128 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001129 asn_MBR_b_3,
1130 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001131 &asn_SPC_b_specs_3 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001132};
1133
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001134asn_TYPE_member_t asn_MBR_Alpha_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001135 { ATF_POINTER, 0, offsetof(struct Alpha, a),
1136 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1137 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001138 .type = &asn_DEF_Beta,
Lev Walkinb85a8132005-08-18 13:38:19 +00001139 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001140 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001141 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1142 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001143 .name = "a"
1144 },
1145 { ATF_NOFLAGS, 0, offsetof(struct Alpha, b),
1146 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +00001147 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001148 .type = &asn_DEF_b_3,
Lev Walkinb85a8132005-08-18 13:38:19 +00001149 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001150 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001151 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1152 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001153 .name = "b"
1154 },
1155};
Lev Walkina7591b52014-10-12 18:37:35 -07001156static const ber_tlv_tag_t asn_DEF_Alpha_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001157 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1158};
Lev Walkina7591b52014-10-12 18:37:35 -07001159static const asn_TYPE_tag2member_t asn_MAP_Alpha_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001160 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
1161 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* b */
Lev Walkinb85a8132005-08-18 13:38:19 +00001162};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001163asn_SEQUENCE_specifics_t asn_SPC_Alpha_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001164 sizeof(struct Alpha),
1165 offsetof(struct Alpha, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +00001166 asn_MAP_Alpha_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001167 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001168 0, 0, 0, /* Optional elements (not needed) */
Lev Walkinb85a8132005-08-18 13:38:19 +00001169 -1, /* Start extensions */
1170 -1 /* Stop extensions */
1171};
1172asn_TYPE_descriptor_t asn_DEF_Alpha = {
1173 "Alpha",
1174 "Alpha",
1175 SEQUENCE_free,
1176 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001177 SEQUENCE_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +00001178 SEQUENCE_constraint,
1179 SEQUENCE_decode_ber,
1180 SEQUENCE_encode_der,
1181 SEQUENCE_decode_xer,
1182 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001183 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001184 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001185 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001186 asn_DEF_Alpha_tags_1,
1187 sizeof(asn_DEF_Alpha_tags_1)
1188 /sizeof(asn_DEF_Alpha_tags_1[0]), /* 1 */
1189 asn_DEF_Alpha_tags_1, /* Same as above */
1190 sizeof(asn_DEF_Alpha_tags_1)
1191 /sizeof(asn_DEF_Alpha_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001192 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001193 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001194 asn_MBR_Alpha_1,
1195 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001196 &asn_SPC_Alpha_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001197};
1198
1199
1200/*** <<< INCLUDES [Beta] >>> ***/
1201
1202#include <constr_SEQUENCE.h>
1203
1204/*** <<< FWD-DECLS [Beta] >>> ***/
1205
1206struct Alpha;
1207struct Gamma;
1208
1209/*** <<< TYPE-DECLS [Beta] >>> ***/
1210
1211typedef struct Beta {
1212 struct Alpha *b /* OPTIONAL */;
1213 struct Gamma *g /* OPTIONAL */;
1214
1215 /* Context for parsing across buffer boundaries */
1216 asn_struct_ctx_t _asn_ctx;
1217} Beta_t;
1218
1219/*** <<< FUNC-DECLS [Beta] >>> ***/
1220
1221extern asn_TYPE_descriptor_t asn_DEF_Beta;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001222extern asn_SEQUENCE_specifics_t asn_SPC_Beta_specs_1;
1223extern asn_TYPE_member_t asn_MBR_Beta_1[2];
Lev Walkinb85a8132005-08-18 13:38:19 +00001224
1225/*** <<< POST-INCLUDE [Beta] >>> ***/
1226
Lev Walkin22b5ed42006-09-13 02:51:20 +00001227#include "Alpha.h"
1228#include "Gamma.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001229
1230/*** <<< STAT-DEFS [Beta] >>> ***/
1231
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001232asn_TYPE_member_t asn_MBR_Beta_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001233 { ATF_POINTER, 2, offsetof(struct Beta, b),
1234 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1235 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001236 .type = &asn_DEF_Alpha,
Lev Walkinb85a8132005-08-18 13:38:19 +00001237 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001238 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001239 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1240 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001241 .name = "b"
1242 },
1243 { ATF_POINTER, 1, offsetof(struct Beta, g),
1244 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1245 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001246 .type = &asn_DEF_Gamma,
Lev Walkinb85a8132005-08-18 13:38:19 +00001247 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001248 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001249 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1250 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001251 .name = "g"
1252 },
1253};
Lev Walkina7591b52014-10-12 18:37:35 -07001254static const ber_tlv_tag_t asn_DEF_Beta_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001255 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1256};
Lev Walkina7591b52014-10-12 18:37:35 -07001257static const asn_TYPE_tag2member_t asn_MAP_Beta_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001258 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* b */
1259 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* g */
Lev Walkinb85a8132005-08-18 13:38:19 +00001260};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001261asn_SEQUENCE_specifics_t asn_SPC_Beta_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001262 sizeof(struct Beta),
1263 offsetof(struct Beta, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +00001264 asn_MAP_Beta_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001265 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001266 0, 0, 0, /* Optional elements (not needed) */
Lev Walkinb85a8132005-08-18 13:38:19 +00001267 -1, /* Start extensions */
1268 -1 /* Stop extensions */
1269};
1270asn_TYPE_descriptor_t asn_DEF_Beta = {
1271 "Beta",
1272 "Beta",
1273 SEQUENCE_free,
1274 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001275 SEQUENCE_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +00001276 SEQUENCE_constraint,
1277 SEQUENCE_decode_ber,
1278 SEQUENCE_encode_der,
1279 SEQUENCE_decode_xer,
1280 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001281 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001282 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001283 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001284 asn_DEF_Beta_tags_1,
1285 sizeof(asn_DEF_Beta_tags_1)
1286 /sizeof(asn_DEF_Beta_tags_1[0]), /* 1 */
1287 asn_DEF_Beta_tags_1, /* Same as above */
1288 sizeof(asn_DEF_Beta_tags_1)
1289 /sizeof(asn_DEF_Beta_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001290 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001291 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001292 asn_MBR_Beta_1,
1293 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001294 &asn_SPC_Beta_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001295};
1296
1297
1298/*** <<< INCLUDES [Gamma] >>> ***/
1299
1300#include <constr_SEQUENCE.h>
1301
1302/*** <<< FWD-DECLS [Gamma] >>> ***/
1303
1304struct TwoThree;
1305struct Alpha;
1306struct Beta;
1307
1308/*** <<< TYPE-DECLS [Gamma] >>> ***/
1309
1310typedef struct Gamma {
1311 struct TwoThree *o;
1312 struct Alpha *a;
1313 struct Beta *b;
1314
1315 /* Context for parsing across buffer boundaries */
1316 asn_struct_ctx_t _asn_ctx;
1317} Gamma_t;
1318
1319/*** <<< FUNC-DECLS [Gamma] >>> ***/
1320
1321extern asn_TYPE_descriptor_t asn_DEF_Gamma;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001322extern asn_SEQUENCE_specifics_t asn_SPC_Gamma_specs_1;
1323extern asn_TYPE_member_t asn_MBR_Gamma_1[3];
Lev Walkinb85a8132005-08-18 13:38:19 +00001324
1325/*** <<< POST-INCLUDE [Gamma] >>> ***/
1326
Lev Walkin22b5ed42006-09-13 02:51:20 +00001327#include "TwoThree.h"
1328#include "Alpha.h"
1329#include "Beta.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001330
1331/*** <<< STAT-DEFS [Gamma] >>> ***/
1332
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001333asn_TYPE_member_t asn_MBR_Gamma_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001334 { ATF_POINTER, 0, offsetof(struct Gamma, o),
1335 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1336 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001337 .type = &asn_DEF_TwoThree,
Lev Walkinb85a8132005-08-18 13:38:19 +00001338 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001339 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001340 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1341 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001342 .name = "o"
1343 },
1344 { ATF_POINTER, 0, offsetof(struct Gamma, a),
1345 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1346 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001347 .type = &asn_DEF_Alpha,
Lev Walkinb85a8132005-08-18 13:38:19 +00001348 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001349 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001350 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1351 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001352 .name = "a"
1353 },
1354 { ATF_POINTER, 0, offsetof(struct Gamma, b),
1355 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
1356 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001357 .type = &asn_DEF_Beta,
Lev Walkinb85a8132005-08-18 13:38:19 +00001358 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001359 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001360 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1361 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001362 .name = "b"
1363 },
1364};
Lev Walkina7591b52014-10-12 18:37:35 -07001365static const ber_tlv_tag_t asn_DEF_Gamma_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001366 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1367};
Lev Walkina7591b52014-10-12 18:37:35 -07001368static const asn_TYPE_tag2member_t asn_MAP_Gamma_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001369 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* o */
1370 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* a */
1371 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* b */
Lev Walkinb85a8132005-08-18 13:38:19 +00001372};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001373asn_SEQUENCE_specifics_t asn_SPC_Gamma_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001374 sizeof(struct Gamma),
1375 offsetof(struct Gamma, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +00001376 asn_MAP_Gamma_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001377 3, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001378 0, 0, 0, /* Optional elements (not needed) */
Lev Walkinb85a8132005-08-18 13:38:19 +00001379 -1, /* Start extensions */
1380 -1 /* Stop extensions */
1381};
1382asn_TYPE_descriptor_t asn_DEF_Gamma = {
1383 "Gamma",
1384 "Gamma",
1385 SEQUENCE_free,
1386 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001387 SEQUENCE_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +00001388 SEQUENCE_constraint,
1389 SEQUENCE_decode_ber,
1390 SEQUENCE_encode_der,
1391 SEQUENCE_decode_xer,
1392 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001393 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001394 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001395 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001396 asn_DEF_Gamma_tags_1,
1397 sizeof(asn_DEF_Gamma_tags_1)
1398 /sizeof(asn_DEF_Gamma_tags_1[0]), /* 1 */
1399 asn_DEF_Gamma_tags_1, /* Same as above */
1400 sizeof(asn_DEF_Gamma_tags_1)
1401 /sizeof(asn_DEF_Gamma_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001402 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001403 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001404 asn_MBR_Gamma_1,
1405 3, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001406 &asn_SPC_Gamma_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001407};
1408
1409
1410/*** <<< INCLUDES [OneTwo] >>> ***/
1411
1412#include <constr_SET.h>
1413
1414/*** <<< DEPS [OneTwo] >>> ***/
1415
1416
1417/*
1418 * Method of determining the components presence
1419 */
1420typedef enum OneTwo_PR {
1421 OneTwo_PR_m12, /* Member m12 is present */
1422} OneTwo_PR;
1423
1424/*** <<< FWD-DECLS [OneTwo] >>> ***/
1425
1426struct TwoThree;
1427
1428/*** <<< TYPE-DECLS [OneTwo] >>> ***/
1429
1430typedef struct OneTwo {
1431 struct TwoThree *m12;
1432
1433 /* Presence bitmask: ASN_SET_ISPRESENT(pOneTwo, OneTwo_PR_x) */
1434 unsigned int _presence_map
1435 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
1436
1437 /* Context for parsing across buffer boundaries */
1438 asn_struct_ctx_t _asn_ctx;
1439} OneTwo_t;
1440
1441/*** <<< FUNC-DECLS [OneTwo] >>> ***/
1442
1443extern asn_TYPE_descriptor_t asn_DEF_OneTwo;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001444extern asn_SET_specifics_t asn_SPC_OneTwo_specs_1;
1445extern asn_TYPE_member_t asn_MBR_OneTwo_1[1];
Lev Walkinb85a8132005-08-18 13:38:19 +00001446
1447/*** <<< POST-INCLUDE [OneTwo] >>> ***/
1448
Lev Walkin22b5ed42006-09-13 02:51:20 +00001449#include "TwoThree.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001450
1451/*** <<< STAT-DEFS [OneTwo] >>> ***/
1452
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001453asn_TYPE_member_t asn_MBR_OneTwo_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001454 { ATF_POINTER, 0, offsetof(struct OneTwo, m12),
1455 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1456 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001457 .type = &asn_DEF_TwoThree,
Lev Walkinb85a8132005-08-18 13:38:19 +00001458 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001459 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001460 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1461 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001462 .name = "m12"
1463 },
1464};
Lev Walkina7591b52014-10-12 18:37:35 -07001465static const ber_tlv_tag_t asn_DEF_OneTwo_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001466 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1467};
Lev Walkina7591b52014-10-12 18:37:35 -07001468static const asn_TYPE_tag2member_t asn_MAP_OneTwo_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001469 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* m12 */
Lev Walkinb85a8132005-08-18 13:38:19 +00001470};
Lev Walkina7591b52014-10-12 18:37:35 -07001471static const uint8_t asn_MAP_OneTwo_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001472 (1 << 7)
1473};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001474asn_SET_specifics_t asn_SPC_OneTwo_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001475 sizeof(struct OneTwo),
1476 offsetof(struct OneTwo, _asn_ctx),
1477 offsetof(struct OneTwo, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +00001478 asn_MAP_OneTwo_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001479 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001480 asn_MAP_OneTwo_tag2el_1, /* Same as above */
Lev Walkinb85a8132005-08-18 13:38:19 +00001481 1, /* Count of tags in the CXER map */
1482 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -07001483 (const unsigned int *)asn_MAP_OneTwo_mmap_1 /* Mandatory elements map */
Lev Walkinb85a8132005-08-18 13:38:19 +00001484};
1485asn_TYPE_descriptor_t asn_DEF_OneTwo = {
1486 "OneTwo",
1487 "OneTwo",
1488 SET_free,
1489 SET_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001490 SET_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +00001491 SET_constraint,
1492 SET_decode_ber,
1493 SET_encode_der,
1494 SET_decode_xer,
1495 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001496 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001497 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001498 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001499 asn_DEF_OneTwo_tags_1,
1500 sizeof(asn_DEF_OneTwo_tags_1)
1501 /sizeof(asn_DEF_OneTwo_tags_1[0]), /* 1 */
1502 asn_DEF_OneTwo_tags_1, /* Same as above */
1503 sizeof(asn_DEF_OneTwo_tags_1)
1504 /sizeof(asn_DEF_OneTwo_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001505 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001506 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001507 asn_MBR_OneTwo_1,
1508 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001509 &asn_SPC_OneTwo_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001510};
1511
1512
1513/*** <<< INCLUDES [TwoThree] >>> ***/
1514
1515#include <constr_SET.h>
1516
1517/*** <<< DEPS [TwoThree] >>> ***/
1518
1519
1520/*
1521 * Method of determining the components presence
1522 */
1523typedef enum TwoThree_PR {
1524 TwoThree_PR_m23, /* Member m23 is present */
1525} TwoThree_PR;
1526
1527/*** <<< FWD-DECLS [TwoThree] >>> ***/
1528
1529struct ThreeOne;
1530
1531/*** <<< TYPE-DECLS [TwoThree] >>> ***/
1532
1533typedef struct TwoThree {
1534 struct ThreeOne *m23;
1535
1536 /* Presence bitmask: ASN_SET_ISPRESENT(pTwoThree, TwoThree_PR_x) */
1537 unsigned int _presence_map
1538 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
1539
1540 /* Context for parsing across buffer boundaries */
1541 asn_struct_ctx_t _asn_ctx;
1542} TwoThree_t;
1543
1544/*** <<< FUNC-DECLS [TwoThree] >>> ***/
1545
1546extern asn_TYPE_descriptor_t asn_DEF_TwoThree;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001547extern asn_SET_specifics_t asn_SPC_TwoThree_specs_1;
1548extern asn_TYPE_member_t asn_MBR_TwoThree_1[1];
Lev Walkinb85a8132005-08-18 13:38:19 +00001549
1550/*** <<< POST-INCLUDE [TwoThree] >>> ***/
1551
Lev Walkin22b5ed42006-09-13 02:51:20 +00001552#include "ThreeOne.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001553
1554/*** <<< STAT-DEFS [TwoThree] >>> ***/
1555
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001556asn_TYPE_member_t asn_MBR_TwoThree_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001557 { ATF_POINTER, 0, offsetof(struct TwoThree, m23),
1558 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1559 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001560 .type = &asn_DEF_ThreeOne,
Lev Walkinb85a8132005-08-18 13:38:19 +00001561 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001562 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001563 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1564 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001565 .name = "m23"
1566 },
1567};
Lev Walkina7591b52014-10-12 18:37:35 -07001568static const ber_tlv_tag_t asn_DEF_TwoThree_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001569 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1570};
Lev Walkina7591b52014-10-12 18:37:35 -07001571static const asn_TYPE_tag2member_t asn_MAP_TwoThree_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001572 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* m23 */
Lev Walkinb85a8132005-08-18 13:38:19 +00001573};
Lev Walkina7591b52014-10-12 18:37:35 -07001574static const uint8_t asn_MAP_TwoThree_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001575 (1 << 7)
1576};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001577asn_SET_specifics_t asn_SPC_TwoThree_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001578 sizeof(struct TwoThree),
1579 offsetof(struct TwoThree, _asn_ctx),
1580 offsetof(struct TwoThree, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +00001581 asn_MAP_TwoThree_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001582 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001583 asn_MAP_TwoThree_tag2el_1, /* Same as above */
Lev Walkinb85a8132005-08-18 13:38:19 +00001584 1, /* Count of tags in the CXER map */
1585 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -07001586 (const unsigned int *)asn_MAP_TwoThree_mmap_1 /* Mandatory elements map */
Lev Walkinb85a8132005-08-18 13:38:19 +00001587};
1588asn_TYPE_descriptor_t asn_DEF_TwoThree = {
1589 "TwoThree",
1590 "TwoThree",
1591 SET_free,
1592 SET_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001593 SET_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +00001594 SET_constraint,
1595 SET_decode_ber,
1596 SET_encode_der,
1597 SET_decode_xer,
1598 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001599 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001600 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001601 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001602 asn_DEF_TwoThree_tags_1,
1603 sizeof(asn_DEF_TwoThree_tags_1)
1604 /sizeof(asn_DEF_TwoThree_tags_1[0]), /* 1 */
1605 asn_DEF_TwoThree_tags_1, /* Same as above */
1606 sizeof(asn_DEF_TwoThree_tags_1)
1607 /sizeof(asn_DEF_TwoThree_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001608 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001609 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001610 asn_MBR_TwoThree_1,
1611 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001612 &asn_SPC_TwoThree_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001613};
1614
1615
1616/*** <<< INCLUDES [ThreeOne] >>> ***/
1617
1618#include <constr_SET.h>
1619
1620/*** <<< DEPS [ThreeOne] >>> ***/
1621
1622
1623/*
1624 * Method of determining the components presence
1625 */
1626typedef enum ThreeOne_PR {
1627 ThreeOne_PR_m31, /* Member m31 is present */
1628 ThreeOne_PR_g, /* Member g is present */
1629} ThreeOne_PR;
1630
1631/*** <<< FWD-DECLS [ThreeOne] >>> ***/
1632
1633struct OneTwo;
1634struct Gamma;
1635
1636/*** <<< TYPE-DECLS [ThreeOne] >>> ***/
1637
1638typedef struct ThreeOne {
1639 struct OneTwo *m31;
1640 struct Gamma *g;
1641
1642 /* Presence bitmask: ASN_SET_ISPRESENT(pThreeOne, ThreeOne_PR_x) */
1643 unsigned int _presence_map
1644 [((2+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
1645
1646 /* Context for parsing across buffer boundaries */
1647 asn_struct_ctx_t _asn_ctx;
1648} ThreeOne_t;
1649
1650/*** <<< FUNC-DECLS [ThreeOne] >>> ***/
1651
1652extern asn_TYPE_descriptor_t asn_DEF_ThreeOne;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001653extern asn_SET_specifics_t asn_SPC_ThreeOne_specs_1;
1654extern asn_TYPE_member_t asn_MBR_ThreeOne_1[2];
Lev Walkinb85a8132005-08-18 13:38:19 +00001655
1656/*** <<< POST-INCLUDE [ThreeOne] >>> ***/
1657
Lev Walkin22b5ed42006-09-13 02:51:20 +00001658#include "OneTwo.h"
1659#include "Gamma.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001660
1661/*** <<< STAT-DEFS [ThreeOne] >>> ***/
1662
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001663asn_TYPE_member_t asn_MBR_ThreeOne_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001664 { ATF_POINTER, 0, offsetof(struct ThreeOne, m31),
1665 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1666 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001667 .type = &asn_DEF_OneTwo,
Lev Walkinb85a8132005-08-18 13:38:19 +00001668 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001669 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001670 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1671 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001672 .name = "m31"
1673 },
1674 { ATF_POINTER, 0, offsetof(struct ThreeOne, g),
1675 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1676 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001677 .type = &asn_DEF_Gamma,
Lev Walkinb85a8132005-08-18 13:38:19 +00001678 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001679 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001680 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1681 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001682 .name = "g"
1683 },
1684};
Lev Walkina7591b52014-10-12 18:37:35 -07001685static const ber_tlv_tag_t asn_DEF_ThreeOne_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001686 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1687};
Lev Walkina7591b52014-10-12 18:37:35 -07001688static const asn_TYPE_tag2member_t asn_MAP_ThreeOne_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001689 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* m31 */
1690 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* g */
Lev Walkinb85a8132005-08-18 13:38:19 +00001691};
Lev Walkina7591b52014-10-12 18:37:35 -07001692static const uint8_t asn_MAP_ThreeOne_mmap_1[(2 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001693 (1 << 7) | (1 << 6)
1694};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001695asn_SET_specifics_t asn_SPC_ThreeOne_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001696 sizeof(struct ThreeOne),
1697 offsetof(struct ThreeOne, _asn_ctx),
1698 offsetof(struct ThreeOne, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +00001699 asn_MAP_ThreeOne_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001700 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001701 asn_MAP_ThreeOne_tag2el_1, /* Same as above */
Lev Walkinb85a8132005-08-18 13:38:19 +00001702 2, /* Count of tags in the CXER map */
1703 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -07001704 (const unsigned int *)asn_MAP_ThreeOne_mmap_1 /* Mandatory elements map */
Lev Walkinb85a8132005-08-18 13:38:19 +00001705};
1706asn_TYPE_descriptor_t asn_DEF_ThreeOne = {
1707 "ThreeOne",
1708 "ThreeOne",
1709 SET_free,
1710 SET_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001711 SET_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +00001712 SET_constraint,
1713 SET_decode_ber,
1714 SET_encode_der,
1715 SET_decode_xer,
1716 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001717 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001718 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001719 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001720 asn_DEF_ThreeOne_tags_1,
1721 sizeof(asn_DEF_ThreeOne_tags_1)
1722 /sizeof(asn_DEF_ThreeOne_tags_1[0]), /* 1 */
1723 asn_DEF_ThreeOne_tags_1, /* Same as above */
1724 sizeof(asn_DEF_ThreeOne_tags_1)
1725 /sizeof(asn_DEF_ThreeOne_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001726 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001727 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001728 asn_MBR_ThreeOne_1,
1729 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001730 &asn_SPC_ThreeOne_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001731};
1732