blob: 2f734141cf3ee8c00131b15f2aa80e4185c3aadd [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 Walkin20696a42017-10-17 21:27:33 -070037 0, 0, /* No default value */
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 Walkin20696a42017-10-17 21:27:33 -0700103 0, 0, /* No default value */
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 Walkindf2edbb2017-10-21 13:40:07 -0700164 -1, /* First extension addition */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000165};
Lev Walkindfae9752004-09-29 13:19:37 +0000166asn_TYPE_descriptor_t asn_DEF_Error = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000167 "Error",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000168 "Error",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800169 &asn_OP_SEQUENCE,
Lev Walkin59b176e2005-11-26 11:25:14 +0000170 asn_DEF_Error_tags_1,
171 sizeof(asn_DEF_Error_tags_1)
172 /sizeof(asn_DEF_Error_tags_1[0]), /* 1 */
173 asn_DEF_Error_tags_1, /* Same as above */
174 sizeof(asn_DEF_Error_tags_1)
175 /sizeof(asn_DEF_Error_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700176 { 0, 0, SEQUENCE_constraint },
Lev Walkina9cc46e2004-09-22 16:06:28 +0000177 0, 0, /* No members */
Lev Walkin59b176e2005-11-26 11:25:14 +0000178 &asn_SPC_Error_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000179};
180
Lev Walkin1eded352006-07-13 11:19:01 +0000181
182/*** <<< INCLUDES [SeqWithMandatory] >>> ***/
183
184#include <UTF8String.h>
185#include <asn_SEQUENCE_OF.h>
186#include <constr_SEQUENCE_OF.h>
187#include <constr_SEQUENCE.h>
188
189/*** <<< FWD-DECLS [SeqWithMandatory] >>> ***/
190
191struct Error;
192
193/*** <<< TYPE-DECLS [SeqWithMandatory] >>> ***/
194
195typedef struct SeqWithMandatory {
196 UTF8String_t someString;
197 struct seqOfMan {
198 A_SEQUENCE_OF(struct Error) list;
199
200 /* Context for parsing across buffer boundaries */
201 asn_struct_ctx_t _asn_ctx;
202 } seqOfMan;
203
204 /* Context for parsing across buffer boundaries */
205 asn_struct_ctx_t _asn_ctx;
206} SeqWithMandatory_t;
207
208/*** <<< FUNC-DECLS [SeqWithMandatory] >>> ***/
209
210extern asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory;
211
212/*** <<< POST-INCLUDE [SeqWithMandatory] >>> ***/
213
Lev Walkin22b5ed42006-09-13 02:51:20 +0000214#include "Error.h"
Lev Walkin1eded352006-07-13 11:19:01 +0000215
216/*** <<< STAT-DEFS [SeqWithMandatory] >>> ***/
217
218static asn_TYPE_member_t asn_MBR_seqOfMan_3[] = {
219 { ATF_POINTER, 0, 0,
220 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
221 .tag_mode = 0,
222 .type = &asn_DEF_Error,
Lev Walkin67a30122017-08-10 05:48:54 -0700223 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700224 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -0700225 0, 0, /* No default value */
Lev Walkin1eded352006-07-13 11:19:01 +0000226 .name = ""
227 },
228};
Lev Walkina7591b52014-10-12 18:37:35 -0700229static const ber_tlv_tag_t asn_DEF_seqOfMan_tags_3[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000230 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
231 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
232};
233static asn_SET_OF_specifics_t asn_SPC_seqOfMan_specs_3 = {
234 sizeof(struct seqOfMan),
235 offsetof(struct seqOfMan, _asn_ctx),
236 0, /* XER encoding is XMLDelimitedItemList */
237};
238static /* Use -fall-defs-global to expose */
239asn_TYPE_descriptor_t asn_DEF_seqOfMan_3 = {
240 "seqOfMan",
241 "seqOfMan",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800242 &asn_OP_SEQUENCE_OF,
Lev Walkin1eded352006-07-13 11:19:01 +0000243 asn_DEF_seqOfMan_tags_3,
244 sizeof(asn_DEF_seqOfMan_tags_3)
245 /sizeof(asn_DEF_seqOfMan_tags_3[0]), /* 2 */
246 asn_DEF_seqOfMan_tags_3, /* Same as above */
247 sizeof(asn_DEF_seqOfMan_tags_3)
248 /sizeof(asn_DEF_seqOfMan_tags_3[0]), /* 2 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700249 { 0, 0, SEQUENCE_OF_constraint },
Lev Walkin1eded352006-07-13 11:19:01 +0000250 asn_MBR_seqOfMan_3,
251 1, /* Single element */
252 &asn_SPC_seqOfMan_specs_3 /* Additional specs */
253};
254
255static asn_TYPE_member_t asn_MBR_SeqWithMandatory_1[] = {
256 { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, someString),
257 .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
258 .tag_mode = 0,
259 .type = &asn_DEF_UTF8String,
Lev Walkin67a30122017-08-10 05:48:54 -0700260 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700261 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -0700262 0, 0, /* No default value */
Lev Walkin1eded352006-07-13 11:19:01 +0000263 .name = "someString"
264 },
265 { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, seqOfMan),
266 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000267 .tag_mode = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000268 .type = &asn_DEF_seqOfMan_3,
Lev Walkin67a30122017-08-10 05:48:54 -0700269 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700270 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -0700271 0, 0, /* No default value */
Lev Walkin1eded352006-07-13 11:19:01 +0000272 .name = "seqOfMan"
273 },
274};
Lev Walkina7591b52014-10-12 18:37:35 -0700275static const ber_tlv_tag_t asn_DEF_SeqWithMandatory_tags_1[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000276 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
277};
Lev Walkina7591b52014-10-12 18:37:35 -0700278static const asn_TYPE_tag2member_t asn_MAP_SeqWithMandatory_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700279 { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
280 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfMan */
Lev Walkin1eded352006-07-13 11:19:01 +0000281};
282static asn_SEQUENCE_specifics_t asn_SPC_SeqWithMandatory_specs_1 = {
283 sizeof(struct SeqWithMandatory),
284 offsetof(struct SeqWithMandatory, _asn_ctx),
Lev Walkine3917082017-08-23 10:29:38 -0700285 .tag2el = asn_MAP_SeqWithMandatory_tag2el_1,
286 .tag2el_count = 2, /* Count of tags in the map */
Lev Walkin1eded352006-07-13 11:19:01 +0000287 0, 0, 0, /* Optional elements (not needed) */
Lev Walkindf2edbb2017-10-21 13:40:07 -0700288 -1, /* First extension addition */
Lev Walkin1eded352006-07-13 11:19:01 +0000289};
290asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory = {
291 "SeqWithMandatory",
292 "SeqWithMandatory",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800293 &asn_OP_SEQUENCE,
Lev Walkin1eded352006-07-13 11:19:01 +0000294 asn_DEF_SeqWithMandatory_tags_1,
295 sizeof(asn_DEF_SeqWithMandatory_tags_1)
296 /sizeof(asn_DEF_SeqWithMandatory_tags_1[0]), /* 1 */
297 asn_DEF_SeqWithMandatory_tags_1, /* Same as above */
298 sizeof(asn_DEF_SeqWithMandatory_tags_1)
299 /sizeof(asn_DEF_SeqWithMandatory_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700300 { 0, 0, SEQUENCE_constraint },
Lev Walkin1eded352006-07-13 11:19:01 +0000301 asn_MBR_SeqWithMandatory_1,
302 2, /* Elements count */
303 &asn_SPC_SeqWithMandatory_specs_1 /* Additional specs */
304};
305
306
307/*** <<< INCLUDES [SeqWithOptional] >>> ***/
308
309#include <UTF8String.h>
310#include <asn_SEQUENCE_OF.h>
311#include <constr_SEQUENCE_OF.h>
312#include <constr_SEQUENCE.h>
313
314/*** <<< FWD-DECLS [SeqWithOptional] >>> ***/
315
316struct Error;
317
318/*** <<< TYPE-DECLS [SeqWithOptional] >>> ***/
319
320typedef struct SeqWithOptional {
321 UTF8String_t someString;
322 struct seqOfOpt {
323 A_SEQUENCE_OF(struct Error) list;
324
325 /* Context for parsing across buffer boundaries */
326 asn_struct_ctx_t _asn_ctx;
327 } *seqOfOpt;
328
329 /* Context for parsing across buffer boundaries */
330 asn_struct_ctx_t _asn_ctx;
331} SeqWithOptional_t;
332
333/*** <<< FUNC-DECLS [SeqWithOptional] >>> ***/
334
335extern asn_TYPE_descriptor_t asn_DEF_SeqWithOptional;
336
337/*** <<< POST-INCLUDE [SeqWithOptional] >>> ***/
338
Lev Walkin22b5ed42006-09-13 02:51:20 +0000339#include "Error.h"
Lev Walkin1eded352006-07-13 11:19:01 +0000340
341/*** <<< STAT-DEFS [SeqWithOptional] >>> ***/
342
343static asn_TYPE_member_t asn_MBR_seqOfOpt_3[] = {
344 { ATF_POINTER, 0, 0,
345 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
346 .tag_mode = 0,
347 .type = &asn_DEF_Error,
Lev Walkin67a30122017-08-10 05:48:54 -0700348 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700349 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -0700350 0, 0, /* No default value */
Lev Walkin1eded352006-07-13 11:19:01 +0000351 .name = ""
352 },
353};
Lev Walkina7591b52014-10-12 18:37:35 -0700354static const ber_tlv_tag_t asn_DEF_seqOfOpt_tags_3[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000355 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
356 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
357};
358static asn_SET_OF_specifics_t asn_SPC_seqOfOpt_specs_3 = {
359 sizeof(struct seqOfOpt),
360 offsetof(struct seqOfOpt, _asn_ctx),
361 0, /* XER encoding is XMLDelimitedItemList */
362};
363static /* Use -fall-defs-global to expose */
364asn_TYPE_descriptor_t asn_DEF_seqOfOpt_3 = {
365 "seqOfOpt",
366 "seqOfOpt",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800367 &asn_OP_SEQUENCE_OF,
Lev Walkin1eded352006-07-13 11:19:01 +0000368 asn_DEF_seqOfOpt_tags_3,
369 sizeof(asn_DEF_seqOfOpt_tags_3)
370 /sizeof(asn_DEF_seqOfOpt_tags_3[0]), /* 2 */
371 asn_DEF_seqOfOpt_tags_3, /* Same as above */
372 sizeof(asn_DEF_seqOfOpt_tags_3)
373 /sizeof(asn_DEF_seqOfOpt_tags_3[0]), /* 2 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700374 { 0, 0, SEQUENCE_OF_constraint },
Lev Walkin1eded352006-07-13 11:19:01 +0000375 asn_MBR_seqOfOpt_3,
376 1, /* Single element */
377 &asn_SPC_seqOfOpt_specs_3 /* Additional specs */
378};
379
380static asn_TYPE_member_t asn_MBR_SeqWithOptional_1[] = {
381 { ATF_NOFLAGS, 0, offsetof(struct SeqWithOptional, someString),
382 .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
383 .tag_mode = 0,
384 .type = &asn_DEF_UTF8String,
Lev Walkin67a30122017-08-10 05:48:54 -0700385 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700386 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -0700387 0, 0, /* No default value */
Lev Walkin1eded352006-07-13 11:19:01 +0000388 .name = "someString"
389 },
390 { ATF_POINTER, 1, offsetof(struct SeqWithOptional, seqOfOpt),
391 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000392 .tag_mode = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000393 .type = &asn_DEF_seqOfOpt_3,
Lev Walkin67a30122017-08-10 05:48:54 -0700394 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700395 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -0700396 0, 0, /* No default value */
Lev Walkin1eded352006-07-13 11:19:01 +0000397 .name = "seqOfOpt"
398 },
399};
Lev Walkina7591b52014-10-12 18:37:35 -0700400static const ber_tlv_tag_t asn_DEF_SeqWithOptional_tags_1[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000401 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
402};
Lev Walkina7591b52014-10-12 18:37:35 -0700403static const asn_TYPE_tag2member_t asn_MAP_SeqWithOptional_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700404 { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
405 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfOpt */
Lev Walkin1eded352006-07-13 11:19:01 +0000406};
407static asn_SEQUENCE_specifics_t asn_SPC_SeqWithOptional_specs_1 = {
408 sizeof(struct SeqWithOptional),
409 offsetof(struct SeqWithOptional, _asn_ctx),
Lev Walkine3917082017-08-23 10:29:38 -0700410 .tag2el = asn_MAP_SeqWithOptional_tag2el_1,
411 .tag2el_count = 2, /* Count of tags in the map */
Lev Walkin1eded352006-07-13 11:19:01 +0000412 0, 0, 0, /* Optional elements (not needed) */
Lev Walkindf2edbb2017-10-21 13:40:07 -0700413 -1, /* First extension addition */
Lev Walkin1eded352006-07-13 11:19:01 +0000414};
415asn_TYPE_descriptor_t asn_DEF_SeqWithOptional = {
416 "SeqWithOptional",
417 "SeqWithOptional",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800418 &asn_OP_SEQUENCE,
Lev Walkin1eded352006-07-13 11:19:01 +0000419 asn_DEF_SeqWithOptional_tags_1,
420 sizeof(asn_DEF_SeqWithOptional_tags_1)
421 /sizeof(asn_DEF_SeqWithOptional_tags_1[0]), /* 1 */
422 asn_DEF_SeqWithOptional_tags_1, /* Same as above */
423 sizeof(asn_DEF_SeqWithOptional_tags_1)
424 /sizeof(asn_DEF_SeqWithOptional_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700425 { 0, 0, SEQUENCE_constraint },
Lev Walkin1eded352006-07-13 11:19:01 +0000426 asn_MBR_SeqWithOptional_1,
427 2, /* Elements count */
428 &asn_SPC_SeqWithOptional_specs_1 /* Additional specs */
429};
430