blob: 785d2e2b9b73c004171e6cef79e01b078213810c [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
Lev Walkincee931e2005-08-16 16:56:59 +0000207#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
Lev Walkinb85a8132005-08-18 13:38:19 +0000218/*** <<< FWD-DECLS [Choice1] >>> ***/
219
220struct Everything;
221
Lev Walkincee931e2005-08-16 16:56:59 +0000222/*** <<< TYPE-DECLS [Choice1] >>> ***/
223
224typedef struct Choice1 {
225 Choice1_PR present;
226 union Choice1_u {
Lev Walkinb85a8132005-08-18 13:38:19 +0000227 struct Everything *something;
Lev Walkincee931e2005-08-16 16:56:59 +0000228 /*
229 * This type is extensible,
230 * possible extensions are below.
231 */
Lev Walkinb85a8132005-08-18 13:38:19 +0000232 struct Everything *some2;
Lev Walkincee931e2005-08-16 16:56:59 +0000233 } 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
Lev Walkinb85a8132005-08-18 13:38:19 +0000245/*** <<< POST-INCLUDE [Choice1] >>> ***/
246
Lev Walkin22b5ed42006-09-13 02:51:20 +0000247#include "Everything.h"
Lev Walkinb85a8132005-08-18 13:38:19 +0000248
Lev Walkincee931e2005-08-16 16:56:59 +0000249/*** <<< STAT-DEFS [Choice1] >>> ***/
250
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800251asn_TYPE_member_t asn_MBR_Choice1_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000252 { ATF_POINTER, 0, offsetof(struct Choice1, choice.something),
Lev Walkincee931e2005-08-16 16:56:59 +0000253 .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 },
Lev Walkinb85a8132005-08-18 13:38:19 +0000262 { ATF_POINTER, 0, offsetof(struct Choice1, choice.some2),
Lev Walkincee931e2005-08-16 16:56:59 +0000263 .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
Lev Walkin22b5ed42006-09-13 02:51:20 +0000315#include "TypeRef.h"
Lev Walkincee931e2005-08-16 16:56:59 +0000316#include <constr_CHOICE.h>
317
318/*** <<< DEPS [Choice2] >>> ***/
319
320typedef enum Choice2_PR {
321 Choice2_PR_NOTHING, /* No components present */
Lev Walkinb85a8132005-08-18 13:38:19 +0000322 Choice2_PR_typeref,
Lev Walkincee931e2005-08-16 16:56:59 +0000323 /* Extensions may appear below */
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000324 Choice2_PR_some3
Lev Walkincee931e2005-08-16 16:56:59 +0000325} Choice2_PR;
326
Lev Walkinb85a8132005-08-18 13:38:19 +0000327/*** <<< FWD-DECLS [Choice2] >>> ***/
328
329struct Everything;
330
Lev Walkincee931e2005-08-16 16:56:59 +0000331/*** <<< TYPE-DECLS [Choice2] >>> ***/
332
333typedef struct Choice2 {
334 Choice2_PR present;
335 union Choice2_u {
Lev Walkinb85a8132005-08-18 13:38:19 +0000336 TypeRef_t typeref;
Lev Walkincee931e2005-08-16 16:56:59 +0000337 /*
338 * This type is extensible,
339 * possible extensions are below.
340 */
Lev Walkinb85a8132005-08-18 13:38:19 +0000341 struct Everything *some3;
Lev Walkincee931e2005-08-16 16:56:59 +0000342 } 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
Lev Walkinb85a8132005-08-18 13:38:19 +0000354/*** <<< POST-INCLUDE [Choice2] >>> ***/
355
Lev Walkin22b5ed42006-09-13 02:51:20 +0000356#include "Everything.h"
Lev Walkinb85a8132005-08-18 13:38:19 +0000357
Lev Walkincee931e2005-08-16 16:56:59 +0000358/*** <<< STAT-DEFS [Choice2] >>> ***/
359
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800360asn_TYPE_member_t asn_MBR_Choice2_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000361 { ATF_NOFLAGS, 0, offsetof(struct Choice2, choice.typeref),
Lev Walkincee931e2005-08-16 16:56:59 +0000362 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
363 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000364 .type = &asn_DEF_TypeRef,
Lev Walkinb85a8132005-08-18 13:38:19 +0000365 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400366 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000367 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
368 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000369 .name = "typeref"
370 },
371 { ATF_POINTER, 0, offsetof(struct Choice2, choice.some3),
372 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
373 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000374 .type = &asn_DEF_Everything,
Lev Walkincee931e2005-08-16 16:56:59 +0000375 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400376 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000377 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
378 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000379 .name = "some3"
380 },
381};
Lev Walkina7591b52014-10-12 18:37:35 -0700382static const asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700383 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* typeref */
384 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* some3 */
Lev Walkincee931e2005-08-16 16:56:59 +0000385};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800386asn_CHOICE_specifics_t asn_SPC_Choice2_specs_1 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000387 sizeof(struct Choice2),
388 offsetof(struct Choice2, _asn_ctx),
389 offsetof(struct Choice2, present),
390 sizeof(((struct Choice2 *)0)->present),
Lev Walkin59b176e2005-11-26 11:25:14 +0000391 asn_MAP_Choice2_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +0000392 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000393 .canonical_order = 0,
394 .ext_start = 1 /* Extensions start */
Lev Walkincee931e2005-08-16 16:56:59 +0000395};
396asn_TYPE_descriptor_t asn_DEF_Choice2 = {
397 "Choice2",
398 "Choice2",
399 CHOICE_free,
400 CHOICE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700401 CHOICE_compare,
Lev Walkincee931e2005-08-16 16:56:59 +0000402 CHOICE_constraint,
403 CHOICE_decode_ber,
404 CHOICE_encode_der,
405 CHOICE_decode_xer,
406 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700407 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400408 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000409 CHOICE_outmost_tag,
410 0, /* No effective tags (pointer) */
411 0, /* No effective tags (count) */
412 0, /* No tags (pointer) */
413 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400414 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000415 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000416 asn_MBR_Choice2_1,
Lev Walkinb85a8132005-08-18 13:38:19 +0000417 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000418 &asn_SPC_Choice2_specs_1 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000419};
420
421
Lev Walkinb85a8132005-08-18 13:38:19 +0000422/*** <<< INCLUDES [Choice3] >>> ***/
423
424#include <constr_SEQUENCE.h>
425#include <asn_SEQUENCE_OF.h>
426#include <constr_SEQUENCE_OF.h>
427#include <constr_CHOICE.h>
428
429/*** <<< DEPS [Choice3] >>> ***/
430
431typedef enum Choice3_PR {
432 Choice3_PR_NOTHING, /* No components present */
433 Choice3_PR_a,
434 Choice3_PR_b,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000435 Choice3_PR_c
Lev Walkinb85a8132005-08-18 13:38:19 +0000436} Choice3_PR;
437
438/*** <<< FWD-DECLS [Choice3] >>> ***/
439
440struct Everything;
441struct Choice3;
442
443/*** <<< TYPE-DECLS [Choice3] >>> ***/
444
445typedef struct Choice3 {
446 Choice3_PR present;
447 union Choice3_u {
448 struct a {
449 struct Everything *aa;
450
451 /* Context for parsing across buffer boundaries */
452 asn_struct_ctx_t _asn_ctx;
453 } a;
454 struct Everything *b;
455 struct c {
456 A_SEQUENCE_OF(struct Choice3) list;
457
458 /* Context for parsing across buffer boundaries */
459 asn_struct_ctx_t _asn_ctx;
460 } c;
461 } choice;
462
463 /* Context for parsing across buffer boundaries */
464 asn_struct_ctx_t _asn_ctx;
465} Choice3_t;
466
467/*** <<< FUNC-DECLS [Choice3] >>> ***/
468
469extern asn_TYPE_descriptor_t asn_DEF_Choice3;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800470extern asn_CHOICE_specifics_t asn_SPC_Choice3_specs_1;
471extern asn_TYPE_member_t asn_MBR_Choice3_1[3];
Lev Walkinb85a8132005-08-18 13:38:19 +0000472
473/*** <<< POST-INCLUDE [Choice3] >>> ***/
474
Lev Walkin22b5ed42006-09-13 02:51:20 +0000475#include "Everything.h"
476#include "Choice3.h"
Lev Walkinb85a8132005-08-18 13:38:19 +0000477
478/*** <<< STAT-DEFS [Choice3] >>> ***/
479
480static asn_TYPE_member_t asn_MBR_a_2[] = {
481 { ATF_POINTER, 0, offsetof(struct a, aa),
482 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
483 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000484 .type = &asn_DEF_Everything,
Lev Walkinb85a8132005-08-18 13:38:19 +0000485 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400486 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000487 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
488 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000489 .name = "aa"
490 },
491};
Lev Walkina7591b52014-10-12 18:37:35 -0700492static const ber_tlv_tag_t asn_DEF_a_tags_2[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000493 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
494 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
495};
Lev Walkina7591b52014-10-12 18:37:35 -0700496static const asn_TYPE_tag2member_t asn_MAP_a_tag2el_2[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700497 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* aa */
Lev Walkinb85a8132005-08-18 13:38:19 +0000498};
Lev Walkin59b176e2005-11-26 11:25:14 +0000499static asn_SEQUENCE_specifics_t asn_SPC_a_specs_2 = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000500 sizeof(struct a),
501 offsetof(struct a, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +0000502 asn_MAP_a_tag2el_2,
Lev Walkinb85a8132005-08-18 13:38:19 +0000503 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000504 0, 0, 0, /* Optional elements (not needed) */
Lev Walkinb85a8132005-08-18 13:38:19 +0000505 -1, /* Start extensions */
506 -1 /* Stop extensions */
507};
508static /* Use -fall-defs-global to expose */
509asn_TYPE_descriptor_t asn_DEF_a_2 = {
510 "a",
511 "a",
512 SEQUENCE_free,
513 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700514 SEQUENCE_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +0000515 SEQUENCE_constraint,
516 SEQUENCE_decode_ber,
517 SEQUENCE_encode_der,
518 SEQUENCE_decode_xer,
519 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700520 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400521 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +0000522 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000523 asn_DEF_a_tags_2,
524 sizeof(asn_DEF_a_tags_2)
525 /sizeof(asn_DEF_a_tags_2[0]) - 1, /* 1 */
526 asn_DEF_a_tags_2, /* Same as above */
527 sizeof(asn_DEF_a_tags_2)
528 /sizeof(asn_DEF_a_tags_2[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400529 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000530 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +0000531 asn_MBR_a_2,
532 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000533 &asn_SPC_a_specs_2 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +0000534};
535
536static asn_TYPE_member_t asn_MBR_c_5[] = {
537 { ATF_POINTER, 0, 0,
538 .tag = -1 /* Ambiguous tag (CHOICE?) */,
539 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000540 .type = &asn_DEF_Choice3,
Lev Walkinb85a8132005-08-18 13:38:19 +0000541 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400542 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000543 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
544 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000545 .name = ""
546 },
547};
Lev Walkina7591b52014-10-12 18:37:35 -0700548static const ber_tlv_tag_t asn_DEF_c_tags_5[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000549 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
550 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
551};
Lev Walkin59b176e2005-11-26 11:25:14 +0000552static asn_SET_OF_specifics_t asn_SPC_c_specs_5 = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000553 sizeof(struct c),
554 offsetof(struct c, _asn_ctx),
Lev Walkind1bfea62005-11-08 03:06:16 +0000555 2, /* XER encoding is XMLValueList */
Lev Walkinb85a8132005-08-18 13:38:19 +0000556};
557static /* Use -fall-defs-global to expose */
558asn_TYPE_descriptor_t asn_DEF_c_5 = {
559 "c",
560 "c",
561 SEQUENCE_OF_free,
562 SEQUENCE_OF_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700563 SEQUENCE_OF_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +0000564 SEQUENCE_OF_constraint,
565 SEQUENCE_OF_decode_ber,
566 SEQUENCE_OF_encode_der,
567 SEQUENCE_OF_decode_xer,
568 SEQUENCE_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700569 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400570 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +0000571 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000572 asn_DEF_c_tags_5,
573 sizeof(asn_DEF_c_tags_5)
574 /sizeof(asn_DEF_c_tags_5[0]) - 1, /* 1 */
575 asn_DEF_c_tags_5, /* Same as above */
576 sizeof(asn_DEF_c_tags_5)
577 /sizeof(asn_DEF_c_tags_5[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400578 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000579 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +0000580 asn_MBR_c_5,
581 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000582 &asn_SPC_c_specs_5 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +0000583};
584
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800585asn_TYPE_member_t asn_MBR_Choice3_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000586 { ATF_NOFLAGS, 0, offsetof(struct Choice3, choice.a),
587 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000588 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000589 .type = &asn_DEF_a_2,
Lev Walkinb85a8132005-08-18 13:38:19 +0000590 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400591 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000592 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
593 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000594 .name = "a"
595 },
596 { ATF_POINTER, 0, offsetof(struct Choice3, choice.b),
597 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
598 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000599 .type = &asn_DEF_Everything,
Lev Walkinb85a8132005-08-18 13:38:19 +0000600 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400601 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000602 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
603 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000604 .name = "b"
605 },
606 { ATF_NOFLAGS, 0, offsetof(struct Choice3, choice.c),
607 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000608 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000609 .type = &asn_DEF_c_5,
Lev Walkinb85a8132005-08-18 13:38:19 +0000610 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400611 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000612 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
613 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +0000614 .name = "c"
615 },
616};
Lev Walkina7591b52014-10-12 18:37:35 -0700617static const asn_TYPE_tag2member_t asn_MAP_Choice3_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700618 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
619 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* b */
620 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* c */
Lev Walkinb85a8132005-08-18 13:38:19 +0000621};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800622asn_CHOICE_specifics_t asn_SPC_Choice3_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +0000623 sizeof(struct Choice3),
624 offsetof(struct Choice3, _asn_ctx),
625 offsetof(struct Choice3, present),
626 sizeof(((struct Choice3 *)0)->present),
Lev Walkin59b176e2005-11-26 11:25:14 +0000627 asn_MAP_Choice3_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +0000628 3, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000629 .canonical_order = 0,
630 .ext_start = -1 /* Extensions start */
Lev Walkinb85a8132005-08-18 13:38:19 +0000631};
632asn_TYPE_descriptor_t asn_DEF_Choice3 = {
633 "Choice3",
634 "Choice3",
635 CHOICE_free,
636 CHOICE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700637 CHOICE_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +0000638 CHOICE_constraint,
639 CHOICE_decode_ber,
640 CHOICE_encode_der,
641 CHOICE_decode_xer,
642 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700643 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400644 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +0000645 CHOICE_outmost_tag,
646 0, /* No effective tags (pointer) */
647 0, /* No effective tags (count) */
648 0, /* No tags (pointer) */
649 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400650 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000651 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +0000652 asn_MBR_Choice3_1,
653 3, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000654 &asn_SPC_Choice3_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +0000655};
656
657
Lev Walkincee931e2005-08-16 16:56:59 +0000658/*** <<< INCLUDES [Set] >>> ***/
659
660#include <asn_SET_OF.h>
661#include <INTEGER.h>
Lev Walkincee931e2005-08-16 16:56:59 +0000662#include <constr_SEQUENCE.h>
663#include <constr_SET_OF.h>
664
665/*** <<< FWD-DECLS [Set] >>> ***/
666
667struct Set;
Lev Walkinb85a8132005-08-18 13:38:19 +0000668struct Sequence;
Lev Walkincee931e2005-08-16 16:56:59 +0000669
Bi-Ruei, Chiu9b87e5b2016-06-06 00:23:16 +0800670/*** <<< FWD-DEFS [Set] >>> ***/
671
672typedef struct Member {
673 INTEGER_t Int;
674 struct Set *set;
675 struct Sequence *seq;
676 struct Set *set2 /* OPTIONAL */;
677 /*
678 * This type is extensible,
679 * possible extensions are below.
680 */
681 struct Set *set3;
682
683 /* Context for parsing across buffer boundaries */
684 asn_struct_ctx_t _asn_ctx;
685} Member;
686
Lev Walkincee931e2005-08-16 16:56:59 +0000687/*** <<< TYPE-DECLS [Set] >>> ***/
688
689typedef struct Set {
Bi-Ruei, Chiu9b87e5b2016-06-06 00:23:16 +0800690 A_SET_OF(Member) list;
Lev Walkincee931e2005-08-16 16:56:59 +0000691
692 /* Context for parsing across buffer boundaries */
693 asn_struct_ctx_t _asn_ctx;
694} Set_t;
695
696/*** <<< FUNC-DECLS [Set] >>> ***/
697
698extern asn_TYPE_descriptor_t asn_DEF_Set;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800699extern asn_SET_OF_specifics_t asn_SPC_Set_specs_1;
700extern asn_TYPE_member_t asn_MBR_Set_1[1];
Lev Walkincee931e2005-08-16 16:56:59 +0000701
702/*** <<< POST-INCLUDE [Set] >>> ***/
703
Lev Walkin22b5ed42006-09-13 02:51:20 +0000704#include "Set.h"
705#include "Sequence.h"
Lev Walkincee931e2005-08-16 16:56:59 +0000706
707/*** <<< STAT-DEFS [Set] >>> ***/
708
709static asn_TYPE_member_t asn_MBR_Member_2[] = {
710 { ATF_NOFLAGS, 0, offsetof(struct Member, Int),
711 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
712 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000713 .type = &asn_DEF_INTEGER,
Lev Walkincee931e2005-08-16 16:56:59 +0000714 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400715 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000716 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
717 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000718 .name = "int"
719 },
720 { ATF_POINTER, 0, offsetof(struct Member, set),
721 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
722 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000723 .type = &asn_DEF_Set,
Lev Walkincee931e2005-08-16 16:56:59 +0000724 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400725 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000726 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
727 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000728 .name = "set"
729 },
Lev Walkinb85a8132005-08-18 13:38:19 +0000730 { ATF_POINTER, 0, offsetof(struct Member, seq),
Lev Walkincee931e2005-08-16 16:56:59 +0000731 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
732 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000733 .type = &asn_DEF_Sequence,
Lev Walkincee931e2005-08-16 16:56:59 +0000734 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400735 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000736 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
737 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000738 .name = "seq"
739 },
740 { ATF_POINTER, 2, offsetof(struct Member, set2),
741 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
742 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000743 .type = &asn_DEF_Set,
Lev Walkincee931e2005-08-16 16:56:59 +0000744 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400745 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000746 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
747 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000748 .name = "set2"
749 },
Lev Walkinb85a8132005-08-18 13:38:19 +0000750 { ATF_POINTER, 1, offsetof(struct Member, set3),
Lev Walkincee931e2005-08-16 16:56:59 +0000751 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
752 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000753 .type = &asn_DEF_Set,
Lev Walkincee931e2005-08-16 16:56:59 +0000754 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400755 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000756 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
757 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000758 .name = "set3"
759 },
760};
Lev Walkina7591b52014-10-12 18:37:35 -0700761static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000762 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
763};
Lev Walkina7591b52014-10-12 18:37:35 -0700764static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700765 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* int */
766 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* set */
767 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* seq */
768 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* set2 */
769 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* set3 */
Lev Walkincee931e2005-08-16 16:56:59 +0000770};
Lev Walkin59b176e2005-11-26 11:25:14 +0000771static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000772 sizeof(struct Member),
773 offsetof(struct Member, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +0000774 asn_MAP_Member_tag2el_2,
Lev Walkincee931e2005-08-16 16:56:59 +0000775 5, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000776 0, 0, 0, /* Optional elements (not needed) */
Lev Walkincee931e2005-08-16 16:56:59 +0000777 3, /* Start extensions */
778 6 /* Stop extensions */
779};
780static /* Use -fall-defs-global to expose */
781asn_TYPE_descriptor_t asn_DEF_Member_2 = {
Lev Walkin59b176e2005-11-26 11:25:14 +0000782 "SEQUENCE",
783 "SEQUENCE",
Lev Walkincee931e2005-08-16 16:56:59 +0000784 SEQUENCE_free,
785 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700786 SEQUENCE_compare,
Lev Walkincee931e2005-08-16 16:56:59 +0000787 SEQUENCE_constraint,
788 SEQUENCE_decode_ber,
789 SEQUENCE_encode_der,
790 SEQUENCE_decode_xer,
791 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700792 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400793 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000794 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000795 asn_DEF_Member_tags_2,
796 sizeof(asn_DEF_Member_tags_2)
797 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
798 asn_DEF_Member_tags_2, /* Same as above */
799 sizeof(asn_DEF_Member_tags_2)
800 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400801 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000802 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000803 asn_MBR_Member_2,
804 5, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000805 &asn_SPC_Member_specs_2 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000806};
807
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800808asn_TYPE_member_t asn_MBR_Set_1[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000809 { ATF_POINTER, 0, 0,
810 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
811 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000812 .type = &asn_DEF_Member_2,
Lev Walkincee931e2005-08-16 16:56:59 +0000813 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400814 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000815 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
816 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000817 .name = ""
818 },
819};
Lev Walkina7591b52014-10-12 18:37:35 -0700820static const ber_tlv_tag_t asn_DEF_Set_tags_1[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000821 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
822};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800823asn_SET_OF_specifics_t asn_SPC_Set_specs_1 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000824 sizeof(struct Set),
825 offsetof(struct Set, _asn_ctx),
826 0, /* XER encoding is XMLDelimitedItemList */
827};
828asn_TYPE_descriptor_t asn_DEF_Set = {
829 "Set",
830 "Set",
831 SET_OF_free,
832 SET_OF_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700833 SET_OF_compare,
Lev Walkincee931e2005-08-16 16:56:59 +0000834 SET_OF_constraint,
835 SET_OF_decode_ber,
836 SET_OF_encode_der,
837 SET_OF_decode_xer,
838 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700839 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400840 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000841 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000842 asn_DEF_Set_tags_1,
843 sizeof(asn_DEF_Set_tags_1)
844 /sizeof(asn_DEF_Set_tags_1[0]), /* 1 */
845 asn_DEF_Set_tags_1, /* Same as above */
846 sizeof(asn_DEF_Set_tags_1)
847 /sizeof(asn_DEF_Set_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400848 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000849 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000850 asn_MBR_Set_1,
851 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000852 &asn_SPC_Set_specs_1 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000853};
854
855
856/*** <<< INCLUDES [Sequence] >>> ***/
857
858#include <INTEGER.h>
859#include <constr_SEQUENCE.h>
860
861/*** <<< FWD-DECLS [Sequence] >>> ***/
862
863struct Sequence;
864struct Set;
865
866/*** <<< TYPE-DECLS [Sequence] >>> ***/
867
868typedef struct Sequence {
869 INTEGER_t a;
870 struct Sequence *seq /* OPTIONAL */;
871 /*
872 * This type is extensible,
873 * possible extensions are below.
874 */
875 INTEGER_t *b;
876 struct Set *set /* OPTIONAL */;
877
878 /* Context for parsing across buffer boundaries */
879 asn_struct_ctx_t _asn_ctx;
880} Sequence_t;
881
882/*** <<< FUNC-DECLS [Sequence] >>> ***/
883
884extern asn_TYPE_descriptor_t asn_DEF_Sequence;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800885extern asn_SEQUENCE_specifics_t asn_SPC_Sequence_specs_1;
886extern asn_TYPE_member_t asn_MBR_Sequence_1[4];
Lev Walkincee931e2005-08-16 16:56:59 +0000887
888/*** <<< POST-INCLUDE [Sequence] >>> ***/
889
Lev Walkin22b5ed42006-09-13 02:51:20 +0000890#include "Sequence.h"
891#include "Set.h"
Lev Walkincee931e2005-08-16 16:56:59 +0000892
893/*** <<< STAT-DEFS [Sequence] >>> ***/
894
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800895asn_TYPE_member_t asn_MBR_Sequence_1[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000896 { ATF_NOFLAGS, 0, offsetof(struct Sequence, a),
897 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
898 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000899 .type = &asn_DEF_INTEGER,
Lev Walkincee931e2005-08-16 16:56:59 +0000900 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400901 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000902 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
903 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000904 .name = "a"
905 },
906 { ATF_POINTER, 3, offsetof(struct Sequence, seq),
907 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
908 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000909 .type = &asn_DEF_Sequence,
Lev Walkincee931e2005-08-16 16:56:59 +0000910 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400911 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000912 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
913 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000914 .name = "seq"
915 },
Lev Walkinb85a8132005-08-18 13:38:19 +0000916 { ATF_POINTER, 2, offsetof(struct Sequence, b),
Lev Walkincee931e2005-08-16 16:56:59 +0000917 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
918 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000919 .type = &asn_DEF_INTEGER,
Lev Walkincee931e2005-08-16 16:56:59 +0000920 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400921 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000922 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
923 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000924 .name = "b"
925 },
926 { ATF_POINTER, 1, offsetof(struct Sequence, set),
927 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
928 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000929 .type = &asn_DEF_Set,
Lev Walkincee931e2005-08-16 16:56:59 +0000930 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400931 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000932 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
933 .default_value = 0,
Lev Walkincee931e2005-08-16 16:56:59 +0000934 .name = "set"
935 },
936};
Lev Walkina7591b52014-10-12 18:37:35 -0700937static const ber_tlv_tag_t asn_DEF_Sequence_tags_1[] = {
Lev Walkincee931e2005-08-16 16:56:59 +0000938 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
939};
Lev Walkina7591b52014-10-12 18:37:35 -0700940static const asn_TYPE_tag2member_t asn_MAP_Sequence_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700941 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
942 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* seq */
943 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* b */
944 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* set */
Lev Walkincee931e2005-08-16 16:56:59 +0000945};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800946asn_SEQUENCE_specifics_t asn_SPC_Sequence_specs_1 = {
Lev Walkincee931e2005-08-16 16:56:59 +0000947 sizeof(struct Sequence),
948 offsetof(struct Sequence, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +0000949 asn_MAP_Sequence_tag2el_1,
Lev Walkincee931e2005-08-16 16:56:59 +0000950 4, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000951 0, 0, 0, /* Optional elements (not needed) */
Lev Walkincee931e2005-08-16 16:56:59 +0000952 1, /* Start extensions */
953 5 /* Stop extensions */
954};
955asn_TYPE_descriptor_t asn_DEF_Sequence = {
956 "Sequence",
957 "Sequence",
958 SEQUENCE_free,
959 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700960 SEQUENCE_compare,
Lev Walkincee931e2005-08-16 16:56:59 +0000961 SEQUENCE_constraint,
962 SEQUENCE_decode_ber,
963 SEQUENCE_encode_der,
964 SEQUENCE_decode_xer,
965 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700966 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400967 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkincee931e2005-08-16 16:56:59 +0000968 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000969 asn_DEF_Sequence_tags_1,
970 sizeof(asn_DEF_Sequence_tags_1)
971 /sizeof(asn_DEF_Sequence_tags_1[0]), /* 1 */
972 asn_DEF_Sequence_tags_1, /* Same as above */
973 sizeof(asn_DEF_Sequence_tags_1)
974 /sizeof(asn_DEF_Sequence_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400975 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000976 0, /* No PER visible constraints */
Lev Walkincee931e2005-08-16 16:56:59 +0000977 asn_MBR_Sequence_1,
978 4, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000979 &asn_SPC_Sequence_specs_1 /* Additional specs */
Lev Walkincee931e2005-08-16 16:56:59 +0000980};
981
Lev Walkinb85a8132005-08-18 13:38:19 +0000982
983/*** <<< INCLUDES [TypeRef] >>> ***/
984
Lev Walkin22b5ed42006-09-13 02:51:20 +0000985#include "Sequence.h"
Lev Walkinb85a8132005-08-18 13:38:19 +0000986
987/*** <<< TYPE-DECLS [TypeRef] >>> ***/
988
989typedef Sequence_t TypeRef_t;
990
991/*** <<< FUNC-DECLS [TypeRef] >>> ***/
992
993extern asn_TYPE_descriptor_t asn_DEF_TypeRef;
994asn_struct_free_f TypeRef_free;
995asn_struct_print_f TypeRef_print;
996asn_constr_check_f TypeRef_constraint;
997ber_type_decoder_f TypeRef_decode_ber;
998der_type_encoder_f TypeRef_encode_der;
999xer_type_decoder_f TypeRef_decode_xer;
1000xer_type_encoder_f TypeRef_encode_xer;
1001
1002/*** <<< CODE [TypeRef] >>> ***/
1003
Lev Walkinb85a8132005-08-18 13:38:19 +00001004/*
1005 * This type is implemented using Sequence,
1006 * so here we adjust the DEF accordingly.
1007 */
Lev Walkinb85a8132005-08-18 13:38:19 +00001008
1009/*** <<< STAT-DEFS [TypeRef] >>> ***/
1010
Lev Walkina7591b52014-10-12 18:37:35 -07001011static const ber_tlv_tag_t asn_DEF_TypeRef_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001012 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1013};
1014asn_TYPE_descriptor_t asn_DEF_TypeRef = {
1015 "TypeRef",
1016 "TypeRef",
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001017 SEQUENCE_free,
1018 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001019 SEQUENCE_compare,
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001020 SEQUENCE_constraint,
1021 SEQUENCE_decode_ber,
1022 SEQUENCE_encode_der,
1023 SEQUENCE_decode_xer,
1024 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001025 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001026 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001027 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001028 asn_DEF_TypeRef_tags_1,
1029 sizeof(asn_DEF_TypeRef_tags_1)
1030 /sizeof(asn_DEF_TypeRef_tags_1[0]), /* 1 */
1031 asn_DEF_TypeRef_tags_1, /* Same as above */
1032 sizeof(asn_DEF_TypeRef_tags_1)
1033 /sizeof(asn_DEF_TypeRef_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001034 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001035 0, /* No PER visible constraints */
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001036 asn_MBR_Sequence_1,
1037 4, /* Elements count */
1038 &asn_SPC_Sequence_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001039};
1040
1041
1042/*** <<< INCLUDES [Alpha] >>> ***/
1043
1044#include <constr_SEQUENCE.h>
1045
1046/*** <<< FWD-DECLS [Alpha] >>> ***/
1047
1048struct Beta;
1049
1050/*** <<< TYPE-DECLS [Alpha] >>> ***/
1051
1052typedef struct Alpha {
1053 struct Beta *a;
1054 struct b {
1055 struct Beta *b /* OPTIONAL */;
1056
1057 /* Context for parsing across buffer boundaries */
1058 asn_struct_ctx_t _asn_ctx;
1059 } b;
1060
1061 /* Context for parsing across buffer boundaries */
1062 asn_struct_ctx_t _asn_ctx;
1063} Alpha_t;
1064
1065/*** <<< FUNC-DECLS [Alpha] >>> ***/
1066
1067extern asn_TYPE_descriptor_t asn_DEF_Alpha;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001068extern asn_SEQUENCE_specifics_t asn_SPC_Alpha_specs_1;
1069extern asn_TYPE_member_t asn_MBR_Alpha_1[2];
Lev Walkinb85a8132005-08-18 13:38:19 +00001070
1071/*** <<< POST-INCLUDE [Alpha] >>> ***/
1072
Lev Walkin22b5ed42006-09-13 02:51:20 +00001073#include "Beta.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001074
1075/*** <<< STAT-DEFS [Alpha] >>> ***/
1076
1077static asn_TYPE_member_t asn_MBR_b_3[] = {
1078 { ATF_POINTER, 1, offsetof(struct b, b),
1079 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1080 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001081 .type = &asn_DEF_Beta,
Lev Walkinb85a8132005-08-18 13:38:19 +00001082 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001083 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001084 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1085 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001086 .name = "b"
1087 },
1088};
Lev Walkina7591b52014-10-12 18:37:35 -07001089static const ber_tlv_tag_t asn_DEF_b_tags_3[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001090 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1091 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1092};
Lev Walkina7591b52014-10-12 18:37:35 -07001093static const asn_TYPE_tag2member_t asn_MAP_b_tag2el_3[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001094 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* b */
Lev Walkinb85a8132005-08-18 13:38:19 +00001095};
Lev Walkin59b176e2005-11-26 11:25:14 +00001096static asn_SEQUENCE_specifics_t asn_SPC_b_specs_3 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001097 sizeof(struct b),
1098 offsetof(struct b, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +00001099 asn_MAP_b_tag2el_3,
Lev Walkinb85a8132005-08-18 13:38:19 +00001100 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001101 0, 0, 0, /* Optional elements (not needed) */
Lev Walkinb85a8132005-08-18 13:38:19 +00001102 -1, /* Start extensions */
1103 -1 /* Stop extensions */
1104};
1105static /* Use -fall-defs-global to expose */
1106asn_TYPE_descriptor_t asn_DEF_b_3 = {
1107 "b",
1108 "b",
1109 SEQUENCE_free,
1110 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001111 SEQUENCE_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +00001112 SEQUENCE_constraint,
1113 SEQUENCE_decode_ber,
1114 SEQUENCE_encode_der,
1115 SEQUENCE_decode_xer,
1116 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001117 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001118 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001119 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001120 asn_DEF_b_tags_3,
1121 sizeof(asn_DEF_b_tags_3)
1122 /sizeof(asn_DEF_b_tags_3[0]) - 1, /* 1 */
1123 asn_DEF_b_tags_3, /* Same as above */
1124 sizeof(asn_DEF_b_tags_3)
1125 /sizeof(asn_DEF_b_tags_3[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001126 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001127 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001128 asn_MBR_b_3,
1129 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001130 &asn_SPC_b_specs_3 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001131};
1132
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001133asn_TYPE_member_t asn_MBR_Alpha_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001134 { ATF_POINTER, 0, offsetof(struct Alpha, a),
1135 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1136 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001137 .type = &asn_DEF_Beta,
Lev Walkinb85a8132005-08-18 13:38:19 +00001138 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001139 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001140 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1141 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001142 .name = "a"
1143 },
1144 { ATF_NOFLAGS, 0, offsetof(struct Alpha, b),
1145 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +00001146 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001147 .type = &asn_DEF_b_3,
Lev Walkinb85a8132005-08-18 13:38:19 +00001148 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001149 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001150 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1151 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001152 .name = "b"
1153 },
1154};
Lev Walkina7591b52014-10-12 18:37:35 -07001155static const ber_tlv_tag_t asn_DEF_Alpha_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001156 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1157};
Lev Walkina7591b52014-10-12 18:37:35 -07001158static const asn_TYPE_tag2member_t asn_MAP_Alpha_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001159 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
1160 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* b */
Lev Walkinb85a8132005-08-18 13:38:19 +00001161};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001162asn_SEQUENCE_specifics_t asn_SPC_Alpha_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001163 sizeof(struct Alpha),
1164 offsetof(struct Alpha, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +00001165 asn_MAP_Alpha_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001166 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001167 0, 0, 0, /* Optional elements (not needed) */
Lev Walkinb85a8132005-08-18 13:38:19 +00001168 -1, /* Start extensions */
1169 -1 /* Stop extensions */
1170};
1171asn_TYPE_descriptor_t asn_DEF_Alpha = {
1172 "Alpha",
1173 "Alpha",
1174 SEQUENCE_free,
1175 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001176 SEQUENCE_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +00001177 SEQUENCE_constraint,
1178 SEQUENCE_decode_ber,
1179 SEQUENCE_encode_der,
1180 SEQUENCE_decode_xer,
1181 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001182 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001183 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001184 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001185 asn_DEF_Alpha_tags_1,
1186 sizeof(asn_DEF_Alpha_tags_1)
1187 /sizeof(asn_DEF_Alpha_tags_1[0]), /* 1 */
1188 asn_DEF_Alpha_tags_1, /* Same as above */
1189 sizeof(asn_DEF_Alpha_tags_1)
1190 /sizeof(asn_DEF_Alpha_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001191 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001192 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001193 asn_MBR_Alpha_1,
1194 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001195 &asn_SPC_Alpha_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001196};
1197
1198
1199/*** <<< INCLUDES [Beta] >>> ***/
1200
1201#include <constr_SEQUENCE.h>
1202
1203/*** <<< FWD-DECLS [Beta] >>> ***/
1204
1205struct Alpha;
1206struct Gamma;
1207
1208/*** <<< TYPE-DECLS [Beta] >>> ***/
1209
1210typedef struct Beta {
1211 struct Alpha *b /* OPTIONAL */;
1212 struct Gamma *g /* OPTIONAL */;
1213
1214 /* Context for parsing across buffer boundaries */
1215 asn_struct_ctx_t _asn_ctx;
1216} Beta_t;
1217
1218/*** <<< FUNC-DECLS [Beta] >>> ***/
1219
1220extern asn_TYPE_descriptor_t asn_DEF_Beta;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001221extern asn_SEQUENCE_specifics_t asn_SPC_Beta_specs_1;
1222extern asn_TYPE_member_t asn_MBR_Beta_1[2];
Lev Walkinb85a8132005-08-18 13:38:19 +00001223
1224/*** <<< POST-INCLUDE [Beta] >>> ***/
1225
Lev Walkin22b5ed42006-09-13 02:51:20 +00001226#include "Alpha.h"
1227#include "Gamma.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001228
1229/*** <<< STAT-DEFS [Beta] >>> ***/
1230
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001231asn_TYPE_member_t asn_MBR_Beta_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001232 { ATF_POINTER, 2, offsetof(struct Beta, b),
1233 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1234 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001235 .type = &asn_DEF_Alpha,
Lev Walkinb85a8132005-08-18 13:38:19 +00001236 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001237 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001238 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1239 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001240 .name = "b"
1241 },
1242 { ATF_POINTER, 1, offsetof(struct Beta, g),
1243 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1244 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001245 .type = &asn_DEF_Gamma,
Lev Walkinb85a8132005-08-18 13:38:19 +00001246 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001247 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001248 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1249 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001250 .name = "g"
1251 },
1252};
Lev Walkina7591b52014-10-12 18:37:35 -07001253static const ber_tlv_tag_t asn_DEF_Beta_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001254 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1255};
Lev Walkina7591b52014-10-12 18:37:35 -07001256static const asn_TYPE_tag2member_t asn_MAP_Beta_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001257 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* b */
1258 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* g */
Lev Walkinb85a8132005-08-18 13:38:19 +00001259};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001260asn_SEQUENCE_specifics_t asn_SPC_Beta_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001261 sizeof(struct Beta),
1262 offsetof(struct Beta, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +00001263 asn_MAP_Beta_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001264 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001265 0, 0, 0, /* Optional elements (not needed) */
Lev Walkinb85a8132005-08-18 13:38:19 +00001266 -1, /* Start extensions */
1267 -1 /* Stop extensions */
1268};
1269asn_TYPE_descriptor_t asn_DEF_Beta = {
1270 "Beta",
1271 "Beta",
1272 SEQUENCE_free,
1273 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001274 SEQUENCE_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +00001275 SEQUENCE_constraint,
1276 SEQUENCE_decode_ber,
1277 SEQUENCE_encode_der,
1278 SEQUENCE_decode_xer,
1279 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001280 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001281 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001282 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001283 asn_DEF_Beta_tags_1,
1284 sizeof(asn_DEF_Beta_tags_1)
1285 /sizeof(asn_DEF_Beta_tags_1[0]), /* 1 */
1286 asn_DEF_Beta_tags_1, /* Same as above */
1287 sizeof(asn_DEF_Beta_tags_1)
1288 /sizeof(asn_DEF_Beta_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001289 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001290 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001291 asn_MBR_Beta_1,
1292 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001293 &asn_SPC_Beta_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001294};
1295
1296
1297/*** <<< INCLUDES [Gamma] >>> ***/
1298
1299#include <constr_SEQUENCE.h>
1300
1301/*** <<< FWD-DECLS [Gamma] >>> ***/
1302
1303struct TwoThree;
1304struct Alpha;
1305struct Beta;
1306
1307/*** <<< TYPE-DECLS [Gamma] >>> ***/
1308
1309typedef struct Gamma {
1310 struct TwoThree *o;
1311 struct Alpha *a;
1312 struct Beta *b;
1313
1314 /* Context for parsing across buffer boundaries */
1315 asn_struct_ctx_t _asn_ctx;
1316} Gamma_t;
1317
1318/*** <<< FUNC-DECLS [Gamma] >>> ***/
1319
1320extern asn_TYPE_descriptor_t asn_DEF_Gamma;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001321extern asn_SEQUENCE_specifics_t asn_SPC_Gamma_specs_1;
1322extern asn_TYPE_member_t asn_MBR_Gamma_1[3];
Lev Walkinb85a8132005-08-18 13:38:19 +00001323
1324/*** <<< POST-INCLUDE [Gamma] >>> ***/
1325
Lev Walkin22b5ed42006-09-13 02:51:20 +00001326#include "TwoThree.h"
1327#include "Alpha.h"
1328#include "Beta.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001329
1330/*** <<< STAT-DEFS [Gamma] >>> ***/
1331
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001332asn_TYPE_member_t asn_MBR_Gamma_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001333 { ATF_POINTER, 0, offsetof(struct Gamma, o),
1334 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1335 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001336 .type = &asn_DEF_TwoThree,
Lev Walkinb85a8132005-08-18 13:38:19 +00001337 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001338 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001339 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1340 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001341 .name = "o"
1342 },
1343 { ATF_POINTER, 0, offsetof(struct Gamma, a),
1344 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1345 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001346 .type = &asn_DEF_Alpha,
Lev Walkinb85a8132005-08-18 13:38:19 +00001347 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001348 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001349 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1350 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001351 .name = "a"
1352 },
1353 { ATF_POINTER, 0, offsetof(struct Gamma, b),
1354 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
1355 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001356 .type = &asn_DEF_Beta,
Lev Walkinb85a8132005-08-18 13:38:19 +00001357 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001358 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001359 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1360 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001361 .name = "b"
1362 },
1363};
Lev Walkina7591b52014-10-12 18:37:35 -07001364static const ber_tlv_tag_t asn_DEF_Gamma_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001365 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1366};
Lev Walkina7591b52014-10-12 18:37:35 -07001367static const asn_TYPE_tag2member_t asn_MAP_Gamma_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001368 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* o */
1369 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* a */
1370 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* b */
Lev Walkinb85a8132005-08-18 13:38:19 +00001371};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001372asn_SEQUENCE_specifics_t asn_SPC_Gamma_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001373 sizeof(struct Gamma),
1374 offsetof(struct Gamma, _asn_ctx),
Lev Walkin59b176e2005-11-26 11:25:14 +00001375 asn_MAP_Gamma_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001376 3, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001377 0, 0, 0, /* Optional elements (not needed) */
Lev Walkinb85a8132005-08-18 13:38:19 +00001378 -1, /* Start extensions */
1379 -1 /* Stop extensions */
1380};
1381asn_TYPE_descriptor_t asn_DEF_Gamma = {
1382 "Gamma",
1383 "Gamma",
1384 SEQUENCE_free,
1385 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001386 SEQUENCE_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +00001387 SEQUENCE_constraint,
1388 SEQUENCE_decode_ber,
1389 SEQUENCE_encode_der,
1390 SEQUENCE_decode_xer,
1391 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001392 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001393 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001394 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001395 asn_DEF_Gamma_tags_1,
1396 sizeof(asn_DEF_Gamma_tags_1)
1397 /sizeof(asn_DEF_Gamma_tags_1[0]), /* 1 */
1398 asn_DEF_Gamma_tags_1, /* Same as above */
1399 sizeof(asn_DEF_Gamma_tags_1)
1400 /sizeof(asn_DEF_Gamma_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001401 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001402 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001403 asn_MBR_Gamma_1,
1404 3, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001405 &asn_SPC_Gamma_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001406};
1407
1408
1409/*** <<< INCLUDES [OneTwo] >>> ***/
1410
1411#include <constr_SET.h>
1412
1413/*** <<< DEPS [OneTwo] >>> ***/
1414
1415
1416/*
1417 * Method of determining the components presence
1418 */
1419typedef enum OneTwo_PR {
1420 OneTwo_PR_m12, /* Member m12 is present */
1421} OneTwo_PR;
1422
1423/*** <<< FWD-DECLS [OneTwo] >>> ***/
1424
1425struct TwoThree;
1426
1427/*** <<< TYPE-DECLS [OneTwo] >>> ***/
1428
1429typedef struct OneTwo {
1430 struct TwoThree *m12;
1431
1432 /* Presence bitmask: ASN_SET_ISPRESENT(pOneTwo, OneTwo_PR_x) */
1433 unsigned int _presence_map
1434 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
1435
1436 /* Context for parsing across buffer boundaries */
1437 asn_struct_ctx_t _asn_ctx;
1438} OneTwo_t;
1439
1440/*** <<< FUNC-DECLS [OneTwo] >>> ***/
1441
1442extern asn_TYPE_descriptor_t asn_DEF_OneTwo;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001443extern asn_SET_specifics_t asn_SPC_OneTwo_specs_1;
1444extern asn_TYPE_member_t asn_MBR_OneTwo_1[1];
Lev Walkinb85a8132005-08-18 13:38:19 +00001445
1446/*** <<< POST-INCLUDE [OneTwo] >>> ***/
1447
Lev Walkin22b5ed42006-09-13 02:51:20 +00001448#include "TwoThree.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001449
1450/*** <<< STAT-DEFS [OneTwo] >>> ***/
1451
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001452asn_TYPE_member_t asn_MBR_OneTwo_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001453 { ATF_POINTER, 0, offsetof(struct OneTwo, m12),
1454 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1455 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001456 .type = &asn_DEF_TwoThree,
Lev Walkinb85a8132005-08-18 13:38:19 +00001457 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001458 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001459 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1460 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001461 .name = "m12"
1462 },
1463};
Lev Walkina7591b52014-10-12 18:37:35 -07001464static const ber_tlv_tag_t asn_DEF_OneTwo_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001465 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1466};
Lev Walkina7591b52014-10-12 18:37:35 -07001467static const asn_TYPE_tag2member_t asn_MAP_OneTwo_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001468 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* m12 */
Lev Walkinb85a8132005-08-18 13:38:19 +00001469};
Lev Walkina7591b52014-10-12 18:37:35 -07001470static const uint8_t asn_MAP_OneTwo_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001471 (1 << 7)
1472};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001473asn_SET_specifics_t asn_SPC_OneTwo_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001474 sizeof(struct OneTwo),
1475 offsetof(struct OneTwo, _asn_ctx),
1476 offsetof(struct OneTwo, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +00001477 asn_MAP_OneTwo_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001478 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001479 asn_MAP_OneTwo_tag2el_1, /* Same as above */
Lev Walkinb85a8132005-08-18 13:38:19 +00001480 1, /* Count of tags in the CXER map */
1481 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -07001482 (const unsigned int *)asn_MAP_OneTwo_mmap_1 /* Mandatory elements map */
Lev Walkinb85a8132005-08-18 13:38:19 +00001483};
1484asn_TYPE_descriptor_t asn_DEF_OneTwo = {
1485 "OneTwo",
1486 "OneTwo",
1487 SET_free,
1488 SET_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001489 SET_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +00001490 SET_constraint,
1491 SET_decode_ber,
1492 SET_encode_der,
1493 SET_decode_xer,
1494 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001495 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001496 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001497 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001498 asn_DEF_OneTwo_tags_1,
1499 sizeof(asn_DEF_OneTwo_tags_1)
1500 /sizeof(asn_DEF_OneTwo_tags_1[0]), /* 1 */
1501 asn_DEF_OneTwo_tags_1, /* Same as above */
1502 sizeof(asn_DEF_OneTwo_tags_1)
1503 /sizeof(asn_DEF_OneTwo_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001504 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001505 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001506 asn_MBR_OneTwo_1,
1507 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001508 &asn_SPC_OneTwo_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001509};
1510
1511
1512/*** <<< INCLUDES [TwoThree] >>> ***/
1513
1514#include <constr_SET.h>
1515
1516/*** <<< DEPS [TwoThree] >>> ***/
1517
1518
1519/*
1520 * Method of determining the components presence
1521 */
1522typedef enum TwoThree_PR {
1523 TwoThree_PR_m23, /* Member m23 is present */
1524} TwoThree_PR;
1525
1526/*** <<< FWD-DECLS [TwoThree] >>> ***/
1527
1528struct ThreeOne;
1529
1530/*** <<< TYPE-DECLS [TwoThree] >>> ***/
1531
1532typedef struct TwoThree {
1533 struct ThreeOne *m23;
1534
1535 /* Presence bitmask: ASN_SET_ISPRESENT(pTwoThree, TwoThree_PR_x) */
1536 unsigned int _presence_map
1537 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
1538
1539 /* Context for parsing across buffer boundaries */
1540 asn_struct_ctx_t _asn_ctx;
1541} TwoThree_t;
1542
1543/*** <<< FUNC-DECLS [TwoThree] >>> ***/
1544
1545extern asn_TYPE_descriptor_t asn_DEF_TwoThree;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001546extern asn_SET_specifics_t asn_SPC_TwoThree_specs_1;
1547extern asn_TYPE_member_t asn_MBR_TwoThree_1[1];
Lev Walkinb85a8132005-08-18 13:38:19 +00001548
1549/*** <<< POST-INCLUDE [TwoThree] >>> ***/
1550
Lev Walkin22b5ed42006-09-13 02:51:20 +00001551#include "ThreeOne.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001552
1553/*** <<< STAT-DEFS [TwoThree] >>> ***/
1554
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001555asn_TYPE_member_t asn_MBR_TwoThree_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001556 { ATF_POINTER, 0, offsetof(struct TwoThree, m23),
1557 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1558 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001559 .type = &asn_DEF_ThreeOne,
Lev Walkinb85a8132005-08-18 13:38:19 +00001560 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001561 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001562 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1563 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001564 .name = "m23"
1565 },
1566};
Lev Walkina7591b52014-10-12 18:37:35 -07001567static const ber_tlv_tag_t asn_DEF_TwoThree_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001568 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1569};
Lev Walkina7591b52014-10-12 18:37:35 -07001570static const asn_TYPE_tag2member_t asn_MAP_TwoThree_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001571 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* m23 */
Lev Walkinb85a8132005-08-18 13:38:19 +00001572};
Lev Walkina7591b52014-10-12 18:37:35 -07001573static const uint8_t asn_MAP_TwoThree_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001574 (1 << 7)
1575};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001576asn_SET_specifics_t asn_SPC_TwoThree_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001577 sizeof(struct TwoThree),
1578 offsetof(struct TwoThree, _asn_ctx),
1579 offsetof(struct TwoThree, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +00001580 asn_MAP_TwoThree_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001581 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001582 asn_MAP_TwoThree_tag2el_1, /* Same as above */
Lev Walkinb85a8132005-08-18 13:38:19 +00001583 1, /* Count of tags in the CXER map */
1584 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -07001585 (const unsigned int *)asn_MAP_TwoThree_mmap_1 /* Mandatory elements map */
Lev Walkinb85a8132005-08-18 13:38:19 +00001586};
1587asn_TYPE_descriptor_t asn_DEF_TwoThree = {
1588 "TwoThree",
1589 "TwoThree",
1590 SET_free,
1591 SET_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001592 SET_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +00001593 SET_constraint,
1594 SET_decode_ber,
1595 SET_encode_der,
1596 SET_decode_xer,
1597 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001598 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001599 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001600 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001601 asn_DEF_TwoThree_tags_1,
1602 sizeof(asn_DEF_TwoThree_tags_1)
1603 /sizeof(asn_DEF_TwoThree_tags_1[0]), /* 1 */
1604 asn_DEF_TwoThree_tags_1, /* Same as above */
1605 sizeof(asn_DEF_TwoThree_tags_1)
1606 /sizeof(asn_DEF_TwoThree_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001607 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001608 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001609 asn_MBR_TwoThree_1,
1610 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001611 &asn_SPC_TwoThree_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001612};
1613
1614
1615/*** <<< INCLUDES [ThreeOne] >>> ***/
1616
1617#include <constr_SET.h>
1618
1619/*** <<< DEPS [ThreeOne] >>> ***/
1620
1621
1622/*
1623 * Method of determining the components presence
1624 */
1625typedef enum ThreeOne_PR {
1626 ThreeOne_PR_m31, /* Member m31 is present */
1627 ThreeOne_PR_g, /* Member g is present */
1628} ThreeOne_PR;
1629
1630/*** <<< FWD-DECLS [ThreeOne] >>> ***/
1631
1632struct OneTwo;
1633struct Gamma;
1634
1635/*** <<< TYPE-DECLS [ThreeOne] >>> ***/
1636
1637typedef struct ThreeOne {
1638 struct OneTwo *m31;
1639 struct Gamma *g;
1640
1641 /* Presence bitmask: ASN_SET_ISPRESENT(pThreeOne, ThreeOne_PR_x) */
1642 unsigned int _presence_map
1643 [((2+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
1644
1645 /* Context for parsing across buffer boundaries */
1646 asn_struct_ctx_t _asn_ctx;
1647} ThreeOne_t;
1648
1649/*** <<< FUNC-DECLS [ThreeOne] >>> ***/
1650
1651extern asn_TYPE_descriptor_t asn_DEF_ThreeOne;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001652extern asn_SET_specifics_t asn_SPC_ThreeOne_specs_1;
1653extern asn_TYPE_member_t asn_MBR_ThreeOne_1[2];
Lev Walkinb85a8132005-08-18 13:38:19 +00001654
1655/*** <<< POST-INCLUDE [ThreeOne] >>> ***/
1656
Lev Walkin22b5ed42006-09-13 02:51:20 +00001657#include "OneTwo.h"
1658#include "Gamma.h"
Lev Walkinb85a8132005-08-18 13:38:19 +00001659
1660/*** <<< STAT-DEFS [ThreeOne] >>> ***/
1661
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001662asn_TYPE_member_t asn_MBR_ThreeOne_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001663 { ATF_POINTER, 0, offsetof(struct ThreeOne, m31),
1664 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1665 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001666 .type = &asn_DEF_OneTwo,
Lev Walkinb85a8132005-08-18 13:38:19 +00001667 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001668 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001669 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1670 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001671 .name = "m31"
1672 },
1673 { ATF_POINTER, 0, offsetof(struct ThreeOne, g),
1674 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1675 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001676 .type = &asn_DEF_Gamma,
Lev Walkinb85a8132005-08-18 13:38:19 +00001677 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +04001678 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +00001679 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
1680 .default_value = 0,
Lev Walkinb85a8132005-08-18 13:38:19 +00001681 .name = "g"
1682 },
1683};
Lev Walkina7591b52014-10-12 18:37:35 -07001684static const ber_tlv_tag_t asn_DEF_ThreeOne_tags_1[] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001685 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1686};
Lev Walkina7591b52014-10-12 18:37:35 -07001687static const asn_TYPE_tag2member_t asn_MAP_ThreeOne_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001688 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* m31 */
1689 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* g */
Lev Walkinb85a8132005-08-18 13:38:19 +00001690};
Lev Walkina7591b52014-10-12 18:37:35 -07001691static const uint8_t asn_MAP_ThreeOne_mmap_1[(2 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001692 (1 << 7) | (1 << 6)
1693};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001694asn_SET_specifics_t asn_SPC_ThreeOne_specs_1 = {
Lev Walkinb85a8132005-08-18 13:38:19 +00001695 sizeof(struct ThreeOne),
1696 offsetof(struct ThreeOne, _asn_ctx),
1697 offsetof(struct ThreeOne, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +00001698 asn_MAP_ThreeOne_tag2el_1,
Lev Walkinb85a8132005-08-18 13:38:19 +00001699 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001700 asn_MAP_ThreeOne_tag2el_1, /* Same as above */
Lev Walkinb85a8132005-08-18 13:38:19 +00001701 2, /* Count of tags in the CXER map */
1702 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -07001703 (const unsigned int *)asn_MAP_ThreeOne_mmap_1 /* Mandatory elements map */
Lev Walkinb85a8132005-08-18 13:38:19 +00001704};
1705asn_TYPE_descriptor_t asn_DEF_ThreeOne = {
1706 "ThreeOne",
1707 "ThreeOne",
1708 SET_free,
1709 SET_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -07001710 SET_compare,
Lev Walkinb85a8132005-08-18 13:38:19 +00001711 SET_constraint,
1712 SET_decode_ber,
1713 SET_encode_der,
1714 SET_decode_xer,
1715 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -07001716 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +04001717 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinb85a8132005-08-18 13:38:19 +00001718 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +00001719 asn_DEF_ThreeOne_tags_1,
1720 sizeof(asn_DEF_ThreeOne_tags_1)
1721 /sizeof(asn_DEF_ThreeOne_tags_1[0]), /* 1 */
1722 asn_DEF_ThreeOne_tags_1, /* Same as above */
1723 sizeof(asn_DEF_ThreeOne_tags_1)
1724 /sizeof(asn_DEF_ThreeOne_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +04001725 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +00001726 0, /* No PER visible constraints */
Lev Walkinb85a8132005-08-18 13:38:19 +00001727 asn_MBR_ThreeOne_1,
1728 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001729 &asn_SPC_ThreeOne_specs_1 /* Additional specs */
Lev Walkinb85a8132005-08-18 13:38:19 +00001730};
1731