blob: 91d09403d85ce79b6e5920c564c228cc4a5b6e98 [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 Walkin0bfea562017-09-29 23:16:48 -070036 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +000037 .default_value = 0,
Lev Walkina9cc46e2004-09-22 16:06:28 +000038 .name = ""
39 },
40};
Lev Walkina7591b52014-10-12 18:37:35 -070041static const ber_tlv_tag_t asn_DEF_Programming_tags_1[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000042 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
43};
Lev Walkin59b176e2005-11-26 11:25:14 +000044static asn_SET_OF_specifics_t asn_SPC_Programming_specs_1 = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000045 sizeof(struct Programming),
Lev Walkindfae9752004-09-29 13:19:37 +000046 offsetof(struct Programming, _asn_ctx),
Lev Walkina9cc46e2004-09-22 16:06:28 +000047 0, /* XER encoding is XMLDelimitedItemList */
48};
Lev Walkindfae9752004-09-29 13:19:37 +000049asn_TYPE_descriptor_t asn_DEF_Programming = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000050 "Programming",
Lev Walkindc06f6b2004-10-20 15:50:55 +000051 "Programming",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +080052 &asn_OP_SEQUENCE_OF,
Lev Walkin59b176e2005-11-26 11:25:14 +000053 asn_DEF_Programming_tags_1,
54 sizeof(asn_DEF_Programming_tags_1)
55 /sizeof(asn_DEF_Programming_tags_1[0]), /* 1 */
56 asn_DEF_Programming_tags_1, /* Same as above */
57 sizeof(asn_DEF_Programming_tags_1)
58 /sizeof(asn_DEF_Programming_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -070059 { 0, 0, SEQUENCE_OF_constraint },
Lev Walkine0272aa2005-03-04 11:26:08 +000060 asn_MBR_Programming_1,
Lev Walkina9cc46e2004-09-22 16:06:28 +000061 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +000062 &asn_SPC_Programming_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +000063};
64
65
66/*** <<< INCLUDES [Fault] >>> ***/
67
Lev Walkina9cc46e2004-09-22 16:06:28 +000068#include <asn_SET_OF.h>
69#include <constr_SET_OF.h>
70
Lev Walkinc8285712005-03-04 22:18:20 +000071/*** <<< FWD-DECLS [Fault] >>> ***/
Lev Walkina9cc46e2004-09-22 16:06:28 +000072
Lev Walkinbf56d542005-03-04 23:50:56 +000073struct Error;
Lev Walkina9cc46e2004-09-22 16:06:28 +000074
75/*** <<< TYPE-DECLS [Fault] >>> ***/
76
Lev Walkina9cc46e2004-09-22 16:06:28 +000077typedef struct Fault {
Lev Walkinc8285712005-03-04 22:18:20 +000078 A_SET_OF(struct Error) list;
Lev Walkina9cc46e2004-09-22 16:06:28 +000079
80 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +000081 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +000082} Fault_t;
83
Lev Walkinc8285712005-03-04 22:18:20 +000084/*** <<< FUNC-DECLS [Fault] >>> ***/
85
86extern asn_TYPE_descriptor_t asn_DEF_Fault;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080087extern asn_SET_OF_specifics_t asn_SPC_Fault_specs_1;
88extern asn_TYPE_member_t asn_MBR_Fault_1[1];
Lev Walkinc8285712005-03-04 22:18:20 +000089
90/*** <<< POST-INCLUDE [Fault] >>> ***/
91
Lev Walkin22b5ed42006-09-13 02:51:20 +000092#include "Error.h"
Lev Walkinc8285712005-03-04 22:18:20 +000093
Lev Walkina9cc46e2004-09-22 16:06:28 +000094/*** <<< STAT-DEFS [Fault] >>> ***/
95
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080096asn_TYPE_member_t asn_MBR_Fault_1[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +000097 { ATF_POINTER, 0, 0,
Lev Walkina9cc46e2004-09-22 16:06:28 +000098 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
99 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000100 .type = &asn_DEF_Error,
Lev Walkin67a30122017-08-10 05:48:54 -0700101 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700102 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000103 .default_value = 0,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000104 .name = ""
105 },
106};
Lev Walkina7591b52014-10-12 18:37:35 -0700107static const ber_tlv_tag_t asn_DEF_Fault_tags_1[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000108 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
109};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800110asn_SET_OF_specifics_t asn_SPC_Fault_specs_1 = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000111 sizeof(struct Fault),
Lev Walkindfae9752004-09-29 13:19:37 +0000112 offsetof(struct Fault, _asn_ctx),
Lev Walkina9cc46e2004-09-22 16:06:28 +0000113 0, /* XER encoding is XMLDelimitedItemList */
114};
Lev Walkindfae9752004-09-29 13:19:37 +0000115asn_TYPE_descriptor_t asn_DEF_Fault = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000116 "Fault",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000117 "Fault",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800118 &asn_OP_SET_OF,
Lev Walkin59b176e2005-11-26 11:25:14 +0000119 asn_DEF_Fault_tags_1,
120 sizeof(asn_DEF_Fault_tags_1)
121 /sizeof(asn_DEF_Fault_tags_1[0]), /* 1 */
122 asn_DEF_Fault_tags_1, /* Same as above */
123 sizeof(asn_DEF_Fault_tags_1)
124 /sizeof(asn_DEF_Fault_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700125 { 0, 0, SET_OF_constraint },
Lev Walkine0272aa2005-03-04 11:26:08 +0000126 asn_MBR_Fault_1,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000127 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000128 &asn_SPC_Fault_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000129};
130
131
132/*** <<< INCLUDES [Error] >>> ***/
133
134#include <constr_SEQUENCE.h>
135
Lev Walkina9cc46e2004-09-22 16:06:28 +0000136/*** <<< TYPE-DECLS [Error] >>> ***/
137
Lev Walkina9cc46e2004-09-22 16:06:28 +0000138typedef struct Error {
139 /*
140 * This type is extensible,
141 * possible extensions are below.
142 */
143
144 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +0000145 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +0000146} Error_t;
147
Lev Walkinc8285712005-03-04 22:18:20 +0000148/*** <<< FUNC-DECLS [Error] >>> ***/
149
150extern asn_TYPE_descriptor_t asn_DEF_Error;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800151extern asn_SEQUENCE_specifics_t asn_SPC_Error_specs_1;
Lev Walkinc8285712005-03-04 22:18:20 +0000152
Lev Walkina9cc46e2004-09-22 16:06:28 +0000153/*** <<< STAT-DEFS [Error] >>> ***/
154
Lev Walkina7591b52014-10-12 18:37:35 -0700155static const ber_tlv_tag_t asn_DEF_Error_tags_1[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000156 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
157};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800158asn_SEQUENCE_specifics_t asn_SPC_Error_specs_1 = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000159 sizeof(struct Error),
Lev Walkindfae9752004-09-29 13:19:37 +0000160 offsetof(struct Error, _asn_ctx),
Lev Walkinb3ee6a62005-05-27 21:58:41 +0000161 0, /* No top level tags */
162 0, /* No tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000163 0, 0, 0, /* Optional elements (not needed) */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000164 -1, /* Start extensions */
165 -1 /* Stop extensions */
166};
Lev Walkindfae9752004-09-29 13:19:37 +0000167asn_TYPE_descriptor_t asn_DEF_Error = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000168 "Error",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000169 "Error",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800170 &asn_OP_SEQUENCE,
Lev Walkin59b176e2005-11-26 11:25:14 +0000171 asn_DEF_Error_tags_1,
172 sizeof(asn_DEF_Error_tags_1)
173 /sizeof(asn_DEF_Error_tags_1[0]), /* 1 */
174 asn_DEF_Error_tags_1, /* Same as above */
175 sizeof(asn_DEF_Error_tags_1)
176 /sizeof(asn_DEF_Error_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700177 { 0, 0, SEQUENCE_constraint },
Lev Walkina9cc46e2004-09-22 16:06:28 +0000178 0, 0, /* No members */
Lev Walkin59b176e2005-11-26 11:25:14 +0000179 &asn_SPC_Error_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000180};
181
Lev Walkin1eded352006-07-13 11:19:01 +0000182
183/*** <<< INCLUDES [SeqWithMandatory] >>> ***/
184
185#include <UTF8String.h>
186#include <asn_SEQUENCE_OF.h>
187#include <constr_SEQUENCE_OF.h>
188#include <constr_SEQUENCE.h>
189
190/*** <<< FWD-DECLS [SeqWithMandatory] >>> ***/
191
192struct Error;
193
194/*** <<< TYPE-DECLS [SeqWithMandatory] >>> ***/
195
196typedef struct SeqWithMandatory {
197 UTF8String_t someString;
198 struct seqOfMan {
199 A_SEQUENCE_OF(struct Error) list;
200
201 /* Context for parsing across buffer boundaries */
202 asn_struct_ctx_t _asn_ctx;
203 } seqOfMan;
204
205 /* Context for parsing across buffer boundaries */
206 asn_struct_ctx_t _asn_ctx;
207} SeqWithMandatory_t;
208
209/*** <<< FUNC-DECLS [SeqWithMandatory] >>> ***/
210
211extern asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory;
212
213/*** <<< POST-INCLUDE [SeqWithMandatory] >>> ***/
214
Lev Walkin22b5ed42006-09-13 02:51:20 +0000215#include "Error.h"
Lev Walkin1eded352006-07-13 11:19:01 +0000216
217/*** <<< STAT-DEFS [SeqWithMandatory] >>> ***/
218
219static asn_TYPE_member_t asn_MBR_seqOfMan_3[] = {
220 { ATF_POINTER, 0, 0,
221 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
222 .tag_mode = 0,
223 .type = &asn_DEF_Error,
Lev Walkin67a30122017-08-10 05:48:54 -0700224 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700225 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin1eded352006-07-13 11:19:01 +0000226 .default_value = 0,
227 .name = ""
228 },
229};
Lev Walkina7591b52014-10-12 18:37:35 -0700230static const ber_tlv_tag_t asn_DEF_seqOfMan_tags_3[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000231 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
232 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
233};
234static asn_SET_OF_specifics_t asn_SPC_seqOfMan_specs_3 = {
235 sizeof(struct seqOfMan),
236 offsetof(struct seqOfMan, _asn_ctx),
237 0, /* XER encoding is XMLDelimitedItemList */
238};
239static /* Use -fall-defs-global to expose */
240asn_TYPE_descriptor_t asn_DEF_seqOfMan_3 = {
241 "seqOfMan",
242 "seqOfMan",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800243 &asn_OP_SEQUENCE_OF,
Lev Walkin1eded352006-07-13 11:19:01 +0000244 asn_DEF_seqOfMan_tags_3,
245 sizeof(asn_DEF_seqOfMan_tags_3)
246 /sizeof(asn_DEF_seqOfMan_tags_3[0]), /* 2 */
247 asn_DEF_seqOfMan_tags_3, /* Same as above */
248 sizeof(asn_DEF_seqOfMan_tags_3)
249 /sizeof(asn_DEF_seqOfMan_tags_3[0]), /* 2 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700250 { 0, 0, SEQUENCE_OF_constraint },
Lev Walkin1eded352006-07-13 11:19:01 +0000251 asn_MBR_seqOfMan_3,
252 1, /* Single element */
253 &asn_SPC_seqOfMan_specs_3 /* Additional specs */
254};
255
256static asn_TYPE_member_t asn_MBR_SeqWithMandatory_1[] = {
257 { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, someString),
258 .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
259 .tag_mode = 0,
260 .type = &asn_DEF_UTF8String,
Lev Walkin67a30122017-08-10 05:48:54 -0700261 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700262 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin1eded352006-07-13 11:19:01 +0000263 .default_value = 0,
264 .name = "someString"
265 },
266 { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, seqOfMan),
267 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000268 .tag_mode = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000269 .type = &asn_DEF_seqOfMan_3,
Lev Walkin67a30122017-08-10 05:48:54 -0700270 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700271 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin1eded352006-07-13 11:19:01 +0000272 .default_value = 0,
273 .name = "seqOfMan"
274 },
275};
Lev Walkina7591b52014-10-12 18:37:35 -0700276static const ber_tlv_tag_t asn_DEF_SeqWithMandatory_tags_1[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000277 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
278};
Lev Walkina7591b52014-10-12 18:37:35 -0700279static const asn_TYPE_tag2member_t asn_MAP_SeqWithMandatory_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700280 { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
281 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfMan */
Lev Walkin1eded352006-07-13 11:19:01 +0000282};
283static asn_SEQUENCE_specifics_t asn_SPC_SeqWithMandatory_specs_1 = {
284 sizeof(struct SeqWithMandatory),
285 offsetof(struct SeqWithMandatory, _asn_ctx),
Lev Walkine3917082017-08-23 10:29:38 -0700286 .tag2el = asn_MAP_SeqWithMandatory_tag2el_1,
287 .tag2el_count = 2, /* Count of tags in the map */
Lev Walkin1eded352006-07-13 11:19:01 +0000288 0, 0, 0, /* Optional elements (not needed) */
289 -1, /* Start extensions */
290 -1 /* Stop extensions */
291};
292asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory = {
293 "SeqWithMandatory",
294 "SeqWithMandatory",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800295 &asn_OP_SEQUENCE,
Lev Walkin1eded352006-07-13 11:19:01 +0000296 asn_DEF_SeqWithMandatory_tags_1,
297 sizeof(asn_DEF_SeqWithMandatory_tags_1)
298 /sizeof(asn_DEF_SeqWithMandatory_tags_1[0]), /* 1 */
299 asn_DEF_SeqWithMandatory_tags_1, /* Same as above */
300 sizeof(asn_DEF_SeqWithMandatory_tags_1)
301 /sizeof(asn_DEF_SeqWithMandatory_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700302 { 0, 0, SEQUENCE_constraint },
Lev Walkin1eded352006-07-13 11:19:01 +0000303 asn_MBR_SeqWithMandatory_1,
304 2, /* Elements count */
305 &asn_SPC_SeqWithMandatory_specs_1 /* Additional specs */
306};
307
308
309/*** <<< INCLUDES [SeqWithOptional] >>> ***/
310
311#include <UTF8String.h>
312#include <asn_SEQUENCE_OF.h>
313#include <constr_SEQUENCE_OF.h>
314#include <constr_SEQUENCE.h>
315
316/*** <<< FWD-DECLS [SeqWithOptional] >>> ***/
317
318struct Error;
319
320/*** <<< TYPE-DECLS [SeqWithOptional] >>> ***/
321
322typedef struct SeqWithOptional {
323 UTF8String_t someString;
324 struct seqOfOpt {
325 A_SEQUENCE_OF(struct Error) list;
326
327 /* Context for parsing across buffer boundaries */
328 asn_struct_ctx_t _asn_ctx;
329 } *seqOfOpt;
330
331 /* Context for parsing across buffer boundaries */
332 asn_struct_ctx_t _asn_ctx;
333} SeqWithOptional_t;
334
335/*** <<< FUNC-DECLS [SeqWithOptional] >>> ***/
336
337extern asn_TYPE_descriptor_t asn_DEF_SeqWithOptional;
338
339/*** <<< POST-INCLUDE [SeqWithOptional] >>> ***/
340
Lev Walkin22b5ed42006-09-13 02:51:20 +0000341#include "Error.h"
Lev Walkin1eded352006-07-13 11:19:01 +0000342
343/*** <<< STAT-DEFS [SeqWithOptional] >>> ***/
344
345static asn_TYPE_member_t asn_MBR_seqOfOpt_3[] = {
346 { ATF_POINTER, 0, 0,
347 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
348 .tag_mode = 0,
349 .type = &asn_DEF_Error,
Lev Walkin67a30122017-08-10 05:48:54 -0700350 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700351 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin1eded352006-07-13 11:19:01 +0000352 .default_value = 0,
353 .name = ""
354 },
355};
Lev Walkina7591b52014-10-12 18:37:35 -0700356static const ber_tlv_tag_t asn_DEF_seqOfOpt_tags_3[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000357 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
358 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
359};
360static asn_SET_OF_specifics_t asn_SPC_seqOfOpt_specs_3 = {
361 sizeof(struct seqOfOpt),
362 offsetof(struct seqOfOpt, _asn_ctx),
363 0, /* XER encoding is XMLDelimitedItemList */
364};
365static /* Use -fall-defs-global to expose */
366asn_TYPE_descriptor_t asn_DEF_seqOfOpt_3 = {
367 "seqOfOpt",
368 "seqOfOpt",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800369 &asn_OP_SEQUENCE_OF,
Lev Walkin1eded352006-07-13 11:19:01 +0000370 asn_DEF_seqOfOpt_tags_3,
371 sizeof(asn_DEF_seqOfOpt_tags_3)
372 /sizeof(asn_DEF_seqOfOpt_tags_3[0]), /* 2 */
373 asn_DEF_seqOfOpt_tags_3, /* Same as above */
374 sizeof(asn_DEF_seqOfOpt_tags_3)
375 /sizeof(asn_DEF_seqOfOpt_tags_3[0]), /* 2 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700376 { 0, 0, SEQUENCE_OF_constraint },
Lev Walkin1eded352006-07-13 11:19:01 +0000377 asn_MBR_seqOfOpt_3,
378 1, /* Single element */
379 &asn_SPC_seqOfOpt_specs_3 /* Additional specs */
380};
381
382static asn_TYPE_member_t asn_MBR_SeqWithOptional_1[] = {
383 { ATF_NOFLAGS, 0, offsetof(struct SeqWithOptional, someString),
384 .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
385 .tag_mode = 0,
386 .type = &asn_DEF_UTF8String,
Lev Walkin67a30122017-08-10 05:48:54 -0700387 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700388 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin1eded352006-07-13 11:19:01 +0000389 .default_value = 0,
390 .name = "someString"
391 },
392 { ATF_POINTER, 1, offsetof(struct SeqWithOptional, seqOfOpt),
393 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000394 .tag_mode = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000395 .type = &asn_DEF_seqOfOpt_3,
Lev Walkin67a30122017-08-10 05:48:54 -0700396 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700397 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin1eded352006-07-13 11:19:01 +0000398 .default_value = 0,
399 .name = "seqOfOpt"
400 },
401};
Lev Walkina7591b52014-10-12 18:37:35 -0700402static const ber_tlv_tag_t asn_DEF_SeqWithOptional_tags_1[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000403 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
404};
Lev Walkina7591b52014-10-12 18:37:35 -0700405static const asn_TYPE_tag2member_t asn_MAP_SeqWithOptional_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700406 { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
407 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfOpt */
Lev Walkin1eded352006-07-13 11:19:01 +0000408};
409static asn_SEQUENCE_specifics_t asn_SPC_SeqWithOptional_specs_1 = {
410 sizeof(struct SeqWithOptional),
411 offsetof(struct SeqWithOptional, _asn_ctx),
Lev Walkine3917082017-08-23 10:29:38 -0700412 .tag2el = asn_MAP_SeqWithOptional_tag2el_1,
413 .tag2el_count = 2, /* Count of tags in the map */
Lev Walkin1eded352006-07-13 11:19:01 +0000414 0, 0, 0, /* Optional elements (not needed) */
415 -1, /* Start extensions */
416 -1 /* Stop extensions */
417};
418asn_TYPE_descriptor_t asn_DEF_SeqWithOptional = {
419 "SeqWithOptional",
420 "SeqWithOptional",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800421 &asn_OP_SEQUENCE,
Lev Walkin1eded352006-07-13 11:19:01 +0000422 asn_DEF_SeqWithOptional_tags_1,
423 sizeof(asn_DEF_SeqWithOptional_tags_1)
424 /sizeof(asn_DEF_SeqWithOptional_tags_1[0]), /* 1 */
425 asn_DEF_SeqWithOptional_tags_1, /* Same as above */
426 sizeof(asn_DEF_SeqWithOptional_tags_1)
427 /sizeof(asn_DEF_SeqWithOptional_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700428 { 0, 0, SEQUENCE_constraint },
Lev Walkin1eded352006-07-13 11:19:01 +0000429 asn_MBR_SeqWithOptional_1,
430 2, /* Elements count */
431 &asn_SPC_SeqWithOptional_specs_1 /* Additional specs */
432};
433