blob: c52168eb6fcccf86bb46049e6d310f94eb67dc7e [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",
Lev Walkina9cc46e2004-09-22 16:06:28 +000054 SEQUENCE_OF_free,
55 SEQUENCE_OF_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -070056 SEQUENCE_OF_compare,
Lev Walkina9cc46e2004-09-22 16:06:28 +000057 SEQUENCE_OF_constraint,
58 SEQUENCE_OF_decode_ber,
59 SEQUENCE_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +000060 SEQUENCE_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +000061 SEQUENCE_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -070062 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +040063 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina9cc46e2004-09-22 16:06:28 +000064 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +000065 asn_DEF_Programming_tags_1,
66 sizeof(asn_DEF_Programming_tags_1)
67 /sizeof(asn_DEF_Programming_tags_1[0]), /* 1 */
68 asn_DEF_Programming_tags_1, /* Same as above */
69 sizeof(asn_DEF_Programming_tags_1)
70 /sizeof(asn_DEF_Programming_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +040071 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +000072 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +000073 asn_MBR_Programming_1,
Lev Walkina9cc46e2004-09-22 16:06:28 +000074 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +000075 &asn_SPC_Programming_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +000076};
77
78
79/*** <<< INCLUDES [Fault] >>> ***/
80
Lev Walkina9cc46e2004-09-22 16:06:28 +000081#include <asn_SET_OF.h>
82#include <constr_SET_OF.h>
83
Lev Walkinc8285712005-03-04 22:18:20 +000084/*** <<< FWD-DECLS [Fault] >>> ***/
Lev Walkina9cc46e2004-09-22 16:06:28 +000085
Lev Walkinbf56d542005-03-04 23:50:56 +000086struct Error;
Lev Walkina9cc46e2004-09-22 16:06:28 +000087
88/*** <<< TYPE-DECLS [Fault] >>> ***/
89
Lev Walkina9cc46e2004-09-22 16:06:28 +000090typedef struct Fault {
Lev Walkinc8285712005-03-04 22:18:20 +000091 A_SET_OF(struct Error) list;
Lev Walkina9cc46e2004-09-22 16:06:28 +000092
93 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +000094 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +000095} Fault_t;
96
Lev Walkinc8285712005-03-04 22:18:20 +000097/*** <<< FUNC-DECLS [Fault] >>> ***/
98
99extern asn_TYPE_descriptor_t asn_DEF_Fault;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800100extern asn_SET_OF_specifics_t asn_SPC_Fault_specs_1;
101extern asn_TYPE_member_t asn_MBR_Fault_1[1];
Lev Walkinc8285712005-03-04 22:18:20 +0000102
103/*** <<< POST-INCLUDE [Fault] >>> ***/
104
Lev Walkin22b5ed42006-09-13 02:51:20 +0000105#include "Error.h"
Lev Walkinc8285712005-03-04 22:18:20 +0000106
Lev Walkina9cc46e2004-09-22 16:06:28 +0000107/*** <<< STAT-DEFS [Fault] >>> ***/
108
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800109asn_TYPE_member_t asn_MBR_Fault_1[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +0000110 { ATF_POINTER, 0, 0,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000111 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
112 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000113 .type = &asn_DEF_Error,
Lev Walkin67a30122017-08-10 05:48:54 -0700114 .type_selector = 0,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000115 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400116 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000117 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
118 .default_value = 0,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000119 .name = ""
120 },
121};
Lev Walkina7591b52014-10-12 18:37:35 -0700122static const ber_tlv_tag_t asn_DEF_Fault_tags_1[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000123 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
124};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800125asn_SET_OF_specifics_t asn_SPC_Fault_specs_1 = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000126 sizeof(struct Fault),
Lev Walkindfae9752004-09-29 13:19:37 +0000127 offsetof(struct Fault, _asn_ctx),
Lev Walkina9cc46e2004-09-22 16:06:28 +0000128 0, /* XER encoding is XMLDelimitedItemList */
129};
Lev Walkindfae9752004-09-29 13:19:37 +0000130asn_TYPE_descriptor_t asn_DEF_Fault = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000131 "Fault",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000132 "Fault",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000133 SET_OF_free,
134 SET_OF_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700135 SET_OF_compare,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000136 SET_OF_constraint,
137 SET_OF_decode_ber,
138 SET_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000139 SET_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000140 SET_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700141 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400142 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000143 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000144 asn_DEF_Fault_tags_1,
145 sizeof(asn_DEF_Fault_tags_1)
146 /sizeof(asn_DEF_Fault_tags_1[0]), /* 1 */
147 asn_DEF_Fault_tags_1, /* Same as above */
148 sizeof(asn_DEF_Fault_tags_1)
149 /sizeof(asn_DEF_Fault_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400150 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000151 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000152 asn_MBR_Fault_1,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000153 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000154 &asn_SPC_Fault_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000155};
156
157
158/*** <<< INCLUDES [Error] >>> ***/
159
160#include <constr_SEQUENCE.h>
161
Lev Walkina9cc46e2004-09-22 16:06:28 +0000162/*** <<< TYPE-DECLS [Error] >>> ***/
163
Lev Walkina9cc46e2004-09-22 16:06:28 +0000164typedef struct Error {
165 /*
166 * This type is extensible,
167 * possible extensions are below.
168 */
169
170 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +0000171 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +0000172} Error_t;
173
Lev Walkinc8285712005-03-04 22:18:20 +0000174/*** <<< FUNC-DECLS [Error] >>> ***/
175
176extern asn_TYPE_descriptor_t asn_DEF_Error;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800177extern asn_SEQUENCE_specifics_t asn_SPC_Error_specs_1;
Lev Walkinc8285712005-03-04 22:18:20 +0000178
Lev Walkina9cc46e2004-09-22 16:06:28 +0000179/*** <<< STAT-DEFS [Error] >>> ***/
180
Lev Walkina7591b52014-10-12 18:37:35 -0700181static const ber_tlv_tag_t asn_DEF_Error_tags_1[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000182 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
183};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800184asn_SEQUENCE_specifics_t asn_SPC_Error_specs_1 = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000185 sizeof(struct Error),
Lev Walkindfae9752004-09-29 13:19:37 +0000186 offsetof(struct Error, _asn_ctx),
Lev Walkinb3ee6a62005-05-27 21:58:41 +0000187 0, /* No top level tags */
188 0, /* No tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000189 0, 0, 0, /* Optional elements (not needed) */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000190 -1, /* Start extensions */
191 -1 /* Stop extensions */
192};
Lev Walkindfae9752004-09-29 13:19:37 +0000193asn_TYPE_descriptor_t asn_DEF_Error = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000194 "Error",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000195 "Error",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000196 SEQUENCE_free,
197 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700198 SEQUENCE_compare,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000199 SEQUENCE_constraint,
200 SEQUENCE_decode_ber,
201 SEQUENCE_encode_der,
Lev Walkin61b40d82004-10-23 15:07:45 +0000202 SEQUENCE_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000203 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700204 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400205 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000206 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000207 asn_DEF_Error_tags_1,
208 sizeof(asn_DEF_Error_tags_1)
209 /sizeof(asn_DEF_Error_tags_1[0]), /* 1 */
210 asn_DEF_Error_tags_1, /* Same as above */
211 sizeof(asn_DEF_Error_tags_1)
212 /sizeof(asn_DEF_Error_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400213 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000214 0, /* No PER visible constraints */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000215 0, 0, /* No members */
Lev Walkin59b176e2005-11-26 11:25:14 +0000216 &asn_SPC_Error_specs_1 /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000217};
218
Lev Walkin1eded352006-07-13 11:19:01 +0000219
220/*** <<< INCLUDES [SeqWithMandatory] >>> ***/
221
222#include <UTF8String.h>
223#include <asn_SEQUENCE_OF.h>
224#include <constr_SEQUENCE_OF.h>
225#include <constr_SEQUENCE.h>
226
227/*** <<< FWD-DECLS [SeqWithMandatory] >>> ***/
228
229struct Error;
230
231/*** <<< TYPE-DECLS [SeqWithMandatory] >>> ***/
232
233typedef struct SeqWithMandatory {
234 UTF8String_t someString;
235 struct seqOfMan {
236 A_SEQUENCE_OF(struct Error) list;
237
238 /* Context for parsing across buffer boundaries */
239 asn_struct_ctx_t _asn_ctx;
240 } seqOfMan;
241
242 /* Context for parsing across buffer boundaries */
243 asn_struct_ctx_t _asn_ctx;
244} SeqWithMandatory_t;
245
246/*** <<< FUNC-DECLS [SeqWithMandatory] >>> ***/
247
248extern asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory;
249
250/*** <<< POST-INCLUDE [SeqWithMandatory] >>> ***/
251
Lev Walkin22b5ed42006-09-13 02:51:20 +0000252#include "Error.h"
Lev Walkin1eded352006-07-13 11:19:01 +0000253
254/*** <<< STAT-DEFS [SeqWithMandatory] >>> ***/
255
256static asn_TYPE_member_t asn_MBR_seqOfMan_3[] = {
257 { ATF_POINTER, 0, 0,
258 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
259 .tag_mode = 0,
260 .type = &asn_DEF_Error,
Lev Walkin67a30122017-08-10 05:48:54 -0700261 .type_selector = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000262 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400263 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin1eded352006-07-13 11:19:01 +0000264 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
265 .default_value = 0,
266 .name = ""
267 },
268};
Lev Walkina7591b52014-10-12 18:37:35 -0700269static const ber_tlv_tag_t asn_DEF_seqOfMan_tags_3[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000270 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
271 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
272};
273static asn_SET_OF_specifics_t asn_SPC_seqOfMan_specs_3 = {
274 sizeof(struct seqOfMan),
275 offsetof(struct seqOfMan, _asn_ctx),
276 0, /* XER encoding is XMLDelimitedItemList */
277};
278static /* Use -fall-defs-global to expose */
279asn_TYPE_descriptor_t asn_DEF_seqOfMan_3 = {
280 "seqOfMan",
281 "seqOfMan",
282 SEQUENCE_OF_free,
283 SEQUENCE_OF_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700284 SEQUENCE_OF_compare,
Lev Walkin1eded352006-07-13 11:19:01 +0000285 SEQUENCE_OF_constraint,
286 SEQUENCE_OF_decode_ber,
287 SEQUENCE_OF_encode_der,
288 SEQUENCE_OF_decode_xer,
289 SEQUENCE_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700290 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400291 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin1eded352006-07-13 11:19:01 +0000292 0, /* Use generic outmost tag fetcher */
293 asn_DEF_seqOfMan_tags_3,
294 sizeof(asn_DEF_seqOfMan_tags_3)
295 /sizeof(asn_DEF_seqOfMan_tags_3[0]), /* 2 */
296 asn_DEF_seqOfMan_tags_3, /* Same as above */
297 sizeof(asn_DEF_seqOfMan_tags_3)
298 /sizeof(asn_DEF_seqOfMan_tags_3[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400299 0, /* No OER visible constraints */
Lev Walkin1eded352006-07-13 11:19:01 +0000300 0, /* No PER visible constraints */
301 asn_MBR_seqOfMan_3,
302 1, /* Single element */
303 &asn_SPC_seqOfMan_specs_3 /* Additional specs */
304};
305
306static asn_TYPE_member_t asn_MBR_SeqWithMandatory_1[] = {
307 { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, someString),
308 .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
309 .tag_mode = 0,
310 .type = &asn_DEF_UTF8String,
Lev Walkin67a30122017-08-10 05:48:54 -0700311 .type_selector = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000312 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400313 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin1eded352006-07-13 11:19:01 +0000314 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
315 .default_value = 0,
316 .name = "someString"
317 },
318 { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, seqOfMan),
319 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000320 .tag_mode = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000321 .type = &asn_DEF_seqOfMan_3,
Lev Walkin67a30122017-08-10 05:48:54 -0700322 .type_selector = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000323 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400324 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin1eded352006-07-13 11:19:01 +0000325 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
326 .default_value = 0,
327 .name = "seqOfMan"
328 },
329};
Lev Walkina7591b52014-10-12 18:37:35 -0700330static const ber_tlv_tag_t asn_DEF_SeqWithMandatory_tags_1[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000331 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
332};
Lev Walkina7591b52014-10-12 18:37:35 -0700333static const asn_TYPE_tag2member_t asn_MAP_SeqWithMandatory_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700334 { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
335 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfMan */
Lev Walkin1eded352006-07-13 11:19:01 +0000336};
337static asn_SEQUENCE_specifics_t asn_SPC_SeqWithMandatory_specs_1 = {
338 sizeof(struct SeqWithMandatory),
339 offsetof(struct SeqWithMandatory, _asn_ctx),
340 asn_MAP_SeqWithMandatory_tag2el_1,
341 2, /* Count of tags in the map */
342 0, 0, 0, /* Optional elements (not needed) */
343 -1, /* Start extensions */
344 -1 /* Stop extensions */
345};
346asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory = {
347 "SeqWithMandatory",
348 "SeqWithMandatory",
349 SEQUENCE_free,
350 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700351 SEQUENCE_compare,
Lev Walkin1eded352006-07-13 11:19:01 +0000352 SEQUENCE_constraint,
353 SEQUENCE_decode_ber,
354 SEQUENCE_encode_der,
355 SEQUENCE_decode_xer,
356 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700357 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400358 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin1eded352006-07-13 11:19:01 +0000359 0, /* Use generic outmost tag fetcher */
360 asn_DEF_SeqWithMandatory_tags_1,
361 sizeof(asn_DEF_SeqWithMandatory_tags_1)
362 /sizeof(asn_DEF_SeqWithMandatory_tags_1[0]), /* 1 */
363 asn_DEF_SeqWithMandatory_tags_1, /* Same as above */
364 sizeof(asn_DEF_SeqWithMandatory_tags_1)
365 /sizeof(asn_DEF_SeqWithMandatory_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400366 0, /* No OER visible constraints */
Lev Walkin1eded352006-07-13 11:19:01 +0000367 0, /* No PER visible constraints */
368 asn_MBR_SeqWithMandatory_1,
369 2, /* Elements count */
370 &asn_SPC_SeqWithMandatory_specs_1 /* Additional specs */
371};
372
373
374/*** <<< INCLUDES [SeqWithOptional] >>> ***/
375
376#include <UTF8String.h>
377#include <asn_SEQUENCE_OF.h>
378#include <constr_SEQUENCE_OF.h>
379#include <constr_SEQUENCE.h>
380
381/*** <<< FWD-DECLS [SeqWithOptional] >>> ***/
382
383struct Error;
384
385/*** <<< TYPE-DECLS [SeqWithOptional] >>> ***/
386
387typedef struct SeqWithOptional {
388 UTF8String_t someString;
389 struct seqOfOpt {
390 A_SEQUENCE_OF(struct Error) list;
391
392 /* Context for parsing across buffer boundaries */
393 asn_struct_ctx_t _asn_ctx;
394 } *seqOfOpt;
395
396 /* Context for parsing across buffer boundaries */
397 asn_struct_ctx_t _asn_ctx;
398} SeqWithOptional_t;
399
400/*** <<< FUNC-DECLS [SeqWithOptional] >>> ***/
401
402extern asn_TYPE_descriptor_t asn_DEF_SeqWithOptional;
403
404/*** <<< POST-INCLUDE [SeqWithOptional] >>> ***/
405
Lev Walkin22b5ed42006-09-13 02:51:20 +0000406#include "Error.h"
Lev Walkin1eded352006-07-13 11:19:01 +0000407
408/*** <<< STAT-DEFS [SeqWithOptional] >>> ***/
409
410static asn_TYPE_member_t asn_MBR_seqOfOpt_3[] = {
411 { ATF_POINTER, 0, 0,
412 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
413 .tag_mode = 0,
414 .type = &asn_DEF_Error,
Lev Walkin67a30122017-08-10 05:48:54 -0700415 .type_selector = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000416 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400417 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin1eded352006-07-13 11:19:01 +0000418 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
419 .default_value = 0,
420 .name = ""
421 },
422};
Lev Walkina7591b52014-10-12 18:37:35 -0700423static const ber_tlv_tag_t asn_DEF_seqOfOpt_tags_3[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000424 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
425 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
426};
427static asn_SET_OF_specifics_t asn_SPC_seqOfOpt_specs_3 = {
428 sizeof(struct seqOfOpt),
429 offsetof(struct seqOfOpt, _asn_ctx),
430 0, /* XER encoding is XMLDelimitedItemList */
431};
432static /* Use -fall-defs-global to expose */
433asn_TYPE_descriptor_t asn_DEF_seqOfOpt_3 = {
434 "seqOfOpt",
435 "seqOfOpt",
436 SEQUENCE_OF_free,
437 SEQUENCE_OF_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700438 SEQUENCE_OF_compare,
Lev Walkin1eded352006-07-13 11:19:01 +0000439 SEQUENCE_OF_constraint,
440 SEQUENCE_OF_decode_ber,
441 SEQUENCE_OF_encode_der,
442 SEQUENCE_OF_decode_xer,
443 SEQUENCE_OF_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700444 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400445 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin1eded352006-07-13 11:19:01 +0000446 0, /* Use generic outmost tag fetcher */
447 asn_DEF_seqOfOpt_tags_3,
448 sizeof(asn_DEF_seqOfOpt_tags_3)
449 /sizeof(asn_DEF_seqOfOpt_tags_3[0]), /* 2 */
450 asn_DEF_seqOfOpt_tags_3, /* Same as above */
451 sizeof(asn_DEF_seqOfOpt_tags_3)
452 /sizeof(asn_DEF_seqOfOpt_tags_3[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400453 0, /* No OER visible constraints */
Lev Walkin1eded352006-07-13 11:19:01 +0000454 0, /* No PER visible constraints */
455 asn_MBR_seqOfOpt_3,
456 1, /* Single element */
457 &asn_SPC_seqOfOpt_specs_3 /* Additional specs */
458};
459
460static asn_TYPE_member_t asn_MBR_SeqWithOptional_1[] = {
461 { ATF_NOFLAGS, 0, offsetof(struct SeqWithOptional, someString),
462 .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
463 .tag_mode = 0,
464 .type = &asn_DEF_UTF8String,
Lev Walkin67a30122017-08-10 05:48:54 -0700465 .type_selector = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000466 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400467 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin1eded352006-07-13 11:19:01 +0000468 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
469 .default_value = 0,
470 .name = "someString"
471 },
472 { ATF_POINTER, 1, offsetof(struct SeqWithOptional, seqOfOpt),
473 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Lev Walkin9ab21b82006-10-19 02:46:01 +0000474 .tag_mode = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000475 .type = &asn_DEF_seqOfOpt_3,
Lev Walkin67a30122017-08-10 05:48:54 -0700476 .type_selector = 0,
Lev Walkin1eded352006-07-13 11:19:01 +0000477 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400478 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin1eded352006-07-13 11:19:01 +0000479 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
480 .default_value = 0,
481 .name = "seqOfOpt"
482 },
483};
Lev Walkina7591b52014-10-12 18:37:35 -0700484static const ber_tlv_tag_t asn_DEF_SeqWithOptional_tags_1[] = {
Lev Walkin1eded352006-07-13 11:19:01 +0000485 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
486};
Lev Walkina7591b52014-10-12 18:37:35 -0700487static const asn_TYPE_tag2member_t asn_MAP_SeqWithOptional_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700488 { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
489 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfOpt */
Lev Walkin1eded352006-07-13 11:19:01 +0000490};
491static asn_SEQUENCE_specifics_t asn_SPC_SeqWithOptional_specs_1 = {
492 sizeof(struct SeqWithOptional),
493 offsetof(struct SeqWithOptional, _asn_ctx),
494 asn_MAP_SeqWithOptional_tag2el_1,
495 2, /* Count of tags in the map */
496 0, 0, 0, /* Optional elements (not needed) */
497 -1, /* Start extensions */
498 -1 /* Stop extensions */
499};
500asn_TYPE_descriptor_t asn_DEF_SeqWithOptional = {
501 "SeqWithOptional",
502 "SeqWithOptional",
503 SEQUENCE_free,
504 SEQUENCE_print,
Lev Walkincd2f48e2017-08-10 02:14:59 -0700505 SEQUENCE_compare,
Lev Walkin1eded352006-07-13 11:19:01 +0000506 SEQUENCE_constraint,
507 SEQUENCE_decode_ber,
508 SEQUENCE_encode_der,
509 SEQUENCE_decode_xer,
510 SEQUENCE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700511 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400512 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin1eded352006-07-13 11:19:01 +0000513 0, /* Use generic outmost tag fetcher */
514 asn_DEF_SeqWithOptional_tags_1,
515 sizeof(asn_DEF_SeqWithOptional_tags_1)
516 /sizeof(asn_DEF_SeqWithOptional_tags_1[0]), /* 1 */
517 asn_DEF_SeqWithOptional_tags_1, /* Same as above */
518 sizeof(asn_DEF_SeqWithOptional_tags_1)
519 /sizeof(asn_DEF_SeqWithOptional_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400520 0, /* No OER visible constraints */
Lev Walkin1eded352006-07-13 11:19:01 +0000521 0, /* No PER visible constraints */
522 asn_MBR_SeqWithOptional_1,
523 2, /* Elements count */
524 &asn_SPC_SeqWithOptional_specs_1 /* Additional specs */
525};
526