blob: 9ed90a1d17a10009512c25d94ae1f2d2a6c3a1c0 [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 Walkinba68c912017-07-06 07:52:39 -070060 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkina9cc46e2004-09-22 16:06:28 +000061 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +000062 asn_DEF_Programming_tags_1,
63 sizeof(asn_DEF_Programming_tags_1)
64 /sizeof(asn_DEF_Programming_tags_1[0]), /* 1 */
65 asn_DEF_Programming_tags_1, /* Same as above */
66 sizeof(asn_DEF_Programming_tags_1)
67 /sizeof(asn_DEF_Programming_tags_1[0]), /* 1 */
68 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +000069 asn_MBR_Programming_1,
Lev Walkina9cc46e2004-09-22 16:06:28 +000070 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +000071 &asn_SPC_Programming_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +000072};
73
74
75/*** <<< INCLUDES [Fault] >>> ***/
76
Lev Walkina9cc46e2004-09-22 16:06:28 +000077#include <asn_SET_OF.h>
78#include <constr_SET_OF.h>
79
Lev Walkinc8285712005-03-04 22:18:20 +000080/*** <<< FWD-DECLS [Fault] >>> ***/
Lev Walkina9cc46e2004-09-22 16:06:28 +000081
Lev Walkinbf56d542005-03-04 23:50:56 +000082struct Error;
Lev Walkina9cc46e2004-09-22 16:06:28 +000083
84/*** <<< TYPE-DECLS [Fault] >>> ***/
85
Lev Walkina9cc46e2004-09-22 16:06:28 +000086typedef struct Fault {
Lev Walkinc8285712005-03-04 22:18:20 +000087 A_SET_OF(struct Error) list;
Lev Walkina9cc46e2004-09-22 16:06:28 +000088
89 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +000090 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +000091} Fault_t;
92
Lev Walkinc8285712005-03-04 22:18:20 +000093/*** <<< FUNC-DECLS [Fault] >>> ***/
94
95extern asn_TYPE_descriptor_t asn_DEF_Fault;
96
97/*** <<< POST-INCLUDE [Fault] >>> ***/
98
Lev Walkin22b5ed42006-09-13 02:51:20 +000099#include "Error.h"
Lev Walkinc8285712005-03-04 22:18:20 +0000100
Lev Walkina9cc46e2004-09-22 16:06:28 +0000101/*** <<< STAT-DEFS [Fault] >>> ***/
102
Lev Walkine0272aa2005-03-04 11:26:08 +0000103static asn_TYPE_member_t asn_MBR_Fault_1[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +0000104 { ATF_POINTER, 0, 0,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000105 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
106 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000107 .type = &asn_DEF_Error,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000108 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkin59b176e2005-11-26 11:25:14 +0000109 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
110 .default_value = 0,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000111 .name = ""
112 },
113};
Lev Walkina7591b52014-10-12 18:37:35 -0700114static const ber_tlv_tag_t asn_DEF_Fault_tags_1[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000115 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
116};
Lev Walkin59b176e2005-11-26 11:25:14 +0000117static asn_SET_OF_specifics_t asn_SPC_Fault_specs_1 = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000118 sizeof(struct Fault),
Lev Walkindfae9752004-09-29 13:19:37 +0000119 offsetof(struct Fault, _asn_ctx),
Lev Walkina9cc46e2004-09-22 16:06:28 +0000120 0, /* XER encoding is XMLDelimitedItemList */
121};
Lev Walkindfae9752004-09-29 13:19:37 +0000122asn_TYPE_descriptor_t asn_DEF_Fault = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000123 "Fault",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000124 "Fault",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000125 SET_OF_free,
126 SET_OF_print,
127 SET_OF_constraint,
128 SET_OF_decode_ber,
129 SET_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000130 SET_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000131 SET_OF_encode_xer,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000132 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinba68c912017-07-06 07:52:39 -0700133 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000134 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000135 asn_DEF_Fault_tags_1,
136 sizeof(asn_DEF_Fault_tags_1)
137 /sizeof(asn_DEF_Fault_tags_1[0]), /* 1 */
138 asn_DEF_Fault_tags_1, /* Same as above */
139 sizeof(asn_DEF_Fault_tags_1)
140 /sizeof(asn_DEF_Fault_tags_1[0]), /* 1 */
141 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000142 asn_MBR_Fault_1,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000143 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000144 &asn_SPC_Fault_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000145};
146
147
148/*** <<< INCLUDES [Error] >>> ***/
149
150#include <constr_SEQUENCE.h>
151
Lev Walkina9cc46e2004-09-22 16:06:28 +0000152/*** <<< TYPE-DECLS [Error] >>> ***/
153
Lev Walkina9cc46e2004-09-22 16:06:28 +0000154typedef struct Error {
155 /*
156 * This type is extensible,
157 * possible extensions are below.
158 */
159
160 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +0000161 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +0000162} Error_t;
163
Lev Walkinc8285712005-03-04 22:18:20 +0000164/*** <<< FUNC-DECLS [Error] >>> ***/
165
166extern asn_TYPE_descriptor_t asn_DEF_Error;
167
Lev Walkina9cc46e2004-09-22 16:06:28 +0000168/*** <<< STAT-DEFS [Error] >>> ***/
169
Lev Walkina7591b52014-10-12 18:37:35 -0700170static const ber_tlv_tag_t asn_DEF_Error_tags_1[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000171 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
172};
Lev Walkin59b176e2005-11-26 11:25:14 +0000173static asn_SEQUENCE_specifics_t asn_SPC_Error_specs_1 = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000174 sizeof(struct Error),
Lev Walkindfae9752004-09-29 13:19:37 +0000175 offsetof(struct Error, _asn_ctx),
Lev Walkinb3ee6a62005-05-27 21:58:41 +0000176 0, /* No top level tags */
177 0, /* No tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000178 0, 0, 0, /* Optional elements (not needed) */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000179 -1, /* Start extensions */
180 -1 /* Stop extensions */
181};
Lev Walkindfae9752004-09-29 13:19:37 +0000182asn_TYPE_descriptor_t asn_DEF_Error = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000183 "Error",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000184 "Error",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000185 SEQUENCE_free,
186 SEQUENCE_print,
187 SEQUENCE_constraint,
188 SEQUENCE_decode_ber,
189 SEQUENCE_encode_der,
Lev Walkin61b40d82004-10-23 15:07:45 +0000190 SEQUENCE_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000191 SEQUENCE_encode_xer,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000192 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinba68c912017-07-06 07:52:39 -0700193 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000194 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000195 asn_DEF_Error_tags_1,
196 sizeof(asn_DEF_Error_tags_1)
197 /sizeof(asn_DEF_Error_tags_1[0]), /* 1 */
198 asn_DEF_Error_tags_1, /* Same as above */
199 sizeof(asn_DEF_Error_tags_1)
200 /sizeof(asn_DEF_Error_tags_1[0]), /* 1 */
201 0, /* No PER visible constraints */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000202 0, 0, /* No members */
Lev Walkin59b176e2005-11-26 11:25:14 +0000203 &asn_SPC_Error_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000204};
205
Lev Walkin1eded352006-07-13 11:19:01 +0000206
207/*** <<< INCLUDES [SeqWithMandatory] >>> ***/
208
209#include <UTF8String.h>
210#include <asn_SEQUENCE_OF.h>
211#include <constr_SEQUENCE_OF.h>
212#include <constr_SEQUENCE.h>
213
214/*** <<< FWD-DECLS [SeqWithMandatory] >>> ***/
215
216struct Error;
217
218/*** <<< TYPE-DECLS [SeqWithMandatory] >>> ***/
219
220typedef struct SeqWithMandatory {
221 UTF8String_t someString;
222 struct seqOfMan {
223 A_SEQUENCE_OF(struct Error) list;
224
225 /* Context for parsing across buffer boundaries */
226 asn_struct_ctx_t _asn_ctx;
227 } seqOfMan;
228
229 /* Context for parsing across buffer boundaries */
230 asn_struct_ctx_t _asn_ctx;
231} SeqWithMandatory_t;
232
233/*** <<< FUNC-DECLS [SeqWithMandatory] >>> ***/
234
235extern asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory;
236
237/*** <<< POST-INCLUDE [SeqWithMandatory] >>> ***/
238
Lev Walkin22b5ed42006-09-13 02:51:20 +0000239#include "Error.h"
Lev Walkin1eded352006-07-13 11:19:01 +0000240
241/*** <<< STAT-DEFS [SeqWithMandatory] >>> ***/
242
243static asn_TYPE_member_t asn_MBR_seqOfMan_3[] = {
244 { ATF_POINTER, 0, 0,
245 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
246 .tag_mode = 0,
247 .type = &asn_DEF_Error,
248 .memb_constraints = 0, /* Defer constraints checking to the member type */
249 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
250 .default_value = 0,
251 .name = ""
252 },
253};
Lev Walkina7591b52014-10-12 18:37:35 -0700254static const ber_tlv_tag_t asn_DEF_seqOfMan_tags_3[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000255 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
256 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
257};
258static asn_SET_OF_specifics_t asn_SPC_seqOfMan_specs_3 = {
259 sizeof(struct seqOfMan),
260 offsetof(struct seqOfMan, _asn_ctx),
261 0, /* XER encoding is XMLDelimitedItemList */
262};
263static /* Use -fall-defs-global to expose */
264asn_TYPE_descriptor_t asn_DEF_seqOfMan_3 = {
265 "seqOfMan",
266 "seqOfMan",
267 SEQUENCE_OF_free,
268 SEQUENCE_OF_print,
269 SEQUENCE_OF_constraint,
270 SEQUENCE_OF_decode_ber,
271 SEQUENCE_OF_encode_der,
272 SEQUENCE_OF_decode_xer,
273 SEQUENCE_OF_encode_xer,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000274 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinba68c912017-07-06 07:52:39 -0700275 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkin1eded352006-07-13 11:19:01 +0000276 0, /* Use generic outmost tag fetcher */
277 asn_DEF_seqOfMan_tags_3,
278 sizeof(asn_DEF_seqOfMan_tags_3)
279 /sizeof(asn_DEF_seqOfMan_tags_3[0]), /* 2 */
280 asn_DEF_seqOfMan_tags_3, /* Same as above */
281 sizeof(asn_DEF_seqOfMan_tags_3)
282 /sizeof(asn_DEF_seqOfMan_tags_3[0]), /* 2 */
283 0, /* No PER visible constraints */
284 asn_MBR_seqOfMan_3,
285 1, /* Single element */
286 &asn_SPC_seqOfMan_specs_3 /* Additional specs */
287};
288
289static asn_TYPE_member_t asn_MBR_SeqWithMandatory_1[] = {
290 { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, someString),
291 .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
292 .tag_mode = 0,
293 .type = &asn_DEF_UTF8String,
294 .memb_constraints = 0, /* Defer constraints checking to the member type */
295 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
296 .default_value = 0,
297 .name = "someString"
298 },
299 { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, seqOfMan),
300 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000301 .tag_mode = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000302 .type = &asn_DEF_seqOfMan_3,
303 .memb_constraints = 0, /* Defer constraints checking to the member type */
304 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
305 .default_value = 0,
306 .name = "seqOfMan"
307 },
308};
Lev Walkina7591b52014-10-12 18:37:35 -0700309static const ber_tlv_tag_t asn_DEF_SeqWithMandatory_tags_1[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000310 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
311};
Lev Walkina7591b52014-10-12 18:37:35 -0700312static const asn_TYPE_tag2member_t asn_MAP_SeqWithMandatory_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700313 { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
314 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfMan */
Lev Walkin1eded352006-07-13 11:19:01 +0000315};
316static asn_SEQUENCE_specifics_t asn_SPC_SeqWithMandatory_specs_1 = {
317 sizeof(struct SeqWithMandatory),
318 offsetof(struct SeqWithMandatory, _asn_ctx),
319 asn_MAP_SeqWithMandatory_tag2el_1,
320 2, /* Count of tags in the map */
321 0, 0, 0, /* Optional elements (not needed) */
322 -1, /* Start extensions */
323 -1 /* Stop extensions */
324};
325asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory = {
326 "SeqWithMandatory",
327 "SeqWithMandatory",
328 SEQUENCE_free,
329 SEQUENCE_print,
330 SEQUENCE_constraint,
331 SEQUENCE_decode_ber,
332 SEQUENCE_encode_der,
333 SEQUENCE_decode_xer,
334 SEQUENCE_encode_xer,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000335 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinba68c912017-07-06 07:52:39 -0700336 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkin1eded352006-07-13 11:19:01 +0000337 0, /* Use generic outmost tag fetcher */
338 asn_DEF_SeqWithMandatory_tags_1,
339 sizeof(asn_DEF_SeqWithMandatory_tags_1)
340 /sizeof(asn_DEF_SeqWithMandatory_tags_1[0]), /* 1 */
341 asn_DEF_SeqWithMandatory_tags_1, /* Same as above */
342 sizeof(asn_DEF_SeqWithMandatory_tags_1)
343 /sizeof(asn_DEF_SeqWithMandatory_tags_1[0]), /* 1 */
344 0, /* No PER visible constraints */
345 asn_MBR_SeqWithMandatory_1,
346 2, /* Elements count */
347 &asn_SPC_SeqWithMandatory_specs_1 /* Additional specs */
348};
349
350
351/*** <<< INCLUDES [SeqWithOptional] >>> ***/
352
353#include <UTF8String.h>
354#include <asn_SEQUENCE_OF.h>
355#include <constr_SEQUENCE_OF.h>
356#include <constr_SEQUENCE.h>
357
358/*** <<< FWD-DECLS [SeqWithOptional] >>> ***/
359
360struct Error;
361
362/*** <<< TYPE-DECLS [SeqWithOptional] >>> ***/
363
364typedef struct SeqWithOptional {
365 UTF8String_t someString;
366 struct seqOfOpt {
367 A_SEQUENCE_OF(struct Error) list;
368
369 /* Context for parsing across buffer boundaries */
370 asn_struct_ctx_t _asn_ctx;
371 } *seqOfOpt;
372
373 /* Context for parsing across buffer boundaries */
374 asn_struct_ctx_t _asn_ctx;
375} SeqWithOptional_t;
376
377/*** <<< FUNC-DECLS [SeqWithOptional] >>> ***/
378
379extern asn_TYPE_descriptor_t asn_DEF_SeqWithOptional;
380
381/*** <<< POST-INCLUDE [SeqWithOptional] >>> ***/
382
Lev Walkin22b5ed42006-09-13 02:51:20 +0000383#include "Error.h"
Lev Walkin1eded352006-07-13 11:19:01 +0000384
385/*** <<< STAT-DEFS [SeqWithOptional] >>> ***/
386
387static asn_TYPE_member_t asn_MBR_seqOfOpt_3[] = {
388 { ATF_POINTER, 0, 0,
389 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
390 .tag_mode = 0,
391 .type = &asn_DEF_Error,
392 .memb_constraints = 0, /* Defer constraints checking to the member type */
393 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
394 .default_value = 0,
395 .name = ""
396 },
397};
Lev Walkina7591b52014-10-12 18:37:35 -0700398static const ber_tlv_tag_t asn_DEF_seqOfOpt_tags_3[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000399 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
400 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
401};
402static asn_SET_OF_specifics_t asn_SPC_seqOfOpt_specs_3 = {
403 sizeof(struct seqOfOpt),
404 offsetof(struct seqOfOpt, _asn_ctx),
405 0, /* XER encoding is XMLDelimitedItemList */
406};
407static /* Use -fall-defs-global to expose */
408asn_TYPE_descriptor_t asn_DEF_seqOfOpt_3 = {
409 "seqOfOpt",
410 "seqOfOpt",
411 SEQUENCE_OF_free,
412 SEQUENCE_OF_print,
413 SEQUENCE_OF_constraint,
414 SEQUENCE_OF_decode_ber,
415 SEQUENCE_OF_encode_der,
416 SEQUENCE_OF_decode_xer,
417 SEQUENCE_OF_encode_xer,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000418 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinba68c912017-07-06 07:52:39 -0700419 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkin1eded352006-07-13 11:19:01 +0000420 0, /* Use generic outmost tag fetcher */
421 asn_DEF_seqOfOpt_tags_3,
422 sizeof(asn_DEF_seqOfOpt_tags_3)
423 /sizeof(asn_DEF_seqOfOpt_tags_3[0]), /* 2 */
424 asn_DEF_seqOfOpt_tags_3, /* Same as above */
425 sizeof(asn_DEF_seqOfOpt_tags_3)
426 /sizeof(asn_DEF_seqOfOpt_tags_3[0]), /* 2 */
427 0, /* No PER visible constraints */
428 asn_MBR_seqOfOpt_3,
429 1, /* Single element */
430 &asn_SPC_seqOfOpt_specs_3 /* Additional specs */
431};
432
433static asn_TYPE_member_t asn_MBR_SeqWithOptional_1[] = {
434 { ATF_NOFLAGS, 0, offsetof(struct SeqWithOptional, someString),
435 .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
436 .tag_mode = 0,
437 .type = &asn_DEF_UTF8String,
438 .memb_constraints = 0, /* Defer constraints checking to the member type */
439 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
440 .default_value = 0,
441 .name = "someString"
442 },
443 { ATF_POINTER, 1, offsetof(struct SeqWithOptional, seqOfOpt),
444 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000445 .tag_mode = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000446 .type = &asn_DEF_seqOfOpt_3,
447 .memb_constraints = 0, /* Defer constraints checking to the member type */
448 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
449 .default_value = 0,
450 .name = "seqOfOpt"
451 },
452};
Lev Walkina7591b52014-10-12 18:37:35 -0700453static const ber_tlv_tag_t asn_DEF_SeqWithOptional_tags_1[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000454 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
455};
Lev Walkina7591b52014-10-12 18:37:35 -0700456static const asn_TYPE_tag2member_t asn_MAP_SeqWithOptional_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700457 { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
458 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfOpt */
Lev Walkin1eded352006-07-13 11:19:01 +0000459};
460static asn_SEQUENCE_specifics_t asn_SPC_SeqWithOptional_specs_1 = {
461 sizeof(struct SeqWithOptional),
462 offsetof(struct SeqWithOptional, _asn_ctx),
463 asn_MAP_SeqWithOptional_tag2el_1,
464 2, /* Count of tags in the map */
465 0, 0, 0, /* Optional elements (not needed) */
466 -1, /* Start extensions */
467 -1 /* Stop extensions */
468};
469asn_TYPE_descriptor_t asn_DEF_SeqWithOptional = {
470 "SeqWithOptional",
471 "SeqWithOptional",
472 SEQUENCE_free,
473 SEQUENCE_print,
474 SEQUENCE_constraint,
475 SEQUENCE_decode_ber,
476 SEQUENCE_encode_der,
477 SEQUENCE_decode_xer,
478 SEQUENCE_encode_xer,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000479 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkinba68c912017-07-06 07:52:39 -0700480 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkin1eded352006-07-13 11:19:01 +0000481 0, /* Use generic outmost tag fetcher */
482 asn_DEF_SeqWithOptional_tags_1,
483 sizeof(asn_DEF_SeqWithOptional_tags_1)
484 /sizeof(asn_DEF_SeqWithOptional_tags_1[0]), /* 1 */
485 asn_DEF_SeqWithOptional_tags_1, /* Same as above */
486 sizeof(asn_DEF_SeqWithOptional_tags_1)
487 /sizeof(asn_DEF_SeqWithOptional_tags_1[0]), /* 1 */
488 0, /* No PER visible constraints */
489 asn_MBR_SeqWithOptional_1,
490 2, /* Elements count */
491 &asn_SPC_SeqWithOptional_specs_1 /* Additional specs */
492};
493