blob: a6c3106711e469d85c95db28b35b7e7487341ef6 [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 Walkinba58e1b2005-01-17 12:20:19 +000035 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkin59b176e2005-11-26 11:25:14 +000036 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
37 .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",
Lev Walkina9cc46e2004-09-22 16:06:28 +000052 SEQUENCE_OF_free,
53 SEQUENCE_OF_print,
54 SEQUENCE_OF_constraint,
55 SEQUENCE_OF_decode_ber,
56 SEQUENCE_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +000057 SEQUENCE_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +000058 SEQUENCE_OF_encode_xer,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +000059 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina9cc46e2004-09-22 16:06:28 +000060 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +000061 asn_DEF_Programming_tags_1,
62 sizeof(asn_DEF_Programming_tags_1)
63 /sizeof(asn_DEF_Programming_tags_1[0]), /* 1 */
64 asn_DEF_Programming_tags_1, /* Same as above */
65 sizeof(asn_DEF_Programming_tags_1)
66 /sizeof(asn_DEF_Programming_tags_1[0]), /* 1 */
67 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +000068 asn_MBR_Programming_1,
Lev Walkina9cc46e2004-09-22 16:06:28 +000069 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +000070 &asn_SPC_Programming_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +000071};
72
73
74/*** <<< INCLUDES [Fault] >>> ***/
75
Lev Walkina9cc46e2004-09-22 16:06:28 +000076#include <asn_SET_OF.h>
77#include <constr_SET_OF.h>
78
Lev Walkinc8285712005-03-04 22:18:20 +000079/*** <<< FWD-DECLS [Fault] >>> ***/
Lev Walkina9cc46e2004-09-22 16:06:28 +000080
Lev Walkinbf56d542005-03-04 23:50:56 +000081struct Error;
Lev Walkina9cc46e2004-09-22 16:06:28 +000082
83/*** <<< TYPE-DECLS [Fault] >>> ***/
84
Lev Walkina9cc46e2004-09-22 16:06:28 +000085typedef struct Fault {
Lev Walkinc8285712005-03-04 22:18:20 +000086 A_SET_OF(struct Error) list;
Lev Walkina9cc46e2004-09-22 16:06:28 +000087
88 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +000089 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +000090} Fault_t;
91
Lev Walkinc8285712005-03-04 22:18:20 +000092/*** <<< FUNC-DECLS [Fault] >>> ***/
93
94extern asn_TYPE_descriptor_t asn_DEF_Fault;
95
96/*** <<< POST-INCLUDE [Fault] >>> ***/
97
Lev Walkin22b5ed42006-09-13 02:51:20 +000098#include "Error.h"
Lev Walkinc8285712005-03-04 22:18:20 +000099
Lev Walkina9cc46e2004-09-22 16:06:28 +0000100/*** <<< STAT-DEFS [Fault] >>> ***/
101
Lev Walkine0272aa2005-03-04 11:26:08 +0000102static asn_TYPE_member_t asn_MBR_Fault_1[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +0000103 { ATF_POINTER, 0, 0,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000104 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
105 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000106 .type = &asn_DEF_Error,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000107 .memb_constraints = 0, /* Defer constraints checking to the member type */
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};
Lev Walkin59b176e2005-11-26 11:25:14 +0000116static asn_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",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000124 SET_OF_free,
125 SET_OF_print,
126 SET_OF_constraint,
127 SET_OF_decode_ber,
128 SET_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000129 SET_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000130 SET_OF_encode_xer,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000131 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000132 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000133 asn_DEF_Fault_tags_1,
134 sizeof(asn_DEF_Fault_tags_1)
135 /sizeof(asn_DEF_Fault_tags_1[0]), /* 1 */
136 asn_DEF_Fault_tags_1, /* Same as above */
137 sizeof(asn_DEF_Fault_tags_1)
138 /sizeof(asn_DEF_Fault_tags_1[0]), /* 1 */
139 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000140 asn_MBR_Fault_1,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000141 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000142 &asn_SPC_Fault_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000143};
144
145
146/*** <<< INCLUDES [Error] >>> ***/
147
148#include <constr_SEQUENCE.h>
149
Lev Walkina9cc46e2004-09-22 16:06:28 +0000150/*** <<< TYPE-DECLS [Error] >>> ***/
151
Lev Walkina9cc46e2004-09-22 16:06:28 +0000152typedef struct Error {
153 /*
154 * This type is extensible,
155 * possible extensions are below.
156 */
157
158 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +0000159 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +0000160} Error_t;
161
Lev Walkinc8285712005-03-04 22:18:20 +0000162/*** <<< FUNC-DECLS [Error] >>> ***/
163
164extern asn_TYPE_descriptor_t asn_DEF_Error;
165
Lev Walkina9cc46e2004-09-22 16:06:28 +0000166/*** <<< STAT-DEFS [Error] >>> ***/
167
Lev Walkina7591b52014-10-12 18:37:35 -0700168static const ber_tlv_tag_t asn_DEF_Error_tags_1[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000169 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
170};
Lev Walkin59b176e2005-11-26 11:25:14 +0000171static asn_SEQUENCE_specifics_t asn_SPC_Error_specs_1 = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000172 sizeof(struct Error),
Lev Walkindfae9752004-09-29 13:19:37 +0000173 offsetof(struct Error, _asn_ctx),
Lev Walkinb3ee6a62005-05-27 21:58:41 +0000174 0, /* No top level tags */
175 0, /* No tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000176 0, 0, 0, /* Optional elements (not needed) */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000177 -1, /* Start extensions */
178 -1 /* Stop extensions */
179};
Lev Walkindfae9752004-09-29 13:19:37 +0000180asn_TYPE_descriptor_t asn_DEF_Error = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000181 "Error",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000182 "Error",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000183 SEQUENCE_free,
184 SEQUENCE_print,
185 SEQUENCE_constraint,
186 SEQUENCE_decode_ber,
187 SEQUENCE_encode_der,
Lev Walkin61b40d82004-10-23 15:07:45 +0000188 SEQUENCE_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000189 SEQUENCE_encode_xer,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000190 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000191 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000192 asn_DEF_Error_tags_1,
193 sizeof(asn_DEF_Error_tags_1)
194 /sizeof(asn_DEF_Error_tags_1[0]), /* 1 */
195 asn_DEF_Error_tags_1, /* Same as above */
196 sizeof(asn_DEF_Error_tags_1)
197 /sizeof(asn_DEF_Error_tags_1[0]), /* 1 */
198 0, /* No PER visible constraints */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000199 0, 0, /* No members */
Lev Walkin59b176e2005-11-26 11:25:14 +0000200 &asn_SPC_Error_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000201};
202
Lev Walkin1eded352006-07-13 11:19:01 +0000203
204/*** <<< INCLUDES [SeqWithMandatory] >>> ***/
205
206#include <UTF8String.h>
207#include <asn_SEQUENCE_OF.h>
208#include <constr_SEQUENCE_OF.h>
209#include <constr_SEQUENCE.h>
210
211/*** <<< FWD-DECLS [SeqWithMandatory] >>> ***/
212
213struct Error;
214
215/*** <<< TYPE-DECLS [SeqWithMandatory] >>> ***/
216
217typedef struct SeqWithMandatory {
218 UTF8String_t someString;
219 struct seqOfMan {
220 A_SEQUENCE_OF(struct Error) list;
221
222 /* Context for parsing across buffer boundaries */
223 asn_struct_ctx_t _asn_ctx;
224 } seqOfMan;
225
226 /* Context for parsing across buffer boundaries */
227 asn_struct_ctx_t _asn_ctx;
228} SeqWithMandatory_t;
229
230/*** <<< FUNC-DECLS [SeqWithMandatory] >>> ***/
231
232extern asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory;
233
234/*** <<< POST-INCLUDE [SeqWithMandatory] >>> ***/
235
Lev Walkin22b5ed42006-09-13 02:51:20 +0000236#include "Error.h"
Lev Walkin1eded352006-07-13 11:19:01 +0000237
238/*** <<< STAT-DEFS [SeqWithMandatory] >>> ***/
239
240static asn_TYPE_member_t asn_MBR_seqOfMan_3[] = {
241 { ATF_POINTER, 0, 0,
242 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
243 .tag_mode = 0,
244 .type = &asn_DEF_Error,
245 .memb_constraints = 0, /* Defer constraints checking to the member type */
246 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
247 .default_value = 0,
248 .name = ""
249 },
250};
Lev Walkina7591b52014-10-12 18:37:35 -0700251static const ber_tlv_tag_t asn_DEF_seqOfMan_tags_3[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000252 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
253 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
254};
255static asn_SET_OF_specifics_t asn_SPC_seqOfMan_specs_3 = {
256 sizeof(struct seqOfMan),
257 offsetof(struct seqOfMan, _asn_ctx),
258 0, /* XER encoding is XMLDelimitedItemList */
259};
260static /* Use -fall-defs-global to expose */
261asn_TYPE_descriptor_t asn_DEF_seqOfMan_3 = {
262 "seqOfMan",
263 "seqOfMan",
264 SEQUENCE_OF_free,
265 SEQUENCE_OF_print,
266 SEQUENCE_OF_constraint,
267 SEQUENCE_OF_decode_ber,
268 SEQUENCE_OF_encode_der,
269 SEQUENCE_OF_decode_xer,
270 SEQUENCE_OF_encode_xer,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000271 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin1eded352006-07-13 11:19:01 +0000272 0, /* Use generic outmost tag fetcher */
273 asn_DEF_seqOfMan_tags_3,
274 sizeof(asn_DEF_seqOfMan_tags_3)
275 /sizeof(asn_DEF_seqOfMan_tags_3[0]), /* 2 */
276 asn_DEF_seqOfMan_tags_3, /* Same as above */
277 sizeof(asn_DEF_seqOfMan_tags_3)
278 /sizeof(asn_DEF_seqOfMan_tags_3[0]), /* 2 */
279 0, /* No PER visible constraints */
280 asn_MBR_seqOfMan_3,
281 1, /* Single element */
282 &asn_SPC_seqOfMan_specs_3 /* Additional specs */
283};
284
285static asn_TYPE_member_t asn_MBR_SeqWithMandatory_1[] = {
286 { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, someString),
287 .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
288 .tag_mode = 0,
289 .type = &asn_DEF_UTF8String,
290 .memb_constraints = 0, /* Defer constraints checking to the member type */
291 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
292 .default_value = 0,
293 .name = "someString"
294 },
295 { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, seqOfMan),
296 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000297 .tag_mode = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000298 .type = &asn_DEF_seqOfMan_3,
299 .memb_constraints = 0, /* Defer constraints checking to the member type */
300 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
301 .default_value = 0,
302 .name = "seqOfMan"
303 },
304};
Lev Walkina7591b52014-10-12 18:37:35 -0700305static const ber_tlv_tag_t asn_DEF_SeqWithMandatory_tags_1[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000306 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
307};
Lev Walkina7591b52014-10-12 18:37:35 -0700308static const asn_TYPE_tag2member_t asn_MAP_SeqWithMandatory_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700309 { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
310 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfMan */
Lev Walkin1eded352006-07-13 11:19:01 +0000311};
312static asn_SEQUENCE_specifics_t asn_SPC_SeqWithMandatory_specs_1 = {
313 sizeof(struct SeqWithMandatory),
314 offsetof(struct SeqWithMandatory, _asn_ctx),
315 asn_MAP_SeqWithMandatory_tag2el_1,
316 2, /* Count of tags in the map */
317 0, 0, 0, /* Optional elements (not needed) */
318 -1, /* Start extensions */
319 -1 /* Stop extensions */
320};
321asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory = {
322 "SeqWithMandatory",
323 "SeqWithMandatory",
324 SEQUENCE_free,
325 SEQUENCE_print,
326 SEQUENCE_constraint,
327 SEQUENCE_decode_ber,
328 SEQUENCE_encode_der,
329 SEQUENCE_decode_xer,
330 SEQUENCE_encode_xer,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000331 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin1eded352006-07-13 11:19:01 +0000332 0, /* Use generic outmost tag fetcher */
333 asn_DEF_SeqWithMandatory_tags_1,
334 sizeof(asn_DEF_SeqWithMandatory_tags_1)
335 /sizeof(asn_DEF_SeqWithMandatory_tags_1[0]), /* 1 */
336 asn_DEF_SeqWithMandatory_tags_1, /* Same as above */
337 sizeof(asn_DEF_SeqWithMandatory_tags_1)
338 /sizeof(asn_DEF_SeqWithMandatory_tags_1[0]), /* 1 */
339 0, /* No PER visible constraints */
340 asn_MBR_SeqWithMandatory_1,
341 2, /* Elements count */
342 &asn_SPC_SeqWithMandatory_specs_1 /* Additional specs */
343};
344
345
346/*** <<< INCLUDES [SeqWithOptional] >>> ***/
347
348#include <UTF8String.h>
349#include <asn_SEQUENCE_OF.h>
350#include <constr_SEQUENCE_OF.h>
351#include <constr_SEQUENCE.h>
352
353/*** <<< FWD-DECLS [SeqWithOptional] >>> ***/
354
355struct Error;
356
357/*** <<< TYPE-DECLS [SeqWithOptional] >>> ***/
358
359typedef struct SeqWithOptional {
360 UTF8String_t someString;
361 struct seqOfOpt {
362 A_SEQUENCE_OF(struct Error) list;
363
364 /* Context for parsing across buffer boundaries */
365 asn_struct_ctx_t _asn_ctx;
366 } *seqOfOpt;
367
368 /* Context for parsing across buffer boundaries */
369 asn_struct_ctx_t _asn_ctx;
370} SeqWithOptional_t;
371
372/*** <<< FUNC-DECLS [SeqWithOptional] >>> ***/
373
374extern asn_TYPE_descriptor_t asn_DEF_SeqWithOptional;
375
376/*** <<< POST-INCLUDE [SeqWithOptional] >>> ***/
377
Lev Walkin22b5ed42006-09-13 02:51:20 +0000378#include "Error.h"
Lev Walkin1eded352006-07-13 11:19:01 +0000379
380/*** <<< STAT-DEFS [SeqWithOptional] >>> ***/
381
382static asn_TYPE_member_t asn_MBR_seqOfOpt_3[] = {
383 { ATF_POINTER, 0, 0,
384 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
385 .tag_mode = 0,
386 .type = &asn_DEF_Error,
387 .memb_constraints = 0, /* Defer constraints checking to the member type */
388 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
389 .default_value = 0,
390 .name = ""
391 },
392};
Lev Walkina7591b52014-10-12 18:37:35 -0700393static const ber_tlv_tag_t asn_DEF_seqOfOpt_tags_3[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000394 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
395 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
396};
397static asn_SET_OF_specifics_t asn_SPC_seqOfOpt_specs_3 = {
398 sizeof(struct seqOfOpt),
399 offsetof(struct seqOfOpt, _asn_ctx),
400 0, /* XER encoding is XMLDelimitedItemList */
401};
402static /* Use -fall-defs-global to expose */
403asn_TYPE_descriptor_t asn_DEF_seqOfOpt_3 = {
404 "seqOfOpt",
405 "seqOfOpt",
406 SEQUENCE_OF_free,
407 SEQUENCE_OF_print,
408 SEQUENCE_OF_constraint,
409 SEQUENCE_OF_decode_ber,
410 SEQUENCE_OF_encode_der,
411 SEQUENCE_OF_decode_xer,
412 SEQUENCE_OF_encode_xer,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000413 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin1eded352006-07-13 11:19:01 +0000414 0, /* Use generic outmost tag fetcher */
415 asn_DEF_seqOfOpt_tags_3,
416 sizeof(asn_DEF_seqOfOpt_tags_3)
417 /sizeof(asn_DEF_seqOfOpt_tags_3[0]), /* 2 */
418 asn_DEF_seqOfOpt_tags_3, /* Same as above */
419 sizeof(asn_DEF_seqOfOpt_tags_3)
420 /sizeof(asn_DEF_seqOfOpt_tags_3[0]), /* 2 */
421 0, /* No PER visible constraints */
422 asn_MBR_seqOfOpt_3,
423 1, /* Single element */
424 &asn_SPC_seqOfOpt_specs_3 /* Additional specs */
425};
426
427static asn_TYPE_member_t asn_MBR_SeqWithOptional_1[] = {
428 { ATF_NOFLAGS, 0, offsetof(struct SeqWithOptional, someString),
429 .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
430 .tag_mode = 0,
431 .type = &asn_DEF_UTF8String,
432 .memb_constraints = 0, /* Defer constraints checking to the member type */
433 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
434 .default_value = 0,
435 .name = "someString"
436 },
437 { ATF_POINTER, 1, offsetof(struct SeqWithOptional, seqOfOpt),
438 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000439 .tag_mode = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000440 .type = &asn_DEF_seqOfOpt_3,
441 .memb_constraints = 0, /* Defer constraints checking to the member type */
442 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
443 .default_value = 0,
444 .name = "seqOfOpt"
445 },
446};
Lev Walkina7591b52014-10-12 18:37:35 -0700447static const ber_tlv_tag_t asn_DEF_SeqWithOptional_tags_1[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000448 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
449};
Lev Walkina7591b52014-10-12 18:37:35 -0700450static const asn_TYPE_tag2member_t asn_MAP_SeqWithOptional_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700451 { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
452 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfOpt */
Lev Walkin1eded352006-07-13 11:19:01 +0000453};
454static asn_SEQUENCE_specifics_t asn_SPC_SeqWithOptional_specs_1 = {
455 sizeof(struct SeqWithOptional),
456 offsetof(struct SeqWithOptional, _asn_ctx),
457 asn_MAP_SeqWithOptional_tag2el_1,
458 2, /* Count of tags in the map */
459 0, 0, 0, /* Optional elements (not needed) */
460 -1, /* Start extensions */
461 -1 /* Stop extensions */
462};
463asn_TYPE_descriptor_t asn_DEF_SeqWithOptional = {
464 "SeqWithOptional",
465 "SeqWithOptional",
466 SEQUENCE_free,
467 SEQUENCE_print,
468 SEQUENCE_constraint,
469 SEQUENCE_decode_ber,
470 SEQUENCE_encode_der,
471 SEQUENCE_decode_xer,
472 SEQUENCE_encode_xer,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000473 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin1eded352006-07-13 11:19:01 +0000474 0, /* Use generic outmost tag fetcher */
475 asn_DEF_SeqWithOptional_tags_1,
476 sizeof(asn_DEF_SeqWithOptional_tags_1)
477 /sizeof(asn_DEF_SeqWithOptional_tags_1[0]), /* 1 */
478 asn_DEF_SeqWithOptional_tags_1, /* Same as above */
479 sizeof(asn_DEF_SeqWithOptional_tags_1)
480 /sizeof(asn_DEF_SeqWithOptional_tags_1[0]), /* 1 */
481 0, /* No PER visible constraints */
482 asn_MBR_SeqWithOptional_1,
483 2, /* Elements count */
484 &asn_SPC_SeqWithOptional_specs_1 /* Additional specs */
485};
486