2 /*** <<< INCLUDES [Programming] >>> ***/
4 #include <asn_SEQUENCE_OF.h>
5 #include <constr_SEQUENCE_OF.h>
7 /*** <<< FWD-DECLS [Programming] >>> ***/
11 /*** <<< TYPE-DECLS [Programming] >>> ***/
13 typedef struct Programming {
14 A_SEQUENCE_OF(struct Fault) list;
16 /* Context for parsing across buffer boundaries */
17 asn_struct_ctx_t _asn_ctx;
20 /*** <<< FUNC-DECLS [Programming] >>> ***/
22 extern asn_TYPE_descriptor_t asn_DEF_Programming;
24 /*** <<< POST-INCLUDE [Programming] >>> ***/
28 /*** <<< STAT-DEFS [Programming] >>> ***/
30 static asn_TYPE_member_t asn_MBR_Programming_1[] = {
32 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
33 .tag_mode = -1, /* IMPLICIT tag at current level */
34 .type = &asn_DEF_Fault,
36 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
37 0, 0, /* No default value */
41 static const ber_tlv_tag_t asn_DEF_Programming_tags_1[] = {
42 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
44 static asn_SET_OF_specifics_t asn_SPC_Programming_specs_1 = {
45 sizeof(struct Programming),
46 offsetof(struct Programming, _asn_ctx),
47 0, /* XER encoding is XMLDelimitedItemList */
49 asn_TYPE_descriptor_t asn_DEF_Programming = {
53 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 */
59 { 0, 0, SEQUENCE_OF_constraint },
60 asn_MBR_Programming_1,
61 1, /* Single element */
62 &asn_SPC_Programming_specs_1 /* Additional specs */
66 /*** <<< INCLUDES [Fault] >>> ***/
68 #include <asn_SET_OF.h>
69 #include <constr_SET_OF.h>
71 /*** <<< FWD-DECLS [Fault] >>> ***/
75 /*** <<< TYPE-DECLS [Fault] >>> ***/
77 typedef struct Fault {
78 A_SET_OF(struct Error) list;
80 /* Context for parsing across buffer boundaries */
81 asn_struct_ctx_t _asn_ctx;
84 /*** <<< FUNC-DECLS [Fault] >>> ***/
86 extern asn_TYPE_descriptor_t asn_DEF_Fault;
87 extern asn_SET_OF_specifics_t asn_SPC_Fault_specs_1;
88 extern asn_TYPE_member_t asn_MBR_Fault_1[1];
90 /*** <<< POST-INCLUDE [Fault] >>> ***/
94 /*** <<< STAT-DEFS [Fault] >>> ***/
96 asn_TYPE_member_t asn_MBR_Fault_1[] = {
98 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
100 .type = &asn_DEF_Error,
102 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
103 0, 0, /* No default value */
107 static const ber_tlv_tag_t asn_DEF_Fault_tags_1[] = {
108 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
110 asn_SET_OF_specifics_t asn_SPC_Fault_specs_1 = {
111 sizeof(struct Fault),
112 offsetof(struct Fault, _asn_ctx),
113 0, /* XER encoding is XMLDelimitedItemList */
115 asn_TYPE_descriptor_t asn_DEF_Fault = {
119 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 */
125 { 0, 0, SET_OF_constraint },
127 1, /* Single element */
128 &asn_SPC_Fault_specs_1 /* Additional specs */
132 /*** <<< INCLUDES [Error] >>> ***/
134 #include <constr_SEQUENCE.h>
136 /*** <<< TYPE-DECLS [Error] >>> ***/
138 typedef struct Error {
140 * This type is extensible,
141 * possible extensions are below.
144 /* Context for parsing across buffer boundaries */
145 asn_struct_ctx_t _asn_ctx;
148 /*** <<< FUNC-DECLS [Error] >>> ***/
150 extern asn_TYPE_descriptor_t asn_DEF_Error;
151 extern asn_SEQUENCE_specifics_t asn_SPC_Error_specs_1;
153 /*** <<< STAT-DEFS [Error] >>> ***/
155 static const ber_tlv_tag_t asn_DEF_Error_tags_1[] = {
156 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
158 asn_SEQUENCE_specifics_t asn_SPC_Error_specs_1 = {
159 sizeof(struct Error),
160 offsetof(struct Error, _asn_ctx),
161 0, /* No top level tags */
162 0, /* No tags in the map */
163 0, 0, 0, /* Optional elements (not needed) */
164 -1, /* First extension addition */
166 asn_TYPE_descriptor_t asn_DEF_Error = {
170 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 */
176 { 0, 0, SEQUENCE_constraint },
177 0, 0, /* No members */
178 &asn_SPC_Error_specs_1 /* Additional specs */
182 /*** <<< INCLUDES [SeqWithMandatory] >>> ***/
184 #include <UTF8String.h>
185 #include <asn_SEQUENCE_OF.h>
186 #include <constr_SEQUENCE_OF.h>
187 #include <constr_SEQUENCE.h>
189 /*** <<< FWD-DECLS [SeqWithMandatory] >>> ***/
193 /*** <<< TYPE-DECLS [SeqWithMandatory] >>> ***/
195 typedef struct SeqWithMandatory {
196 UTF8String_t someString;
198 A_SEQUENCE_OF(struct Error) list;
200 /* Context for parsing across buffer boundaries */
201 asn_struct_ctx_t _asn_ctx;
204 /* Context for parsing across buffer boundaries */
205 asn_struct_ctx_t _asn_ctx;
206 } SeqWithMandatory_t;
208 /*** <<< FUNC-DECLS [SeqWithMandatory] >>> ***/
210 extern asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory;
212 /*** <<< POST-INCLUDE [SeqWithMandatory] >>> ***/
216 /*** <<< STAT-DEFS [SeqWithMandatory] >>> ***/
218 static asn_TYPE_member_t asn_MBR_seqOfMan_3[] = {
220 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
222 .type = &asn_DEF_Error,
224 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
225 0, 0, /* No default value */
229 static const ber_tlv_tag_t asn_DEF_seqOfMan_tags_3[] = {
230 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
231 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
233 static 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 */
238 static /* Use -fall-defs-global to expose */
239 asn_TYPE_descriptor_t asn_DEF_seqOfMan_3 = {
243 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 */
249 { 0, 0, SEQUENCE_OF_constraint },
251 1, /* Single element */
252 &asn_SPC_seqOfMan_specs_3 /* Additional specs */
255 static asn_TYPE_member_t asn_MBR_SeqWithMandatory_1[] = {
256 { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, someString),
257 .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
259 .type = &asn_DEF_UTF8String,
261 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
262 0, 0, /* No default value */
265 { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, seqOfMan),
266 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
268 .type = &asn_DEF_seqOfMan_3,
270 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
271 0, 0, /* No default value */
275 static const ber_tlv_tag_t asn_DEF_SeqWithMandatory_tags_1[] = {
276 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
278 static const asn_TYPE_tag2member_t asn_MAP_SeqWithMandatory_tag2el_1[] = {
279 { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
280 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfMan */
282 static asn_SEQUENCE_specifics_t asn_SPC_SeqWithMandatory_specs_1 = {
283 sizeof(struct SeqWithMandatory),
284 offsetof(struct SeqWithMandatory, _asn_ctx),
285 .tag2el = asn_MAP_SeqWithMandatory_tag2el_1,
286 .tag2el_count = 2, /* Count of tags in the map */
287 0, 0, 0, /* Optional elements (not needed) */
288 -1, /* First extension addition */
290 asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory = {
294 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 */
300 { 0, 0, SEQUENCE_constraint },
301 asn_MBR_SeqWithMandatory_1,
302 2, /* Elements count */
303 &asn_SPC_SeqWithMandatory_specs_1 /* Additional specs */
307 /*** <<< INCLUDES [SeqWithOptional] >>> ***/
309 #include <UTF8String.h>
310 #include <asn_SEQUENCE_OF.h>
311 #include <constr_SEQUENCE_OF.h>
312 #include <constr_SEQUENCE.h>
314 /*** <<< FWD-DECLS [SeqWithOptional] >>> ***/
318 /*** <<< TYPE-DECLS [SeqWithOptional] >>> ***/
320 typedef struct SeqWithOptional {
321 UTF8String_t someString;
323 A_SEQUENCE_OF(struct Error) list;
325 /* Context for parsing across buffer boundaries */
326 asn_struct_ctx_t _asn_ctx;
329 /* Context for parsing across buffer boundaries */
330 asn_struct_ctx_t _asn_ctx;
333 /*** <<< FUNC-DECLS [SeqWithOptional] >>> ***/
335 extern asn_TYPE_descriptor_t asn_DEF_SeqWithOptional;
337 /*** <<< POST-INCLUDE [SeqWithOptional] >>> ***/
341 /*** <<< STAT-DEFS [SeqWithOptional] >>> ***/
343 static asn_TYPE_member_t asn_MBR_seqOfOpt_3[] = {
345 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
347 .type = &asn_DEF_Error,
349 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
350 0, 0, /* No default value */
354 static const ber_tlv_tag_t asn_DEF_seqOfOpt_tags_3[] = {
355 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
356 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
358 static 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 */
363 static /* Use -fall-defs-global to expose */
364 asn_TYPE_descriptor_t asn_DEF_seqOfOpt_3 = {
368 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 */
374 { 0, 0, SEQUENCE_OF_constraint },
376 1, /* Single element */
377 &asn_SPC_seqOfOpt_specs_3 /* Additional specs */
380 static asn_TYPE_member_t asn_MBR_SeqWithOptional_1[] = {
381 { ATF_NOFLAGS, 0, offsetof(struct SeqWithOptional, someString),
382 .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
384 .type = &asn_DEF_UTF8String,
386 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
387 0, 0, /* No default value */
390 { ATF_POINTER, 1, offsetof(struct SeqWithOptional, seqOfOpt),
391 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
393 .type = &asn_DEF_seqOfOpt_3,
395 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
396 0, 0, /* No default value */
400 static const ber_tlv_tag_t asn_DEF_SeqWithOptional_tags_1[] = {
401 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
403 static const asn_TYPE_tag2member_t asn_MAP_SeqWithOptional_tag2el_1[] = {
404 { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
405 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfOpt */
407 static asn_SEQUENCE_specifics_t asn_SPC_SeqWithOptional_specs_1 = {
408 sizeof(struct SeqWithOptional),
409 offsetof(struct SeqWithOptional, _asn_ctx),
410 .tag2el = asn_MAP_SeqWithOptional_tag2el_1,
411 .tag2el_count = 2, /* Count of tags in the map */
412 0, 0, 0, /* Optional elements (not needed) */
413 -1, /* First extension addition */
415 asn_TYPE_descriptor_t asn_DEF_SeqWithOptional = {
419 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 */
425 { 0, 0, SEQUENCE_constraint },
426 asn_MBR_SeqWithOptional_1,
427 2, /* Elements count */
428 &asn_SPC_SeqWithOptional_specs_1 /* Additional specs */
432 /*** <<< asn_constant.h >>> ***/
435 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
438 #ifndef _ASN_CONSTANT_H
439 #define _ASN_CONSTANT_H
452 #endif /* _ASN_CONSTANT_H */