blob: 2c356b9b86b5faa242b8eb4c8def87f4e0e1d7ba [file] [log] [blame]
vlm0d9046e2005-02-14 20:40:57 +00001
2/*** <<< INCLUDES [PDU] >>> ***/
3
4#include <Sequence.h>
5#include <Set.h>
6#include <SetOf.h>
vlm422e4ce2005-02-18 16:30:26 +00007#include <SequenceOf.h>
8#include <ExtensibleSet.h>
9#include <ExtensibleSequence.h>
vlm6d5cb6b2005-02-24 22:38:43 +000010#include <SetOfNULL.h>
11#include <SetOfEnums.h>
12#include <SeqOfZuka.h>
vlm0d9046e2005-02-14 20:40:57 +000013#include <constr_CHOICE.h>
14
15/*** <<< DEPS [PDU] >>> ***/
16
17typedef enum PDU_PR {
18 PDU_PR_NOTHING, /* No components present */
19 PDU_PR_sequence,
20 PDU_PR_set,
21 PDU_PR_setOf,
vlm422e4ce2005-02-18 16:30:26 +000022 PDU_PR_sequenceOf,
23 PDU_PR_extensibleSet,
24 PDU_PR_extensibleSequence,
vlm6d5cb6b2005-02-24 22:38:43 +000025 PDU_PR_setOfNULL,
26 PDU_PR_setOfEnums,
27 PDU_PR_seqOfZuka,
vlm422e4ce2005-02-18 16:30:26 +000028 /* Extensions may appear below */
vlm0d9046e2005-02-14 20:40:57 +000029} PDU_PR;
30extern asn_TYPE_descriptor_t asn_DEF_PDU;
31
32/*** <<< TYPE-DECLS [PDU] >>> ***/
33
34
35typedef struct PDU {
36 PDU_PR present;
37 union {
38 Sequence_t sequence;
39 Set_t set;
40 SetOf_t setOf;
vlm422e4ce2005-02-18 16:30:26 +000041 SequenceOf_t sequenceOf;
42 ExtensibleSet_t extensibleSet;
43 ExtensibleSequence_t extensibleSequence;
vlm6d5cb6b2005-02-24 22:38:43 +000044 SetOfNULL_t setOfNULL;
45 SetOfEnums_t setOfEnums;
46 SeqOfZuka_t seqOfZuka;
vlm422e4ce2005-02-18 16:30:26 +000047 /*
48 * This type is extensible,
49 * possible extensions are below.
50 */
vlm0d9046e2005-02-14 20:40:57 +000051 } choice;
52
53 /* Context for parsing across buffer boundaries */
54 asn_struct_ctx_t _asn_ctx;
55} PDU_t;
56
57/*** <<< STAT-DEFS [PDU] >>> ***/
58
vlm44fe49a2005-03-04 11:26:08 +000059static asn_TYPE_member_t asn_MBR_PDU_1[] = {
vlm0d9046e2005-02-14 20:40:57 +000060 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.sequence),
61 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
62 .tag_mode = -1, /* IMPLICIT tag at current level */
63 .type = (void *)&asn_DEF_Sequence,
64 .memb_constraints = 0, /* Defer constraints checking to the member type */
65 .name = "sequence"
66 },
67 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.set),
68 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
69 .tag_mode = -1, /* IMPLICIT tag at current level */
70 .type = (void *)&asn_DEF_Set,
71 .memb_constraints = 0, /* Defer constraints checking to the member type */
72 .name = "set"
73 },
74 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.setOf),
75 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
76 .tag_mode = -1, /* IMPLICIT tag at current level */
77 .type = (void *)&asn_DEF_SetOf,
78 .memb_constraints = 0, /* Defer constraints checking to the member type */
79 .name = "setOf"
80 },
vlm422e4ce2005-02-18 16:30:26 +000081 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.sequenceOf),
vlm0d9046e2005-02-14 20:40:57 +000082 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
83 .tag_mode = -1, /* IMPLICIT tag at current level */
vlm422e4ce2005-02-18 16:30:26 +000084 .type = (void *)&asn_DEF_SequenceOf,
vlm0d9046e2005-02-14 20:40:57 +000085 .memb_constraints = 0, /* Defer constraints checking to the member type */
vlm422e4ce2005-02-18 16:30:26 +000086 .name = "sequenceOf"
87 },
88 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.extensibleSet),
89 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
90 .tag_mode = -1, /* IMPLICIT tag at current level */
91 .type = (void *)&asn_DEF_ExtensibleSet,
92 .memb_constraints = 0, /* Defer constraints checking to the member type */
93 .name = "extensibleSet"
94 },
95 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.extensibleSequence),
96 .tag = (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
97 .tag_mode = -1, /* IMPLICIT tag at current level */
98 .type = (void *)&asn_DEF_ExtensibleSequence,
99 .memb_constraints = 0, /* Defer constraints checking to the member type */
100 .name = "extensibleSequence"
vlm0d9046e2005-02-14 20:40:57 +0000101 },
vlm6d5cb6b2005-02-24 22:38:43 +0000102 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.setOfNULL),
103 .tag = (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
104 .tag_mode = -1, /* IMPLICIT tag at current level */
105 .type = (void *)&asn_DEF_SetOfNULL,
106 .memb_constraints = 0, /* Defer constraints checking to the member type */
107 .name = "setOfNULL"
108 },
109 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.setOfEnums),
110 .tag = (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
111 .tag_mode = -1, /* IMPLICIT tag at current level */
112 .type = (void *)&asn_DEF_SetOfEnums,
113 .memb_constraints = 0, /* Defer constraints checking to the member type */
114 .name = "setOfEnums"
115 },
116 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.seqOfZuka),
117 .tag = (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
118 .tag_mode = -1, /* IMPLICIT tag at current level */
119 .type = (void *)&asn_DEF_SeqOfZuka,
120 .memb_constraints = 0, /* Defer constraints checking to the member type */
121 .name = "seqOfZuka"
122 },
vlm0d9046e2005-02-14 20:40:57 +0000123};
vlm44fe49a2005-03-04 11:26:08 +0000124static asn_TYPE_tag2member_t asn_MAP_PDU_1_tag2el[] = {
vlm0d9046e2005-02-14 20:40:57 +0000125 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sequence at 19 */
126 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* set at 20 */
127 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* setOf at 21 */
vlm422e4ce2005-02-18 16:30:26 +0000128 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* sequenceOf at 22 */
129 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* extensibleSet at 23 */
130 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* extensibleSequence at 24 */
vlm6d5cb6b2005-02-24 22:38:43 +0000131 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* setOfNULL at 25 */
132 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* setOfEnums at 26 */
vlm82e33fb2005-02-25 08:35:54 +0000133 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 } /* seqOfZuka at 27 */
vlm0d9046e2005-02-14 20:40:57 +0000134};
vlm44fe49a2005-03-04 11:26:08 +0000135static asn_CHOICE_specifics_t asn_SPC_PDU_1_specs = {
vlm0d9046e2005-02-14 20:40:57 +0000136 sizeof(struct PDU),
137 offsetof(struct PDU, _asn_ctx),
138 offsetof(struct PDU, present),
139 sizeof(((struct PDU *)0)->present),
vlm44fe49a2005-03-04 11:26:08 +0000140 asn_MAP_PDU_1_tag2el,
vlm6d5cb6b2005-02-24 22:38:43 +0000141 9, /* Count of tags in the map */
vlm422e4ce2005-02-18 16:30:26 +0000142 1 /* Whether extensible */
vlm0d9046e2005-02-14 20:40:57 +0000143};
144asn_TYPE_descriptor_t asn_DEF_PDU = {
145 "PDU",
146 "PDU",
147 CHOICE_free,
148 CHOICE_print,
149 CHOICE_constraint,
150 CHOICE_decode_ber,
151 CHOICE_encode_der,
152 CHOICE_decode_xer,
153 CHOICE_encode_xer,
154 CHOICE_outmost_tag,
155 0, /* No effective tags (pointer) */
156 0, /* No effective tags (count) */
157 0, /* No tags (pointer) */
158 0, /* No tags (count) */
vlm44fe49a2005-03-04 11:26:08 +0000159 asn_MBR_PDU_1,
vlm6d5cb6b2005-02-24 22:38:43 +0000160 9, /* Elements count */
vlm44fe49a2005-03-04 11:26:08 +0000161 &asn_SPC_PDU_1_specs /* Additional specs */
vlm0d9046e2005-02-14 20:40:57 +0000162};
163
164
165/*** <<< INCLUDES [Sequence] >>> ***/
166
167#include <INTEGER.h>
168#include <Sequence.h>
169#include <BIT_STRING.h>
170#include <UTF8String.h>
171#include <constr_SEQUENCE.h>
172
173/*** <<< DEPS [Sequence] >>> ***/
174
175
176struct Sequence; /* Forward declaration */
177extern asn_TYPE_descriptor_t asn_DEF_Sequence;
178
179/*** <<< TYPE-DECLS [Sequence] >>> ***/
180
181
182typedef struct Sequence {
183 INTEGER_t integer;
184 struct Sequence *sequence /* OPTIONAL */;
185 BIT_STRING_t *bits /* OPTIONAL */;
186 UTF8String_t string;
187
188 /* Context for parsing across buffer boundaries */
189 asn_struct_ctx_t _asn_ctx;
190} Sequence_t;
191
192/*** <<< STAT-DEFS [Sequence] >>> ***/
193
vlm44fe49a2005-03-04 11:26:08 +0000194static asn_TYPE_member_t asn_MBR_Sequence_1[] = {
vlm0d9046e2005-02-14 20:40:57 +0000195 { ATF_NOFLAGS, 0, offsetof(struct Sequence, integer),
196 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
197 .tag_mode = -1, /* IMPLICIT tag at current level */
198 .type = (void *)&asn_DEF_INTEGER,
199 .memb_constraints = 0, /* Defer constraints checking to the member type */
200 .name = "integer"
201 },
202 { ATF_POINTER, 2, offsetof(struct Sequence, sequence),
203 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
204 .tag_mode = -1, /* IMPLICIT tag at current level */
205 .type = (void *)&asn_DEF_Sequence,
206 .memb_constraints = 0, /* Defer constraints checking to the member type */
207 .name = "sequence"
208 },
209 { ATF_POINTER, 1, offsetof(struct Sequence, bits),
210 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
211 .tag_mode = -1, /* IMPLICIT tag at current level */
212 .type = (void *)&asn_DEF_BIT_STRING,
213 .memb_constraints = 0, /* Defer constraints checking to the member type */
214 .name = "bits"
215 },
216 { ATF_NOFLAGS, 0, offsetof(struct Sequence, string),
217 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
218 .tag_mode = -1, /* IMPLICIT tag at current level */
219 .type = (void *)&asn_DEF_UTF8String,
220 .memb_constraints = 0, /* Defer constraints checking to the member type */
221 .name = "string"
222 },
223};
vlm44fe49a2005-03-04 11:26:08 +0000224static ber_tlv_tag_t asn_DEF_Sequence_1_tags[] = {
vlm0d9046e2005-02-14 20:40:57 +0000225 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
226};
vlm44fe49a2005-03-04 11:26:08 +0000227static asn_TYPE_tag2member_t asn_MAP_Sequence_1_tag2el[] = {
vlm6d5cb6b2005-02-24 22:38:43 +0000228 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* integer at 32 */
229 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sequence at 33 */
230 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* bits at 34 */
vlm82e33fb2005-02-25 08:35:54 +0000231 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* string at 35 */
vlm0d9046e2005-02-14 20:40:57 +0000232};
vlm44fe49a2005-03-04 11:26:08 +0000233static asn_SEQUENCE_specifics_t asn_SPC_Sequence_1_specs = {
vlm0d9046e2005-02-14 20:40:57 +0000234 sizeof(struct Sequence),
235 offsetof(struct Sequence, _asn_ctx),
vlm44fe49a2005-03-04 11:26:08 +0000236 asn_MAP_Sequence_1_tag2el,
vlm0d9046e2005-02-14 20:40:57 +0000237 4, /* Count of tags in the map */
238 -1, /* Start extensions */
239 -1 /* Stop extensions */
240};
241asn_TYPE_descriptor_t asn_DEF_Sequence = {
242 "Sequence",
243 "Sequence",
244 SEQUENCE_free,
245 SEQUENCE_print,
246 SEQUENCE_constraint,
247 SEQUENCE_decode_ber,
248 SEQUENCE_encode_der,
249 SEQUENCE_decode_xer,
250 SEQUENCE_encode_xer,
251 0, /* Use generic outmost tag fetcher */
vlm44fe49a2005-03-04 11:26:08 +0000252 asn_DEF_Sequence_1_tags,
253 sizeof(asn_DEF_Sequence_1_tags)
254 /sizeof(asn_DEF_Sequence_1_tags[0]), /* 1 */
255 asn_DEF_Sequence_1_tags, /* Same as above */
256 sizeof(asn_DEF_Sequence_1_tags)
257 /sizeof(asn_DEF_Sequence_1_tags[0]), /* 1 */
258 asn_MBR_Sequence_1,
vlm0d9046e2005-02-14 20:40:57 +0000259 4, /* Elements count */
vlm44fe49a2005-03-04 11:26:08 +0000260 &asn_SPC_Sequence_1_specs /* Additional specs */
vlm0d9046e2005-02-14 20:40:57 +0000261};
262
263
264/*** <<< INCLUDES [Set] >>> ***/
265
266#include <RELATIVE-OID.h>
267#include <OCTET_STRING.h>
268#include <constr_SET.h>
269
270/*** <<< DEPS [Set] >>> ***/
271
272
273/*
274 * Method of determining the components presence
275 */
276typedef enum Set_PR {
277 Set_PR_roid, /* Member roid is present */
278 Set_PR_opaque, /* Member opaque is present */
279} Set_PR;
280extern asn_TYPE_descriptor_t asn_DEF_Set;
281
282/*** <<< TYPE-DECLS [Set] >>> ***/
283
284
285typedef struct Set {
286 RELATIVE_OID_t roid;
287 OCTET_STRING_t *opaque /* OPTIONAL */;
288
289 /* Presence bitmask: ASN_SET_ISPRESENT(pSet, Set_PR_x) */
290 unsigned int _presence_map
291 [((2+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
292
293 /* Context for parsing across buffer boundaries */
294 asn_struct_ctx_t _asn_ctx;
295} Set_t;
296
297/*** <<< STAT-DEFS [Set] >>> ***/
298
vlm44fe49a2005-03-04 11:26:08 +0000299static asn_TYPE_member_t asn_MBR_Set_1[] = {
vlm0d9046e2005-02-14 20:40:57 +0000300 { ATF_NOFLAGS, 0, offsetof(struct Set, roid),
301 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
302 .tag_mode = -1, /* IMPLICIT tag at current level */
303 .type = (void *)&asn_DEF_RELATIVE_OID,
304 .memb_constraints = 0, /* Defer constraints checking to the member type */
305 .name = "roid"
306 },
307 { ATF_POINTER, 1, offsetof(struct Set, opaque),
308 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
309 .tag_mode = -1, /* IMPLICIT tag at current level */
310 .type = (void *)&asn_DEF_OCTET_STRING,
311 .memb_constraints = 0, /* Defer constraints checking to the member type */
312 .name = "opaque"
313 },
314};
vlm44fe49a2005-03-04 11:26:08 +0000315static ber_tlv_tag_t asn_DEF_Set_1_tags[] = {
vlm0d9046e2005-02-14 20:40:57 +0000316 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
317};
vlm44fe49a2005-03-04 11:26:08 +0000318static asn_TYPE_tag2member_t asn_MAP_Set_1_tag2el[] = {
vlm6d5cb6b2005-02-24 22:38:43 +0000319 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* roid at 39 */
vlm82e33fb2005-02-25 08:35:54 +0000320 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* opaque at 40 */
vlm0d9046e2005-02-14 20:40:57 +0000321};
vlm44fe49a2005-03-04 11:26:08 +0000322static uint8_t asn_MAP_Set_1_mmap[(2 + (8 * sizeof(unsigned int)) - 1) / 8] = {
vlm0d9046e2005-02-14 20:40:57 +0000323 (1 << 7) | (0 << 6)
324};
vlm44fe49a2005-03-04 11:26:08 +0000325static asn_SET_specifics_t asn_SPC_Set_1_specs = {
vlm0d9046e2005-02-14 20:40:57 +0000326 sizeof(struct Set),
327 offsetof(struct Set, _asn_ctx),
328 offsetof(struct Set, _presence_map),
vlm44fe49a2005-03-04 11:26:08 +0000329 asn_MAP_Set_1_tag2el,
vlm0d9046e2005-02-14 20:40:57 +0000330 2, /* Count of tags in the map */
vlm44fe49a2005-03-04 11:26:08 +0000331 asn_MAP_Set_1_tag2el, /* Same as above */
vlm6d5cb6b2005-02-24 22:38:43 +0000332 2, /* Count of tags in the CXER map */
vlm0d9046e2005-02-14 20:40:57 +0000333 0, /* Whether extensible */
vlm44fe49a2005-03-04 11:26:08 +0000334 (unsigned int *)asn_MAP_Set_1_mmap /* Mandatory elements map */
vlm0d9046e2005-02-14 20:40:57 +0000335};
336asn_TYPE_descriptor_t asn_DEF_Set = {
337 "Set",
338 "Set",
339 SET_free,
340 SET_print,
341 SET_constraint,
342 SET_decode_ber,
343 SET_encode_der,
344 SET_decode_xer,
345 SET_encode_xer,
346 0, /* Use generic outmost tag fetcher */
vlm44fe49a2005-03-04 11:26:08 +0000347 asn_DEF_Set_1_tags,
348 sizeof(asn_DEF_Set_1_tags)
349 /sizeof(asn_DEF_Set_1_tags[0]), /* 1 */
350 asn_DEF_Set_1_tags, /* Same as above */
351 sizeof(asn_DEF_Set_1_tags)
352 /sizeof(asn_DEF_Set_1_tags[0]), /* 1 */
353 asn_MBR_Set_1,
vlm0d9046e2005-02-14 20:40:57 +0000354 2, /* Elements count */
vlm44fe49a2005-03-04 11:26:08 +0000355 &asn_SPC_Set_1_specs /* Additional specs */
vlm0d9046e2005-02-14 20:40:57 +0000356};
357
358
vlm422e4ce2005-02-18 16:30:26 +0000359/*** <<< INCLUDES [ExtensibleSet] >>> ***/
360
361#include <UTF8String.h>
362#include <constr_SET.h>
363
364/*** <<< DEPS [ExtensibleSet] >>> ***/
365
366
367/*
368 * Method of determining the components presence
369 */
370typedef enum ExtensibleSet_PR {
371 ExtensibleSet_PR_string, /* Member string is present */
372} ExtensibleSet_PR;
373extern asn_TYPE_descriptor_t asn_DEF_ExtensibleSet;
374
375/*** <<< TYPE-DECLS [ExtensibleSet] >>> ***/
376
377
378typedef struct ExtensibleSet {
379 UTF8String_t *string /* OPTIONAL */;
380 /*
381 * This type is extensible,
382 * possible extensions are below.
383 */
384
385 /* Presence bitmask: ASN_SET_ISPRESENT(pExtensibleSet, ExtensibleSet_PR_x) */
386 unsigned int _presence_map
387 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
388
389 /* Context for parsing across buffer boundaries */
390 asn_struct_ctx_t _asn_ctx;
391} ExtensibleSet_t;
392
393/*** <<< STAT-DEFS [ExtensibleSet] >>> ***/
394
vlm44fe49a2005-03-04 11:26:08 +0000395static asn_TYPE_member_t asn_MBR_ExtensibleSet_1[] = {
vlm422e4ce2005-02-18 16:30:26 +0000396 { ATF_POINTER, 1, offsetof(struct ExtensibleSet, string),
397 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
398 .tag_mode = -1, /* IMPLICIT tag at current level */
399 .type = (void *)&asn_DEF_UTF8String,
400 .memb_constraints = 0, /* Defer constraints checking to the member type */
401 .name = "string"
402 },
403};
vlm44fe49a2005-03-04 11:26:08 +0000404static ber_tlv_tag_t asn_DEF_ExtensibleSet_1_tags[] = {
vlm422e4ce2005-02-18 16:30:26 +0000405 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
406};
vlm44fe49a2005-03-04 11:26:08 +0000407static asn_TYPE_tag2member_t asn_MAP_ExtensibleSet_1_tag2el[] = {
vlm82e33fb2005-02-25 08:35:54 +0000408 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* string at 44 */
vlm422e4ce2005-02-18 16:30:26 +0000409};
vlm44fe49a2005-03-04 11:26:08 +0000410static uint8_t asn_MAP_ExtensibleSet_1_mmap[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
vlm422e4ce2005-02-18 16:30:26 +0000411 (0 << 7)
412};
vlm44fe49a2005-03-04 11:26:08 +0000413static asn_SET_specifics_t asn_SPC_ExtensibleSet_1_specs = {
vlm422e4ce2005-02-18 16:30:26 +0000414 sizeof(struct ExtensibleSet),
415 offsetof(struct ExtensibleSet, _asn_ctx),
416 offsetof(struct ExtensibleSet, _presence_map),
vlm44fe49a2005-03-04 11:26:08 +0000417 asn_MAP_ExtensibleSet_1_tag2el,
vlm422e4ce2005-02-18 16:30:26 +0000418 1, /* Count of tags in the map */
vlm44fe49a2005-03-04 11:26:08 +0000419 asn_MAP_ExtensibleSet_1_tag2el, /* Same as above */
vlm6d5cb6b2005-02-24 22:38:43 +0000420 1, /* Count of tags in the CXER map */
vlm422e4ce2005-02-18 16:30:26 +0000421 1, /* Whether extensible */
vlm44fe49a2005-03-04 11:26:08 +0000422 (unsigned int *)asn_MAP_ExtensibleSet_1_mmap /* Mandatory elements map */
vlm422e4ce2005-02-18 16:30:26 +0000423};
424asn_TYPE_descriptor_t asn_DEF_ExtensibleSet = {
425 "ExtensibleSet",
426 "ExtensibleSet",
427 SET_free,
428 SET_print,
429 SET_constraint,
430 SET_decode_ber,
431 SET_encode_der,
432 SET_decode_xer,
433 SET_encode_xer,
434 0, /* Use generic outmost tag fetcher */
vlm44fe49a2005-03-04 11:26:08 +0000435 asn_DEF_ExtensibleSet_1_tags,
436 sizeof(asn_DEF_ExtensibleSet_1_tags)
437 /sizeof(asn_DEF_ExtensibleSet_1_tags[0]), /* 1 */
438 asn_DEF_ExtensibleSet_1_tags, /* Same as above */
439 sizeof(asn_DEF_ExtensibleSet_1_tags)
440 /sizeof(asn_DEF_ExtensibleSet_1_tags[0]), /* 1 */
441 asn_MBR_ExtensibleSet_1,
vlm422e4ce2005-02-18 16:30:26 +0000442 1, /* Elements count */
vlm44fe49a2005-03-04 11:26:08 +0000443 &asn_SPC_ExtensibleSet_1_specs /* Additional specs */
vlm422e4ce2005-02-18 16:30:26 +0000444};
445
446
447/*** <<< INCLUDES [ExtensibleSequence] >>> ***/
448
449#include <UTF8String.h>
450#include <INTEGER.h>
451#include <constr_SEQUENCE.h>
452
453/*** <<< DEPS [ExtensibleSequence] >>> ***/
454
455extern asn_TYPE_descriptor_t asn_DEF_ExtensibleSequence;
456
457/*** <<< TYPE-DECLS [ExtensibleSequence] >>> ***/
458
459
460typedef struct ExtensibleSequence {
461 UTF8String_t *string /* OPTIONAL */;
462 /*
463 * This type is extensible,
464 * possible extensions are below.
465 */
466 INTEGER_t *integer /* OPTIONAL */;
467
468 /* Context for parsing across buffer boundaries */
469 asn_struct_ctx_t _asn_ctx;
470} ExtensibleSequence_t;
471
472/*** <<< STAT-DEFS [ExtensibleSequence] >>> ***/
473
vlm44fe49a2005-03-04 11:26:08 +0000474static asn_TYPE_member_t asn_MBR_ExtensibleSequence_1[] = {
vlm422e4ce2005-02-18 16:30:26 +0000475 { ATF_POINTER, 2, offsetof(struct ExtensibleSequence, string),
476 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
477 .tag_mode = -1, /* IMPLICIT tag at current level */
478 .type = (void *)&asn_DEF_UTF8String,
479 .memb_constraints = 0, /* Defer constraints checking to the member type */
480 .name = "string"
481 },
482 { ATF_POINTER, 1, offsetof(struct ExtensibleSequence, integer),
483 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
484 .tag_mode = -1, /* IMPLICIT tag at current level */
485 .type = (void *)&asn_DEF_INTEGER,
486 .memb_constraints = 0, /* Defer constraints checking to the member type */
487 .name = "integer"
488 },
489};
vlm44fe49a2005-03-04 11:26:08 +0000490static ber_tlv_tag_t asn_DEF_ExtensibleSequence_1_tags[] = {
vlm422e4ce2005-02-18 16:30:26 +0000491 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
492};
vlm44fe49a2005-03-04 11:26:08 +0000493static asn_TYPE_tag2member_t asn_MAP_ExtensibleSequence_1_tag2el[] = {
vlm6d5cb6b2005-02-24 22:38:43 +0000494 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* string at 49 */
vlm82e33fb2005-02-25 08:35:54 +0000495 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* integer at 51 */
vlm422e4ce2005-02-18 16:30:26 +0000496};
vlm44fe49a2005-03-04 11:26:08 +0000497static asn_SEQUENCE_specifics_t asn_SPC_ExtensibleSequence_1_specs = {
vlm422e4ce2005-02-18 16:30:26 +0000498 sizeof(struct ExtensibleSequence),
499 offsetof(struct ExtensibleSequence, _asn_ctx),
vlm44fe49a2005-03-04 11:26:08 +0000500 asn_MAP_ExtensibleSequence_1_tag2el,
vlm422e4ce2005-02-18 16:30:26 +0000501 2, /* Count of tags in the map */
502 0, /* Start extensions */
503 3 /* Stop extensions */
504};
505asn_TYPE_descriptor_t asn_DEF_ExtensibleSequence = {
506 "ExtensibleSequence",
507 "ExtensibleSequence",
508 SEQUENCE_free,
509 SEQUENCE_print,
510 SEQUENCE_constraint,
511 SEQUENCE_decode_ber,
512 SEQUENCE_encode_der,
513 SEQUENCE_decode_xer,
514 SEQUENCE_encode_xer,
515 0, /* Use generic outmost tag fetcher */
vlm44fe49a2005-03-04 11:26:08 +0000516 asn_DEF_ExtensibleSequence_1_tags,
517 sizeof(asn_DEF_ExtensibleSequence_1_tags)
518 /sizeof(asn_DEF_ExtensibleSequence_1_tags[0]), /* 1 */
519 asn_DEF_ExtensibleSequence_1_tags, /* Same as above */
520 sizeof(asn_DEF_ExtensibleSequence_1_tags)
521 /sizeof(asn_DEF_ExtensibleSequence_1_tags[0]), /* 1 */
522 asn_MBR_ExtensibleSequence_1,
vlm422e4ce2005-02-18 16:30:26 +0000523 2, /* Elements count */
vlm44fe49a2005-03-04 11:26:08 +0000524 &asn_SPC_ExtensibleSequence_1_specs /* Additional specs */
vlm422e4ce2005-02-18 16:30:26 +0000525};
526
527
vlm0d9046e2005-02-14 20:40:57 +0000528/*** <<< INCLUDES [SetOf] >>> ***/
529
530#include <REAL.h>
531#include <asn_SET_OF.h>
532#include <constr_SET_OF.h>
533
534/*** <<< DEPS [SetOf] >>> ***/
535
536extern asn_TYPE_descriptor_t asn_DEF_SetOf;
537
538/*** <<< TYPE-DECLS [SetOf] >>> ***/
539
540
541typedef struct SetOf {
542 A_SET_OF(REAL_t) list;
543
544 /* Context for parsing across buffer boundaries */
545 asn_struct_ctx_t _asn_ctx;
546} SetOf_t;
547
548/*** <<< STAT-DEFS [SetOf] >>> ***/
549
vlm44fe49a2005-03-04 11:26:08 +0000550static asn_TYPE_member_t asn_MBR_SetOf_1[] = {
vlm0d9046e2005-02-14 20:40:57 +0000551 { ATF_NOFLAGS, 0, 0,
552 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
553 .tag_mode = 0,
554 .type = (void *)&asn_DEF_REAL,
555 .memb_constraints = 0, /* Defer constraints checking to the member type */
556 .name = ""
557 },
558};
vlm44fe49a2005-03-04 11:26:08 +0000559static ber_tlv_tag_t asn_DEF_SetOf_1_tags[] = {
vlm0d9046e2005-02-14 20:40:57 +0000560 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
561};
vlm44fe49a2005-03-04 11:26:08 +0000562static asn_SET_OF_specifics_t asn_SPC_SetOf_1_specs = {
vlm0d9046e2005-02-14 20:40:57 +0000563 sizeof(struct SetOf),
564 offsetof(struct SetOf, _asn_ctx),
565 0, /* XER encoding is XMLDelimitedItemList */
566};
567asn_TYPE_descriptor_t asn_DEF_SetOf = {
568 "SetOf",
569 "SetOf",
570 SET_OF_free,
571 SET_OF_print,
572 SET_OF_constraint,
573 SET_OF_decode_ber,
574 SET_OF_encode_der,
575 SET_OF_decode_xer,
576 SET_OF_encode_xer,
577 0, /* Use generic outmost tag fetcher */
vlm44fe49a2005-03-04 11:26:08 +0000578 asn_DEF_SetOf_1_tags,
579 sizeof(asn_DEF_SetOf_1_tags)
580 /sizeof(asn_DEF_SetOf_1_tags[0]), /* 1 */
581 asn_DEF_SetOf_1_tags, /* Same as above */
582 sizeof(asn_DEF_SetOf_1_tags)
583 /sizeof(asn_DEF_SetOf_1_tags[0]), /* 1 */
584 asn_MBR_SetOf_1,
vlm0d9046e2005-02-14 20:40:57 +0000585 1, /* Single element */
vlm44fe49a2005-03-04 11:26:08 +0000586 &asn_SPC_SetOf_1_specs /* Additional specs */
vlm0d9046e2005-02-14 20:40:57 +0000587};
588
589
vlm6d5cb6b2005-02-24 22:38:43 +0000590/*** <<< INCLUDES [SetOfNULL] >>> ***/
591
592#include <NULL.h>
593#include <asn_SET_OF.h>
594#include <constr_SET_OF.h>
595
596/*** <<< DEPS [SetOfNULL] >>> ***/
597
598extern asn_TYPE_descriptor_t asn_DEF_SetOfNULL;
599
600/*** <<< TYPE-DECLS [SetOfNULL] >>> ***/
601
602
603typedef struct SetOfNULL {
604 A_SET_OF(NULL_t) list;
605
606 /* Context for parsing across buffer boundaries */
607 asn_struct_ctx_t _asn_ctx;
608} SetOfNULL_t;
609
610/*** <<< STAT-DEFS [SetOfNULL] >>> ***/
611
vlm44fe49a2005-03-04 11:26:08 +0000612static asn_TYPE_member_t asn_MBR_SetOfNULL_1[] = {
vlm6d5cb6b2005-02-24 22:38:43 +0000613 { ATF_NOFLAGS, 0, 0,
614 .tag = (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)),
615 .tag_mode = 0,
616 .type = (void *)&asn_DEF_NULL,
617 .memb_constraints = 0, /* Defer constraints checking to the member type */
618 .name = ""
619 },
620};
vlm44fe49a2005-03-04 11:26:08 +0000621static ber_tlv_tag_t asn_DEF_SetOfNULL_1_tags[] = {
vlm6d5cb6b2005-02-24 22:38:43 +0000622 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
623};
vlm44fe49a2005-03-04 11:26:08 +0000624static asn_SET_OF_specifics_t asn_SPC_SetOfNULL_1_specs = {
vlm6d5cb6b2005-02-24 22:38:43 +0000625 sizeof(struct SetOfNULL),
626 offsetof(struct SetOfNULL, _asn_ctx),
627 1, /* XER encoding is XMLValueList */
628};
629asn_TYPE_descriptor_t asn_DEF_SetOfNULL = {
630 "SetOfNULL",
631 "SetOfNULL",
632 SET_OF_free,
633 SET_OF_print,
634 SET_OF_constraint,
635 SET_OF_decode_ber,
636 SET_OF_encode_der,
637 SET_OF_decode_xer,
638 SET_OF_encode_xer,
639 0, /* Use generic outmost tag fetcher */
vlm44fe49a2005-03-04 11:26:08 +0000640 asn_DEF_SetOfNULL_1_tags,
641 sizeof(asn_DEF_SetOfNULL_1_tags)
642 /sizeof(asn_DEF_SetOfNULL_1_tags[0]), /* 1 */
643 asn_DEF_SetOfNULL_1_tags, /* Same as above */
644 sizeof(asn_DEF_SetOfNULL_1_tags)
645 /sizeof(asn_DEF_SetOfNULL_1_tags[0]), /* 1 */
646 asn_MBR_SetOfNULL_1,
vlm6d5cb6b2005-02-24 22:38:43 +0000647 1, /* Single element */
vlm44fe49a2005-03-04 11:26:08 +0000648 &asn_SPC_SetOfNULL_1_specs /* Additional specs */
vlm6d5cb6b2005-02-24 22:38:43 +0000649};
650
651
652/*** <<< INCLUDES [SetOfEnums] >>> ***/
653
654#include <ENUMERATED.h>
655#include <asn_SET_OF.h>
656#include <constr_SET_OF.h>
657
658/*** <<< DEPS [SetOfEnums] >>> ***/
659
vlm44fe49a2005-03-04 11:26:08 +0000660typedef enum Member {
661 Member_one = 0,
662 Member_oneMore = 1
663} Member_e;
vlm6d5cb6b2005-02-24 22:38:43 +0000664extern asn_TYPE_descriptor_t asn_DEF_SetOfEnums;
665
666/*** <<< TYPE-DECLS [SetOfEnums] >>> ***/
667
668
669typedef struct SetOfEnums {
670 A_SET_OF(ENUMERATED_t) list;
671
672 /* Context for parsing across buffer boundaries */
673 asn_struct_ctx_t _asn_ctx;
674} SetOfEnums_t;
675
vlm82e33fb2005-02-25 08:35:54 +0000676/*** <<< FUNC-DECLS [SetOfEnums] >>> ***/
677
vlm44fe49a2005-03-04 11:26:08 +0000678/* extern asn_TYPE_descriptor_t asn_DEF_Member_2; // (Use -fall-defs-global to expose) */
vlm82e33fb2005-02-25 08:35:54 +0000679
680/*** <<< CODE [SetOfEnums] >>> ***/
681
682static int
vlm44fe49a2005-03-04 11:26:08 +0000683Member_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
vlm82e33fb2005-02-25 08:35:54 +0000684 asn_app_consume_bytes_f *app_errlog, void *app_key) {
685 /* Replace with underlying type checker */
686 td->check_constraints = asn_DEF_ENUMERATED.check_constraints;
687 return td->check_constraints(td, sptr, app_errlog, app_key);
688}
689
690/*
691 * This type is implemented using ENUMERATED,
692 * so here we adjust the DEF accordingly.
693 */
694static void
vlm44fe49a2005-03-04 11:26:08 +0000695Member_2_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
vlm82e33fb2005-02-25 08:35:54 +0000696 td->free_struct = asn_DEF_ENUMERATED.free_struct;
697 td->print_struct = asn_DEF_ENUMERATED.print_struct;
698 td->ber_decoder = asn_DEF_ENUMERATED.ber_decoder;
699 td->der_encoder = asn_DEF_ENUMERATED.der_encoder;
700 td->xer_decoder = asn_DEF_ENUMERATED.xer_decoder;
701 td->xer_encoder = asn_DEF_ENUMERATED.xer_encoder;
702 td->elements = asn_DEF_ENUMERATED.elements;
703 td->elements_count = asn_DEF_ENUMERATED.elements_count;
vlm2f806082005-02-25 10:24:53 +0000704 /* td->specifics = asn_DEF_ENUMERATED.specifics; // Defined explicitly */
vlm82e33fb2005-02-25 08:35:54 +0000705}
706
707static void
vlm44fe49a2005-03-04 11:26:08 +0000708Member_2_free(asn_TYPE_descriptor_t *td,
vlm82e33fb2005-02-25 08:35:54 +0000709 void *struct_ptr, int contents_only) {
vlm44fe49a2005-03-04 11:26:08 +0000710 Member_2_inherit_TYPE_descriptor(td);
vlm82e33fb2005-02-25 08:35:54 +0000711 td->free_struct(td, struct_ptr, contents_only);
712}
713
714static int
vlm44fe49a2005-03-04 11:26:08 +0000715Member_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
vlm82e33fb2005-02-25 08:35:54 +0000716 int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
vlm44fe49a2005-03-04 11:26:08 +0000717 Member_2_inherit_TYPE_descriptor(td);
vlm82e33fb2005-02-25 08:35:54 +0000718 return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
719}
720
721static asn_dec_rval_t
vlm44fe49a2005-03-04 11:26:08 +0000722Member_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
vlm82e33fb2005-02-25 08:35:54 +0000723 void **structure, void *bufptr, size_t size, int tag_mode) {
vlm44fe49a2005-03-04 11:26:08 +0000724 Member_2_inherit_TYPE_descriptor(td);
vlm82e33fb2005-02-25 08:35:54 +0000725 return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
726}
727
728static asn_enc_rval_t
vlm44fe49a2005-03-04 11:26:08 +0000729Member_2_encode_der(asn_TYPE_descriptor_t *td,
vlm82e33fb2005-02-25 08:35:54 +0000730 void *structure, int tag_mode, ber_tlv_tag_t tag,
731 asn_app_consume_bytes_f *cb, void *app_key) {
vlm44fe49a2005-03-04 11:26:08 +0000732 Member_2_inherit_TYPE_descriptor(td);
vlm82e33fb2005-02-25 08:35:54 +0000733 return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
734}
735
736static asn_dec_rval_t
vlm44fe49a2005-03-04 11:26:08 +0000737Member_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
vlm82e33fb2005-02-25 08:35:54 +0000738 void **structure, const char *opt_mname, void *bufptr, size_t size) {
vlm44fe49a2005-03-04 11:26:08 +0000739 Member_2_inherit_TYPE_descriptor(td);
vlm82e33fb2005-02-25 08:35:54 +0000740 return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
741}
742
743static asn_enc_rval_t
vlm44fe49a2005-03-04 11:26:08 +0000744Member_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
vlm82e33fb2005-02-25 08:35:54 +0000745 int ilevel, enum xer_encoder_flags_e flags,
746 asn_app_consume_bytes_f *cb, void *app_key) {
vlm44fe49a2005-03-04 11:26:08 +0000747 Member_2_inherit_TYPE_descriptor(td);
vlm82e33fb2005-02-25 08:35:54 +0000748 return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
749}
750
751
vlm6d5cb6b2005-02-24 22:38:43 +0000752/*** <<< STAT-DEFS [SetOfEnums] >>> ***/
753
vlm44fe49a2005-03-04 11:26:08 +0000754static asn_INTEGER_enum_map_t asn_MAP_Member_2_value2enum[] = {
vlm56a1f3e2005-02-25 11:08:02 +0000755 { 0, 3, "one" },
756 { 1, 7, "oneMore" }
757};
vlm44fe49a2005-03-04 11:26:08 +0000758static unsigned int asn_MAP_Member_2_enum2value[] = {
vlm56a1f3e2005-02-25 11:08:02 +0000759 0, /* one(0) */
760 1 /* oneMore(1) */
vlm82e33fb2005-02-25 08:35:54 +0000761};
vlm44fe49a2005-03-04 11:26:08 +0000762static asn_INTEGER_specifics_t asn_SPC_Member_2_specs = {
763 asn_MAP_Member_2_value2enum, /* "tag" => N; sorted by tag */
764 asn_MAP_Member_2_enum2value, /* N => "tag"; sorted by N */
vlm82e33fb2005-02-25 08:35:54 +0000765 2, /* Number of elements in the maps */
vlmc018f362005-02-25 11:47:59 +0000766 0, /* Enumeration is not extensible */
767 1 /* Strict enumeration */
vlm82e33fb2005-02-25 08:35:54 +0000768};
vlm44fe49a2005-03-04 11:26:08 +0000769static ber_tlv_tag_t asn_DEF_Member_2_tags[] = {
vlm82e33fb2005-02-25 08:35:54 +0000770 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
771};
772static /* Use -fall-defs-global to expose */
vlm44fe49a2005-03-04 11:26:08 +0000773asn_TYPE_descriptor_t asn_DEF_Member_2 = {
vlm82e33fb2005-02-25 08:35:54 +0000774 "",
775 "",
vlm44fe49a2005-03-04 11:26:08 +0000776 Member_2_free,
777 Member_2_print,
778 Member_2_constraint,
779 Member_2_decode_ber,
780 Member_2_encode_der,
781 Member_2_decode_xer,
782 Member_2_encode_xer,
vlm82e33fb2005-02-25 08:35:54 +0000783 0, /* Use generic outmost tag fetcher */
vlm44fe49a2005-03-04 11:26:08 +0000784 asn_DEF_Member_2_tags,
785 sizeof(asn_DEF_Member_2_tags)
786 /sizeof(asn_DEF_Member_2_tags[0]), /* 1 */
787 asn_DEF_Member_2_tags, /* Same as above */
788 sizeof(asn_DEF_Member_2_tags)
789 /sizeof(asn_DEF_Member_2_tags[0]), /* 1 */
vlm82e33fb2005-02-25 08:35:54 +0000790 0, 0, /* Defined elsewhere */
vlm44fe49a2005-03-04 11:26:08 +0000791 &asn_SPC_Member_2_specs /* Additional specs */
vlm82e33fb2005-02-25 08:35:54 +0000792};
793
vlm44fe49a2005-03-04 11:26:08 +0000794static asn_TYPE_member_t asn_MBR_SetOfEnums_1[] = {
vlm6d5cb6b2005-02-24 22:38:43 +0000795 { ATF_NOFLAGS, 0, 0,
796 .tag = (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
797 .tag_mode = 0,
vlm44fe49a2005-03-04 11:26:08 +0000798 .type = (void *)&asn_DEF_Member_2,
vlm6d5cb6b2005-02-24 22:38:43 +0000799 .memb_constraints = 0, /* Defer constraints checking to the member type */
800 .name = ""
801 },
802};
vlm44fe49a2005-03-04 11:26:08 +0000803static ber_tlv_tag_t asn_DEF_SetOfEnums_1_tags[] = {
vlm6d5cb6b2005-02-24 22:38:43 +0000804 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
805};
vlm44fe49a2005-03-04 11:26:08 +0000806static asn_SET_OF_specifics_t asn_SPC_SetOfEnums_1_specs = {
vlm6d5cb6b2005-02-24 22:38:43 +0000807 sizeof(struct SetOfEnums),
808 offsetof(struct SetOfEnums, _asn_ctx),
vlm82e33fb2005-02-25 08:35:54 +0000809 1, /* XER encoding is XMLValueList */
vlm6d5cb6b2005-02-24 22:38:43 +0000810};
811asn_TYPE_descriptor_t asn_DEF_SetOfEnums = {
812 "SetOfEnums",
813 "SetOfEnums",
814 SET_OF_free,
815 SET_OF_print,
816 SET_OF_constraint,
817 SET_OF_decode_ber,
818 SET_OF_encode_der,
819 SET_OF_decode_xer,
820 SET_OF_encode_xer,
821 0, /* Use generic outmost tag fetcher */
vlm44fe49a2005-03-04 11:26:08 +0000822 asn_DEF_SetOfEnums_1_tags,
823 sizeof(asn_DEF_SetOfEnums_1_tags)
824 /sizeof(asn_DEF_SetOfEnums_1_tags[0]), /* 1 */
825 asn_DEF_SetOfEnums_1_tags, /* Same as above */
826 sizeof(asn_DEF_SetOfEnums_1_tags)
827 /sizeof(asn_DEF_SetOfEnums_1_tags[0]), /* 1 */
828 asn_MBR_SetOfEnums_1,
vlm6d5cb6b2005-02-24 22:38:43 +0000829 1, /* Single element */
vlm44fe49a2005-03-04 11:26:08 +0000830 &asn_SPC_SetOfEnums_1_specs /* Additional specs */
vlm6d5cb6b2005-02-24 22:38:43 +0000831};
832
833
vlm422e4ce2005-02-18 16:30:26 +0000834/*** <<< INCLUDES [SequenceOf] >>> ***/
vlm0d9046e2005-02-14 20:40:57 +0000835
836#include <INTEGER.h>
837#include <asn_SEQUENCE_OF.h>
838#include <constr_SEQUENCE_OF.h>
839
vlm422e4ce2005-02-18 16:30:26 +0000840/*** <<< DEPS [SequenceOf] >>> ***/
vlm0d9046e2005-02-14 20:40:57 +0000841
vlm422e4ce2005-02-18 16:30:26 +0000842extern asn_TYPE_descriptor_t asn_DEF_SequenceOf;
vlm0d9046e2005-02-14 20:40:57 +0000843
vlm422e4ce2005-02-18 16:30:26 +0000844/*** <<< TYPE-DECLS [SequenceOf] >>> ***/
vlm0d9046e2005-02-14 20:40:57 +0000845
846
vlm422e4ce2005-02-18 16:30:26 +0000847typedef struct SequenceOf {
vlm0d9046e2005-02-14 20:40:57 +0000848 A_SEQUENCE_OF(INTEGER_t) list;
849
850 /* Context for parsing across buffer boundaries */
851 asn_struct_ctx_t _asn_ctx;
vlm422e4ce2005-02-18 16:30:26 +0000852} SequenceOf_t;
vlm0d9046e2005-02-14 20:40:57 +0000853
vlm422e4ce2005-02-18 16:30:26 +0000854/*** <<< STAT-DEFS [SequenceOf] >>> ***/
vlm0d9046e2005-02-14 20:40:57 +0000855
vlm44fe49a2005-03-04 11:26:08 +0000856static asn_TYPE_member_t asn_MBR_SequenceOf_1[] = {
vlm0d9046e2005-02-14 20:40:57 +0000857 { ATF_NOFLAGS, 0, 0,
858 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
859 .tag_mode = 0,
vlm44fe49a2005-03-04 11:26:08 +0000860 .type = (void *)&asn_DEF_INTEGER,
vlm0d9046e2005-02-14 20:40:57 +0000861 .memb_constraints = 0, /* Defer constraints checking to the member type */
862 .name = "id"
863 },
864};
vlm44fe49a2005-03-04 11:26:08 +0000865static ber_tlv_tag_t asn_DEF_SequenceOf_1_tags[] = {
vlm0d9046e2005-02-14 20:40:57 +0000866 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
867};
vlm44fe49a2005-03-04 11:26:08 +0000868static asn_SET_OF_specifics_t asn_SPC_SequenceOf_1_specs = {
vlm422e4ce2005-02-18 16:30:26 +0000869 sizeof(struct SequenceOf),
870 offsetof(struct SequenceOf, _asn_ctx),
vlm0d9046e2005-02-14 20:40:57 +0000871 0, /* XER encoding is XMLDelimitedItemList */
872};
vlm422e4ce2005-02-18 16:30:26 +0000873asn_TYPE_descriptor_t asn_DEF_SequenceOf = {
874 "SequenceOf",
875 "SequenceOf",
vlm0d9046e2005-02-14 20:40:57 +0000876 SEQUENCE_OF_free,
877 SEQUENCE_OF_print,
878 SEQUENCE_OF_constraint,
879 SEQUENCE_OF_decode_ber,
880 SEQUENCE_OF_encode_der,
881 SEQUENCE_OF_decode_xer,
882 SEQUENCE_OF_encode_xer,
883 0, /* Use generic outmost tag fetcher */
vlm44fe49a2005-03-04 11:26:08 +0000884 asn_DEF_SequenceOf_1_tags,
885 sizeof(asn_DEF_SequenceOf_1_tags)
886 /sizeof(asn_DEF_SequenceOf_1_tags[0]), /* 1 */
887 asn_DEF_SequenceOf_1_tags, /* Same as above */
888 sizeof(asn_DEF_SequenceOf_1_tags)
889 /sizeof(asn_DEF_SequenceOf_1_tags[0]), /* 1 */
890 asn_MBR_SequenceOf_1,
vlm0d9046e2005-02-14 20:40:57 +0000891 1, /* Single element */
vlm44fe49a2005-03-04 11:26:08 +0000892 &asn_SPC_SequenceOf_1_specs /* Additional specs */
vlm0d9046e2005-02-14 20:40:57 +0000893};
894
vlm6d5cb6b2005-02-24 22:38:43 +0000895
896/*** <<< INCLUDES [SeqOfZuka] >>> ***/
897
898#include <NULL.h>
899#include <asn_SEQUENCE_OF.h>
900#include <constr_SEQUENCE_OF.h>
901
902/*** <<< DEPS [SeqOfZuka] >>> ***/
903
904extern asn_TYPE_descriptor_t asn_DEF_SeqOfZuka;
905
906/*** <<< TYPE-DECLS [SeqOfZuka] >>> ***/
907
908
909typedef struct SeqOfZuka {
910 A_SEQUENCE_OF(NULL_t) list;
911
912 /* Context for parsing across buffer boundaries */
913 asn_struct_ctx_t _asn_ctx;
914} SeqOfZuka_t;
915
916/*** <<< STAT-DEFS [SeqOfZuka] >>> ***/
917
vlm44fe49a2005-03-04 11:26:08 +0000918static asn_TYPE_member_t asn_MBR_SeqOfZuka_1[] = {
vlm6d5cb6b2005-02-24 22:38:43 +0000919 { ATF_NOFLAGS, 0, 0,
920 .tag = (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)),
921 .tag_mode = 0,
922 .type = (void *)&asn_DEF_NULL,
923 .memb_constraints = 0, /* Defer constraints checking to the member type */
924 .name = "zuka"
925 },
926};
vlm44fe49a2005-03-04 11:26:08 +0000927static ber_tlv_tag_t asn_DEF_SeqOfZuka_1_tags[] = {
vlm6d5cb6b2005-02-24 22:38:43 +0000928 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
929};
vlm44fe49a2005-03-04 11:26:08 +0000930static asn_SET_OF_specifics_t asn_SPC_SeqOfZuka_1_specs = {
vlm6d5cb6b2005-02-24 22:38:43 +0000931 sizeof(struct SeqOfZuka),
932 offsetof(struct SeqOfZuka, _asn_ctx),
933 1, /* XER encoding is XMLValueList */
934};
935asn_TYPE_descriptor_t asn_DEF_SeqOfZuka = {
936 "SeqOfZuka",
937 "SeqOfZuka",
938 SEQUENCE_OF_free,
939 SEQUENCE_OF_print,
940 SEQUENCE_OF_constraint,
941 SEQUENCE_OF_decode_ber,
942 SEQUENCE_OF_encode_der,
943 SEQUENCE_OF_decode_xer,
944 SEQUENCE_OF_encode_xer,
945 0, /* Use generic outmost tag fetcher */
vlm44fe49a2005-03-04 11:26:08 +0000946 asn_DEF_SeqOfZuka_1_tags,
947 sizeof(asn_DEF_SeqOfZuka_1_tags)
948 /sizeof(asn_DEF_SeqOfZuka_1_tags[0]), /* 1 */
949 asn_DEF_SeqOfZuka_1_tags, /* Same as above */
950 sizeof(asn_DEF_SeqOfZuka_1_tags)
951 /sizeof(asn_DEF_SeqOfZuka_1_tags[0]), /* 1 */
952 asn_MBR_SeqOfZuka_1,
vlm6d5cb6b2005-02-24 22:38:43 +0000953 1, /* Single element */
vlm44fe49a2005-03-04 11:26:08 +0000954 &asn_SPC_SeqOfZuka_1_specs /* Additional specs */
vlm6d5cb6b2005-02-24 22:38:43 +0000955};
956