blob: 876dcda55789dc57846bd39febb633bdacb068d1 [file] [log] [blame]
Lev Walkina9cc46e2004-09-22 16:06:28 +00001
2/*** <<< INCLUDES [Programming] >>> ***/
3
Lev Walkina9cc46e2004-09-22 16:06:28 +00004#include <asn_SEQUENCE_OF.h>
5#include <constr_SEQUENCE_OF.h>
6
Lev Walkinc8285712005-03-04 22:18:20 +00007/*** <<< FWD-DECLS [Programming] >>> ***/
Lev Walkina9cc46e2004-09-22 16:06:28 +00008
Lev Walkinbf56d542005-03-04 23:50:56 +00009struct Fault;
Lev Walkina9cc46e2004-09-22 16:06:28 +000010
11/*** <<< TYPE-DECLS [Programming] >>> ***/
12
Lev Walkina9cc46e2004-09-22 16:06:28 +000013typedef struct Programming {
Lev Walkinc8285712005-03-04 22:18:20 +000014 A_SEQUENCE_OF(struct Fault) list;
Lev Walkina9cc46e2004-09-22 16:06:28 +000015
16 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +000017 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +000018} Programming_t;
19
Lev Walkinc8285712005-03-04 22:18:20 +000020/*** <<< FUNC-DECLS [Programming] >>> ***/
21
22extern asn_TYPE_descriptor_t asn_DEF_Programming;
23
24/*** <<< POST-INCLUDE [Programming] >>> ***/
25
Lev Walkin22b5ed42006-09-13 02:51:20 +000026#include "Fault.h"
Lev Walkinc8285712005-03-04 22:18:20 +000027
Lev Walkina9cc46e2004-09-22 16:06:28 +000028/*** <<< STAT-DEFS [Programming] >>> ***/
29
Lev Walkine0272aa2005-03-04 11:26:08 +000030static asn_TYPE_member_t asn_MBR_Programming_1[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +000031 { ATF_POINTER, 0, 0,
Lev Walkina9cc46e2004-09-22 16:06:28 +000032 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
33 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +000034 .type = &asn_DEF_Fault,
Lev Walkin67a30122017-08-10 05:48:54 -070035 .type_selector = 0,
Lev Walkinba58e1b2005-01-17 12:20:19 +000036 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040037 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000038 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
39 .default_value = 0,
Lev Walkina9cc46e2004-09-22 16:06:28 +000040 .name = ""
41 },
42};
Lev Walkina7591b52014-10-12 18:37:35 -070043static const ber_tlv_tag_t asn_DEF_Programming_tags_1[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000044 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
45};
Lev Walkin59b176e2005-11-26 11:25:14 +000046static asn_SET_OF_specifics_t asn_SPC_Programming_specs_1 = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000047 sizeof(struct Programming),
Lev Walkindfae9752004-09-29 13:19:37 +000048 offsetof(struct Programming, _asn_ctx),
Lev Walkina9cc46e2004-09-22 16:06:28 +000049 0, /* XER encoding is XMLDelimitedItemList */
50};
Lev Walkindfae9752004-09-29 13:19:37 +000051asn_TYPE_descriptor_t asn_DEF_Programming = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000052 "Programming",
Lev Walkindc06f6b2004-10-20 15:50:55 +000053 "Programming",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +080054 &asn_OP_SEQUENCE_OF,
Lev Walkina9cc46e2004-09-22 16:06:28 +000055 SEQUENCE_OF_constraint,
Lev Walkin59b176e2005-11-26 11:25:14 +000056 asn_DEF_Programming_tags_1,
57 sizeof(asn_DEF_Programming_tags_1)
58 /sizeof(asn_DEF_Programming_tags_1[0]), /* 1 */
59 asn_DEF_Programming_tags_1, /* Same as above */
60 sizeof(asn_DEF_Programming_tags_1)
61 /sizeof(asn_DEF_Programming_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +040062 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +000063 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +000064 asn_MBR_Programming_1,
Lev Walkina9cc46e2004-09-22 16:06:28 +000065 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +000066 &asn_SPC_Programming_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +000067};
68
69
70/*** <<< INCLUDES [Fault] >>> ***/
71
Lev Walkina9cc46e2004-09-22 16:06:28 +000072#include <asn_SET_OF.h>
73#include <constr_SET_OF.h>
74
Lev Walkinc8285712005-03-04 22:18:20 +000075/*** <<< FWD-DECLS [Fault] >>> ***/
Lev Walkina9cc46e2004-09-22 16:06:28 +000076
Lev Walkinbf56d542005-03-04 23:50:56 +000077struct Error;
Lev Walkina9cc46e2004-09-22 16:06:28 +000078
79/*** <<< TYPE-DECLS [Fault] >>> ***/
80
Lev Walkina9cc46e2004-09-22 16:06:28 +000081typedef struct Fault {
Lev Walkinc8285712005-03-04 22:18:20 +000082 A_SET_OF(struct Error) list;
Lev Walkina9cc46e2004-09-22 16:06:28 +000083
84 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +000085 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +000086} Fault_t;
87
Lev Walkinc8285712005-03-04 22:18:20 +000088/*** <<< FUNC-DECLS [Fault] >>> ***/
89
90extern asn_TYPE_descriptor_t asn_DEF_Fault;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080091extern asn_SET_OF_specifics_t asn_SPC_Fault_specs_1;
92extern asn_TYPE_member_t asn_MBR_Fault_1[1];
Lev Walkinc8285712005-03-04 22:18:20 +000093
94/*** <<< POST-INCLUDE [Fault] >>> ***/
95
Lev Walkin22b5ed42006-09-13 02:51:20 +000096#include "Error.h"
Lev Walkinc8285712005-03-04 22:18:20 +000097
Lev Walkina9cc46e2004-09-22 16:06:28 +000098/*** <<< STAT-DEFS [Fault] >>> ***/
99
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800100asn_TYPE_member_t asn_MBR_Fault_1[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +0000101 { ATF_POINTER, 0, 0,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000102 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
103 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000104 .type = &asn_DEF_Error,
Lev Walkin67a30122017-08-10 05:48:54 -0700105 .type_selector = 0,
Lev Walkinba58e1b2005-01-17 12:20: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 Walkina9cc46e2004-09-22 16:06:28 +0000110 .name = ""
111 },
112};
Lev Walkina7591b52014-10-12 18:37:35 -0700113static const ber_tlv_tag_t asn_DEF_Fault_tags_1[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000114 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
115};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800116asn_SET_OF_specifics_t asn_SPC_Fault_specs_1 = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000117 sizeof(struct Fault),
Lev Walkindfae9752004-09-29 13:19:37 +0000118 offsetof(struct Fault, _asn_ctx),
Lev Walkina9cc46e2004-09-22 16:06:28 +0000119 0, /* XER encoding is XMLDelimitedItemList */
120};
Lev Walkindfae9752004-09-29 13:19:37 +0000121asn_TYPE_descriptor_t asn_DEF_Fault = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000122 "Fault",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000123 "Fault",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800124 &asn_OP_SET_OF,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000125 SET_OF_constraint,
Lev Walkin59b176e2005-11-26 11:25:14 +0000126 asn_DEF_Fault_tags_1,
127 sizeof(asn_DEF_Fault_tags_1)
128 /sizeof(asn_DEF_Fault_tags_1[0]), /* 1 */
129 asn_DEF_Fault_tags_1, /* Same as above */
130 sizeof(asn_DEF_Fault_tags_1)
131 /sizeof(asn_DEF_Fault_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400132 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000133 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000134 asn_MBR_Fault_1,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000135 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000136 &asn_SPC_Fault_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000137};
138
139
140/*** <<< INCLUDES [Error] >>> ***/
141
142#include <constr_SEQUENCE.h>
143
Lev Walkina9cc46e2004-09-22 16:06:28 +0000144/*** <<< TYPE-DECLS [Error] >>> ***/
145
Lev Walkina9cc46e2004-09-22 16:06:28 +0000146typedef struct Error {
147 /*
148 * This type is extensible,
149 * possible extensions are below.
150 */
151
152 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +0000153 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +0000154} Error_t;
155
Lev Walkinc8285712005-03-04 22:18:20 +0000156/*** <<< FUNC-DECLS [Error] >>> ***/
157
158extern asn_TYPE_descriptor_t asn_DEF_Error;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800159extern asn_SEQUENCE_specifics_t asn_SPC_Error_specs_1;
Lev Walkinc8285712005-03-04 22:18:20 +0000160
Lev Walkina9cc46e2004-09-22 16:06:28 +0000161/*** <<< STAT-DEFS [Error] >>> ***/
162
Lev Walkina7591b52014-10-12 18:37:35 -0700163static const ber_tlv_tag_t asn_DEF_Error_tags_1[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000164 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
165};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800166asn_SEQUENCE_specifics_t asn_SPC_Error_specs_1 = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000167 sizeof(struct Error),
Lev Walkindfae9752004-09-29 13:19:37 +0000168 offsetof(struct Error, _asn_ctx),
Lev Walkinb3ee6a62005-05-27 21:58:41 +0000169 0, /* No top level tags */
170 0, /* No tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000171 0, 0, 0, /* Optional elements (not needed) */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000172 -1, /* Start extensions */
173 -1 /* Stop extensions */
174};
Lev Walkindfae9752004-09-29 13:19:37 +0000175asn_TYPE_descriptor_t asn_DEF_Error = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000176 "Error",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000177 "Error",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800178 &asn_OP_SEQUENCE,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000179 SEQUENCE_constraint,
Lev Walkin59b176e2005-11-26 11:25:14 +0000180 asn_DEF_Error_tags_1,
181 sizeof(asn_DEF_Error_tags_1)
182 /sizeof(asn_DEF_Error_tags_1[0]), /* 1 */
183 asn_DEF_Error_tags_1, /* Same as above */
184 sizeof(asn_DEF_Error_tags_1)
185 /sizeof(asn_DEF_Error_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400186 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000187 0, /* No PER visible constraints */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000188 0, 0, /* No members */
Lev Walkin59b176e2005-11-26 11:25:14 +0000189 &asn_SPC_Error_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000190};
191
Lev Walkin1eded352006-07-13 11:19:01 +0000192
193/*** <<< INCLUDES [SeqWithMandatory] >>> ***/
194
195#include <UTF8String.h>
196#include <asn_SEQUENCE_OF.h>
197#include <constr_SEQUENCE_OF.h>
198#include <constr_SEQUENCE.h>
199
200/*** <<< FWD-DECLS [SeqWithMandatory] >>> ***/
201
202struct Error;
203
204/*** <<< TYPE-DECLS [SeqWithMandatory] >>> ***/
205
206typedef struct SeqWithMandatory {
207 UTF8String_t someString;
208 struct seqOfMan {
209 A_SEQUENCE_OF(struct Error) list;
210
211 /* Context for parsing across buffer boundaries */
212 asn_struct_ctx_t _asn_ctx;
213 } seqOfMan;
214
215 /* Context for parsing across buffer boundaries */
216 asn_struct_ctx_t _asn_ctx;
217} SeqWithMandatory_t;
218
219/*** <<< FUNC-DECLS [SeqWithMandatory] >>> ***/
220
221extern asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory;
222
223/*** <<< POST-INCLUDE [SeqWithMandatory] >>> ***/
224
Lev Walkin22b5ed42006-09-13 02:51:20 +0000225#include "Error.h"
Lev Walkin1eded352006-07-13 11:19:01 +0000226
227/*** <<< STAT-DEFS [SeqWithMandatory] >>> ***/
228
229static asn_TYPE_member_t asn_MBR_seqOfMan_3[] = {
230 { ATF_POINTER, 0, 0,
231 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
232 .tag_mode = 0,
233 .type = &asn_DEF_Error,
Lev Walkin67a30122017-08-10 05:48:54 -0700234 .type_selector = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000235 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400236 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin1eded352006-07-13 11:19:01 +0000237 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
238 .default_value = 0,
239 .name = ""
240 },
241};
Lev Walkina7591b52014-10-12 18:37:35 -0700242static const ber_tlv_tag_t asn_DEF_seqOfMan_tags_3[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000243 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
244 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
245};
246static asn_SET_OF_specifics_t asn_SPC_seqOfMan_specs_3 = {
247 sizeof(struct seqOfMan),
248 offsetof(struct seqOfMan, _asn_ctx),
249 0, /* XER encoding is XMLDelimitedItemList */
250};
251static /* Use -fall-defs-global to expose */
252asn_TYPE_descriptor_t asn_DEF_seqOfMan_3 = {
253 "seqOfMan",
254 "seqOfMan",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800255 &asn_OP_SEQUENCE_OF,
Lev Walkin1eded352006-07-13 11:19:01 +0000256 SEQUENCE_OF_constraint,
Lev Walkin1eded352006-07-13 11:19:01 +0000257 asn_DEF_seqOfMan_tags_3,
258 sizeof(asn_DEF_seqOfMan_tags_3)
259 /sizeof(asn_DEF_seqOfMan_tags_3[0]), /* 2 */
260 asn_DEF_seqOfMan_tags_3, /* Same as above */
261 sizeof(asn_DEF_seqOfMan_tags_3)
262 /sizeof(asn_DEF_seqOfMan_tags_3[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400263 0, /* No OER visible constraints */
Lev Walkin1eded352006-07-13 11:19:01 +0000264 0, /* No PER visible constraints */
265 asn_MBR_seqOfMan_3,
266 1, /* Single element */
267 &asn_SPC_seqOfMan_specs_3 /* Additional specs */
268};
269
270static asn_TYPE_member_t asn_MBR_SeqWithMandatory_1[] = {
271 { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, someString),
272 .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
273 .tag_mode = 0,
274 .type = &asn_DEF_UTF8String,
Lev Walkin67a30122017-08-10 05:48:54 -0700275 .type_selector = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000276 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400277 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin1eded352006-07-13 11:19:01 +0000278 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
279 .default_value = 0,
280 .name = "someString"
281 },
282 { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, seqOfMan),
283 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000284 .tag_mode = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000285 .type = &asn_DEF_seqOfMan_3,
Lev Walkin67a30122017-08-10 05:48:54 -0700286 .type_selector = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000287 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400288 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin1eded352006-07-13 11:19:01 +0000289 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
290 .default_value = 0,
291 .name = "seqOfMan"
292 },
293};
Lev Walkina7591b52014-10-12 18:37:35 -0700294static const ber_tlv_tag_t asn_DEF_SeqWithMandatory_tags_1[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000295 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
296};
Lev Walkina7591b52014-10-12 18:37:35 -0700297static const asn_TYPE_tag2member_t asn_MAP_SeqWithMandatory_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700298 { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
299 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfMan */
Lev Walkin1eded352006-07-13 11:19:01 +0000300};
301static asn_SEQUENCE_specifics_t asn_SPC_SeqWithMandatory_specs_1 = {
302 sizeof(struct SeqWithMandatory),
303 offsetof(struct SeqWithMandatory, _asn_ctx),
Lev Walkine3917082017-08-23 10:29:38 -0700304 .tag2el = asn_MAP_SeqWithMandatory_tag2el_1,
305 .tag2el_count = 2, /* Count of tags in the map */
Lev Walkin1eded352006-07-13 11:19:01 +0000306 0, 0, 0, /* Optional elements (not needed) */
307 -1, /* Start extensions */
308 -1 /* Stop extensions */
309};
310asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory = {
311 "SeqWithMandatory",
312 "SeqWithMandatory",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800313 &asn_OP_SEQUENCE,
Lev Walkin1eded352006-07-13 11:19:01 +0000314 SEQUENCE_constraint,
Lev Walkin1eded352006-07-13 11:19:01 +0000315 asn_DEF_SeqWithMandatory_tags_1,
316 sizeof(asn_DEF_SeqWithMandatory_tags_1)
317 /sizeof(asn_DEF_SeqWithMandatory_tags_1[0]), /* 1 */
318 asn_DEF_SeqWithMandatory_tags_1, /* Same as above */
319 sizeof(asn_DEF_SeqWithMandatory_tags_1)
320 /sizeof(asn_DEF_SeqWithMandatory_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400321 0, /* No OER visible constraints */
Lev Walkin1eded352006-07-13 11:19:01 +0000322 0, /* No PER visible constraints */
323 asn_MBR_SeqWithMandatory_1,
324 2, /* Elements count */
325 &asn_SPC_SeqWithMandatory_specs_1 /* Additional specs */
326};
327
328
329/*** <<< INCLUDES [SeqWithOptional] >>> ***/
330
331#include <UTF8String.h>
332#include <asn_SEQUENCE_OF.h>
333#include <constr_SEQUENCE_OF.h>
334#include <constr_SEQUENCE.h>
335
336/*** <<< FWD-DECLS [SeqWithOptional] >>> ***/
337
338struct Error;
339
340/*** <<< TYPE-DECLS [SeqWithOptional] >>> ***/
341
342typedef struct SeqWithOptional {
343 UTF8String_t someString;
344 struct seqOfOpt {
345 A_SEQUENCE_OF(struct Error) list;
346
347 /* Context for parsing across buffer boundaries */
348 asn_struct_ctx_t _asn_ctx;
349 } *seqOfOpt;
350
351 /* Context for parsing across buffer boundaries */
352 asn_struct_ctx_t _asn_ctx;
353} SeqWithOptional_t;
354
355/*** <<< FUNC-DECLS [SeqWithOptional] >>> ***/
356
357extern asn_TYPE_descriptor_t asn_DEF_SeqWithOptional;
358
359/*** <<< POST-INCLUDE [SeqWithOptional] >>> ***/
360
Lev Walkin22b5ed42006-09-13 02:51:20 +0000361#include "Error.h"
Lev Walkin1eded352006-07-13 11:19:01 +0000362
363/*** <<< STAT-DEFS [SeqWithOptional] >>> ***/
364
365static asn_TYPE_member_t asn_MBR_seqOfOpt_3[] = {
366 { ATF_POINTER, 0, 0,
367 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
368 .tag_mode = 0,
369 .type = &asn_DEF_Error,
Lev Walkin67a30122017-08-10 05:48:54 -0700370 .type_selector = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000371 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400372 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin1eded352006-07-13 11:19:01 +0000373 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
374 .default_value = 0,
375 .name = ""
376 },
377};
Lev Walkina7591b52014-10-12 18:37:35 -0700378static const ber_tlv_tag_t asn_DEF_seqOfOpt_tags_3[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000379 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
380 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
381};
382static asn_SET_OF_specifics_t asn_SPC_seqOfOpt_specs_3 = {
383 sizeof(struct seqOfOpt),
384 offsetof(struct seqOfOpt, _asn_ctx),
385 0, /* XER encoding is XMLDelimitedItemList */
386};
387static /* Use -fall-defs-global to expose */
388asn_TYPE_descriptor_t asn_DEF_seqOfOpt_3 = {
389 "seqOfOpt",
390 "seqOfOpt",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800391 &asn_OP_SEQUENCE_OF,
Lev Walkin1eded352006-07-13 11:19:01 +0000392 SEQUENCE_OF_constraint,
Lev Walkin1eded352006-07-13 11:19:01 +0000393 asn_DEF_seqOfOpt_tags_3,
394 sizeof(asn_DEF_seqOfOpt_tags_3)
395 /sizeof(asn_DEF_seqOfOpt_tags_3[0]), /* 2 */
396 asn_DEF_seqOfOpt_tags_3, /* Same as above */
397 sizeof(asn_DEF_seqOfOpt_tags_3)
398 /sizeof(asn_DEF_seqOfOpt_tags_3[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400399 0, /* No OER visible constraints */
Lev Walkin1eded352006-07-13 11:19:01 +0000400 0, /* No PER visible constraints */
401 asn_MBR_seqOfOpt_3,
402 1, /* Single element */
403 &asn_SPC_seqOfOpt_specs_3 /* Additional specs */
404};
405
406static asn_TYPE_member_t asn_MBR_SeqWithOptional_1[] = {
407 { ATF_NOFLAGS, 0, offsetof(struct SeqWithOptional, someString),
408 .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
409 .tag_mode = 0,
410 .type = &asn_DEF_UTF8String,
Lev Walkin67a30122017-08-10 05:48:54 -0700411 .type_selector = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000412 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400413 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin1eded352006-07-13 11:19:01 +0000414 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
415 .default_value = 0,
416 .name = "someString"
417 },
418 { ATF_POINTER, 1, offsetof(struct SeqWithOptional, seqOfOpt),
419 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000420 .tag_mode = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000421 .type = &asn_DEF_seqOfOpt_3,
Lev Walkin67a30122017-08-10 05:48:54 -0700422 .type_selector = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000423 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400424 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin1eded352006-07-13 11:19:01 +0000425 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
426 .default_value = 0,
427 .name = "seqOfOpt"
428 },
429};
Lev Walkina7591b52014-10-12 18:37:35 -0700430static const ber_tlv_tag_t asn_DEF_SeqWithOptional_tags_1[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000431 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
432};
Lev Walkina7591b52014-10-12 18:37:35 -0700433static const asn_TYPE_tag2member_t asn_MAP_SeqWithOptional_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700434 { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
435 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfOpt */
Lev Walkin1eded352006-07-13 11:19:01 +0000436};
437static asn_SEQUENCE_specifics_t asn_SPC_SeqWithOptional_specs_1 = {
438 sizeof(struct SeqWithOptional),
439 offsetof(struct SeqWithOptional, _asn_ctx),
Lev Walkine3917082017-08-23 10:29:38 -0700440 .tag2el = asn_MAP_SeqWithOptional_tag2el_1,
441 .tag2el_count = 2, /* Count of tags in the map */
Lev Walkin1eded352006-07-13 11:19:01 +0000442 0, 0, 0, /* Optional elements (not needed) */
443 -1, /* Start extensions */
444 -1 /* Stop extensions */
445};
446asn_TYPE_descriptor_t asn_DEF_SeqWithOptional = {
447 "SeqWithOptional",
448 "SeqWithOptional",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800449 &asn_OP_SEQUENCE,
Lev Walkin1eded352006-07-13 11:19:01 +0000450 SEQUENCE_constraint,
Lev Walkin1eded352006-07-13 11:19:01 +0000451 asn_DEF_SeqWithOptional_tags_1,
452 sizeof(asn_DEF_SeqWithOptional_tags_1)
453 /sizeof(asn_DEF_SeqWithOptional_tags_1[0]), /* 1 */
454 asn_DEF_SeqWithOptional_tags_1, /* Same as above */
455 sizeof(asn_DEF_SeqWithOptional_tags_1)
456 /sizeof(asn_DEF_SeqWithOptional_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400457 0, /* No OER visible constraints */
Lev Walkin1eded352006-07-13 11:19:01 +0000458 0, /* No PER visible constraints */
459 asn_MBR_SeqWithOptional_1,
460 2, /* Elements count */
461 &asn_SPC_SeqWithOptional_specs_1 /* Additional specs */
462};
463