blob: bc2b478567af7763e3361dca789ab35fd1ea7644 [file] [log] [blame]
Lev Walkin0ef9f142005-02-14 20:40:57 +00001
2/*** <<< INCLUDES [PDU] >>> ***/
3
Lev Walkin22b5ed42006-09-13 02:51:20 +00004#include "Sequence.h"
5#include "Set.h"
6#include "SequenceOf.h"
7#include "ExtensibleSet.h"
8#include "ExtensibleSequence.h"
9#include "ExtensibleSequence2.h"
10#include "SetOfNULL.h"
11#include "SetOfREAL.h"
12#include "SetOfEnums.h"
13#include "NamedSetOfNULL.h"
14#include "NamedSetOfREAL.h"
15#include "NamedSetOfEnums.h"
16#include "SeqOfZuka.h"
17#include "SetOfChoice.h"
18#include "NamedSetOfChoice.h"
Lev Walkin0ef9f142005-02-14 20:40:57 +000019#include <constr_CHOICE.h>
20
21/*** <<< DEPS [PDU] >>> ***/
22
23typedef enum PDU_PR {
24 PDU_PR_NOTHING, /* No components present */
25 PDU_PR_sequence,
26 PDU_PR_set,
Lev Walkin843a2462005-02-18 16:30:26 +000027 PDU_PR_sequenceOf,
28 PDU_PR_extensibleSet,
29 PDU_PR_extensibleSequence,
Lev Walkin15750402005-07-03 05:27:19 +000030 PDU_PR_extensibleSequence2,
Lev Walkinf5db6142005-02-24 22:38:43 +000031 PDU_PR_setOfNULL,
Lev Walkin5ab96cd2005-11-07 15:26:47 +000032 PDU_PR_setOfREAL,
Lev Walkinf5db6142005-02-24 22:38:43 +000033 PDU_PR_setOfEnums,
Lev Walkin5ab96cd2005-11-07 15:26:47 +000034 PDU_PR_namedSetOfNULL,
35 PDU_PR_namedSetOfREAL,
36 PDU_PR_namedSetOfEnums,
Lev Walkinf5db6142005-02-24 22:38:43 +000037 PDU_PR_seqOfZuka,
Lev Walkin5ab96cd2005-11-07 15:26:47 +000038 PDU_PR_setOfChoice,
johvik792216e2017-04-11 10:42:21 +020039 PDU_PR_namedSetOfChoice
Lev Walkin843a2462005-02-18 16:30:26 +000040 /* Extensions may appear below */
Lev Walkin9f5bb3a2006-08-18 01:46:46 +000041
Lev Walkin0ef9f142005-02-14 20:40:57 +000042} PDU_PR;
Lev Walkin0ef9f142005-02-14 20:40:57 +000043
44/*** <<< TYPE-DECLS [PDU] >>> ***/
45
Lev Walkin0ef9f142005-02-14 20:40:57 +000046typedef struct PDU {
47 PDU_PR present;
Lev Walkin0f5d74c2005-08-14 15:03:31 +000048 union PDU_u {
Lev Walkin0ef9f142005-02-14 20:40:57 +000049 Sequence_t sequence;
50 Set_t set;
Lev Walkin843a2462005-02-18 16:30:26 +000051 SequenceOf_t sequenceOf;
52 ExtensibleSet_t extensibleSet;
53 ExtensibleSequence_t extensibleSequence;
Lev Walkin15750402005-07-03 05:27:19 +000054 ExtensibleSequence2_t extensibleSequence2;
Lev Walkinf5db6142005-02-24 22:38:43 +000055 SetOfNULL_t setOfNULL;
Lev Walkin5ab96cd2005-11-07 15:26:47 +000056 SetOfREAL_t setOfREAL;
Lev Walkinf5db6142005-02-24 22:38:43 +000057 SetOfEnums_t setOfEnums;
Lev Walkin5ab96cd2005-11-07 15:26:47 +000058 NamedSetOfNULL_t namedSetOfNULL;
59 NamedSetOfREAL_t namedSetOfREAL;
60 NamedSetOfEnums_t namedSetOfEnums;
Lev Walkinf5db6142005-02-24 22:38:43 +000061 SeqOfZuka_t seqOfZuka;
Lev Walkin5ab96cd2005-11-07 15:26:47 +000062 SetOfChoice_t setOfChoice;
63 NamedSetOfChoice_t namedSetOfChoice;
Lev Walkin843a2462005-02-18 16:30:26 +000064 /*
65 * This type is extensible,
66 * possible extensions are below.
67 */
Lev Walkin0ef9f142005-02-14 20:40:57 +000068 } choice;
69
70 /* Context for parsing across buffer boundaries */
71 asn_struct_ctx_t _asn_ctx;
72} PDU_t;
73
Lev Walkinc8285712005-03-04 22:18:20 +000074/*** <<< FUNC-DECLS [PDU] >>> ***/
75
76extern asn_TYPE_descriptor_t asn_DEF_PDU;
77
Lev Walkin0ef9f142005-02-14 20:40:57 +000078/*** <<< STAT-DEFS [PDU] >>> ***/
79
Lev Walkine0272aa2005-03-04 11:26:08 +000080static asn_TYPE_member_t asn_MBR_PDU_1[] = {
Lev Walkin0ef9f142005-02-14 20:40:57 +000081 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.sequence),
82 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
83 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +000084 .type = &asn_DEF_Sequence,
Lev Walkin67a30122017-08-10 05:48:54 -070085 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -070086 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +000087 .default_value = 0,
Lev Walkin0ef9f142005-02-14 20:40:57 +000088 .name = "sequence"
89 },
90 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.set),
91 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
92 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +000093 .type = &asn_DEF_Set,
Lev Walkin67a30122017-08-10 05:48:54 -070094 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -070095 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +000096 .default_value = 0,
Lev Walkin0ef9f142005-02-14 20:40:57 +000097 .name = "set"
98 },
Lev Walkin843a2462005-02-18 16:30:26 +000099 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.sequenceOf),
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000100 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
Lev Walkin0ef9f142005-02-14 20:40:57 +0000101 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000102 .type = &asn_DEF_SequenceOf,
Lev Walkin67a30122017-08-10 05:48:54 -0700103 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700104 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000105 .default_value = 0,
Lev Walkin843a2462005-02-18 16:30:26 +0000106 .name = "sequenceOf"
107 },
108 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.extensibleSet),
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000109 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
Lev Walkin843a2462005-02-18 16:30:26 +0000110 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000111 .type = &asn_DEF_ExtensibleSet,
Lev Walkin67a30122017-08-10 05:48:54 -0700112 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700113 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000114 .default_value = 0,
Lev Walkin843a2462005-02-18 16:30:26 +0000115 .name = "extensibleSet"
116 },
117 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.extensibleSequence),
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000118 .tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
Lev Walkin843a2462005-02-18 16:30:26 +0000119 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000120 .type = &asn_DEF_ExtensibleSequence,
Lev Walkin67a30122017-08-10 05:48:54 -0700121 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700122 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000123 .default_value = 0,
Lev Walkin843a2462005-02-18 16:30:26 +0000124 .name = "extensibleSequence"
Lev Walkin0ef9f142005-02-14 20:40:57 +0000125 },
Lev Walkin15750402005-07-03 05:27:19 +0000126 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.extensibleSequence2),
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000127 .tag = (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
Lev Walkinf5db6142005-02-24 22:38:43 +0000128 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000129 .type = &asn_DEF_ExtensibleSequence2,
Lev Walkin67a30122017-08-10 05:48:54 -0700130 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700131 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000132 .default_value = 0,
Lev Walkin15750402005-07-03 05:27:19 +0000133 .name = "extensibleSequence2"
134 },
135 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.setOfNULL),
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000136 .tag = (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
Lev Walkin15750402005-07-03 05:27:19 +0000137 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000138 .type = &asn_DEF_SetOfNULL,
Lev Walkin67a30122017-08-10 05:48:54 -0700139 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700140 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000141 .default_value = 0,
Lev Walkinf5db6142005-02-24 22:38:43 +0000142 .name = "setOfNULL"
143 },
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000144 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.setOfREAL),
145 .tag = (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
146 .tag_mode = -1, /* IMPLICIT tag at current level */
147 .type = &asn_DEF_SetOfREAL,
Lev Walkin67a30122017-08-10 05:48:54 -0700148 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700149 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000150 .default_value = 0,
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000151 .name = "setOfREAL"
152 },
Lev Walkinf5db6142005-02-24 22:38:43 +0000153 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.setOfEnums),
Lev Walkin15750402005-07-03 05:27:19 +0000154 .tag = (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
Lev Walkinf5db6142005-02-24 22:38:43 +0000155 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000156 .type = &asn_DEF_SetOfEnums,
Lev Walkin67a30122017-08-10 05:48:54 -0700157 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700158 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000159 .default_value = 0,
Lev Walkinf5db6142005-02-24 22:38:43 +0000160 .name = "setOfEnums"
161 },
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000162 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.namedSetOfNULL),
Lev Walkin15750402005-07-03 05:27:19 +0000163 .tag = (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
Lev Walkinf5db6142005-02-24 22:38:43 +0000164 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000165 .type = &asn_DEF_NamedSetOfNULL,
Lev Walkin67a30122017-08-10 05:48:54 -0700166 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700167 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000168 .default_value = 0,
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000169 .name = "namedSetOfNULL"
170 },
171 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.namedSetOfREAL),
172 .tag = (ASN_TAG_CLASS_CONTEXT | (10 << 2)),
173 .tag_mode = -1, /* IMPLICIT tag at current level */
174 .type = &asn_DEF_NamedSetOfREAL,
Lev Walkin67a30122017-08-10 05:48:54 -0700175 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700176 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000177 .default_value = 0,
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000178 .name = "namedSetOfREAL"
179 },
180 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.namedSetOfEnums),
181 .tag = (ASN_TAG_CLASS_CONTEXT | (11 << 2)),
182 .tag_mode = -1, /* IMPLICIT tag at current level */
183 .type = &asn_DEF_NamedSetOfEnums,
Lev Walkin67a30122017-08-10 05:48:54 -0700184 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700185 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000186 .default_value = 0,
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000187 .name = "namedSetOfEnums"
188 },
189 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.seqOfZuka),
190 .tag = (ASN_TAG_CLASS_CONTEXT | (12 << 2)),
191 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000192 .type = &asn_DEF_SeqOfZuka,
Lev Walkin67a30122017-08-10 05:48:54 -0700193 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700194 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000195 .default_value = 0,
Lev Walkinf5db6142005-02-24 22:38:43 +0000196 .name = "seqOfZuka"
197 },
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000198 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.setOfChoice),
199 .tag = (ASN_TAG_CLASS_CONTEXT | (13 << 2)),
200 .tag_mode = -1, /* IMPLICIT tag at current level */
201 .type = &asn_DEF_SetOfChoice,
Lev Walkin67a30122017-08-10 05:48:54 -0700202 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700203 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000204 .default_value = 0,
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000205 .name = "setOfChoice"
206 },
207 { ATF_NOFLAGS, 0, offsetof(struct PDU, choice.namedSetOfChoice),
208 .tag = (ASN_TAG_CLASS_CONTEXT | (14 << 2)),
209 .tag_mode = -1, /* IMPLICIT tag at current level */
210 .type = &asn_DEF_NamedSetOfChoice,
Lev Walkin67a30122017-08-10 05:48:54 -0700211 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700212 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000213 .default_value = 0,
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000214 .name = "namedSetOfChoice"
215 },
Lev Walkin0ef9f142005-02-14 20:40:57 +0000216};
Lev Walkina7591b52014-10-12 18:37:35 -0700217static const asn_TYPE_tag2member_t asn_MAP_PDU_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700218 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sequence */
219 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* set */
220 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sequenceOf */
221 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* extensibleSet */
222 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* extensibleSequence */
223 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* extensibleSequence2 */
224 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* setOfNULL */
225 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* setOfREAL */
226 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* setOfEnums */
227 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* namedSetOfNULL */
228 { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* namedSetOfREAL */
229 { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* namedSetOfEnums */
230 { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 }, /* seqOfZuka */
231 { (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 13, 0, 0 }, /* setOfChoice */
232 { (ASN_TAG_CLASS_CONTEXT | (14 << 2)), 14, 0, 0 } /* namedSetOfChoice */
Lev Walkin0ef9f142005-02-14 20:40:57 +0000233};
Lev Walkin59b176e2005-11-26 11:25:14 +0000234static asn_CHOICE_specifics_t asn_SPC_PDU_specs_1 = {
Lev Walkin0ef9f142005-02-14 20:40:57 +0000235 sizeof(struct PDU),
236 offsetof(struct PDU, _asn_ctx),
237 offsetof(struct PDU, present),
238 sizeof(((struct PDU *)0)->present),
Lev Walkine3917082017-08-23 10:29:38 -0700239 .tag2el = asn_MAP_PDU_tag2el_1,
240 .tag2el_count = 15, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000241 .canonical_order = 0,
242 .ext_start = 15 /* Extensions start */
Lev Walkin0ef9f142005-02-14 20:40:57 +0000243};
244asn_TYPE_descriptor_t asn_DEF_PDU = {
245 "PDU",
246 "PDU",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800247 &asn_OP_CHOICE,
Lev Walkin0ef9f142005-02-14 20:40:57 +0000248 0, /* No effective tags (pointer) */
249 0, /* No effective tags (count) */
250 0, /* No tags (pointer) */
251 0, /* No tags (count) */
Lev Walkin0bfea562017-09-29 23:16:48 -0700252 { 0, 0, CHOICE_constraint },
Lev Walkine0272aa2005-03-04 11:26:08 +0000253 asn_MBR_PDU_1,
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000254 15, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000255 &asn_SPC_PDU_specs_1 /* Additional specs */
Lev Walkin0ef9f142005-02-14 20:40:57 +0000256};
257
258
259/*** <<< INCLUDES [Sequence] >>> ***/
260
261#include <INTEGER.h>
Lev Walkin0ef9f142005-02-14 20:40:57 +0000262#include <BIT_STRING.h>
263#include <UTF8String.h>
264#include <constr_SEQUENCE.h>
265
Lev Walkinc8285712005-03-04 22:18:20 +0000266/*** <<< FWD-DECLS [Sequence] >>> ***/
Lev Walkin0ef9f142005-02-14 20:40:57 +0000267
Lev Walkinbf56d542005-03-04 23:50:56 +0000268struct Sequence;
Lev Walkin0ef9f142005-02-14 20:40:57 +0000269
270/*** <<< TYPE-DECLS [Sequence] >>> ***/
271
Lev Walkin0ef9f142005-02-14 20:40:57 +0000272typedef struct Sequence {
273 INTEGER_t integer;
274 struct Sequence *sequence /* OPTIONAL */;
275 BIT_STRING_t *bits /* OPTIONAL */;
276 UTF8String_t string;
277
278 /* Context for parsing across buffer boundaries */
279 asn_struct_ctx_t _asn_ctx;
280} Sequence_t;
281
Lev Walkinc8285712005-03-04 22:18:20 +0000282/*** <<< FUNC-DECLS [Sequence] >>> ***/
283
284extern asn_TYPE_descriptor_t asn_DEF_Sequence;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800285extern asn_SEQUENCE_specifics_t asn_SPC_Sequence_specs_1;
286extern asn_TYPE_member_t asn_MBR_Sequence_1[4];
Lev Walkinc8285712005-03-04 22:18:20 +0000287
288/*** <<< POST-INCLUDE [Sequence] >>> ***/
289
Lev Walkin22b5ed42006-09-13 02:51:20 +0000290#include "Sequence.h"
Lev Walkinc8285712005-03-04 22:18:20 +0000291
Lev Walkin0ef9f142005-02-14 20:40:57 +0000292/*** <<< STAT-DEFS [Sequence] >>> ***/
293
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800294asn_TYPE_member_t asn_MBR_Sequence_1[] = {
Lev Walkin0ef9f142005-02-14 20:40:57 +0000295 { ATF_NOFLAGS, 0, offsetof(struct Sequence, integer),
296 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
297 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000298 .type = &asn_DEF_INTEGER,
Lev Walkin67a30122017-08-10 05:48:54 -0700299 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700300 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000301 .default_value = 0,
Lev Walkin0ef9f142005-02-14 20:40:57 +0000302 .name = "integer"
303 },
304 { ATF_POINTER, 2, offsetof(struct Sequence, sequence),
305 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
306 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000307 .type = &asn_DEF_Sequence,
Lev Walkin67a30122017-08-10 05:48:54 -0700308 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700309 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000310 .default_value = 0,
Lev Walkin0ef9f142005-02-14 20:40:57 +0000311 .name = "sequence"
312 },
313 { ATF_POINTER, 1, offsetof(struct Sequence, bits),
314 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
315 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000316 .type = &asn_DEF_BIT_STRING,
Lev Walkin67a30122017-08-10 05:48:54 -0700317 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700318 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000319 .default_value = 0,
Lev Walkin0ef9f142005-02-14 20:40:57 +0000320 .name = "bits"
321 },
322 { ATF_NOFLAGS, 0, offsetof(struct Sequence, string),
323 .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
324 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000325 .type = &asn_DEF_UTF8String,
Lev Walkin67a30122017-08-10 05:48:54 -0700326 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700327 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000328 .default_value = 0,
Lev Walkin0ef9f142005-02-14 20:40:57 +0000329 .name = "string"
330 },
331};
Lev Walkina7591b52014-10-12 18:37:35 -0700332static const ber_tlv_tag_t asn_DEF_Sequence_tags_1[] = {
Lev Walkin0ef9f142005-02-14 20:40:57 +0000333 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
334};
Lev Walkina7591b52014-10-12 18:37:35 -0700335static const asn_TYPE_tag2member_t asn_MAP_Sequence_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700336 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* integer */
337 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sequence */
338 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* bits */
339 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* string */
Lev Walkin0ef9f142005-02-14 20:40:57 +0000340};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800341asn_SEQUENCE_specifics_t asn_SPC_Sequence_specs_1 = {
Lev Walkin0ef9f142005-02-14 20:40:57 +0000342 sizeof(struct Sequence),
343 offsetof(struct Sequence, _asn_ctx),
Lev Walkine3917082017-08-23 10:29:38 -0700344 .tag2el = asn_MAP_Sequence_tag2el_1,
345 .tag2el_count = 4, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000346 0, 0, 0, /* Optional elements (not needed) */
Lev Walkin0ef9f142005-02-14 20:40:57 +0000347 -1, /* Start extensions */
348 -1 /* Stop extensions */
349};
350asn_TYPE_descriptor_t asn_DEF_Sequence = {
351 "Sequence",
352 "Sequence",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800353 &asn_OP_SEQUENCE,
Lev Walkin59b176e2005-11-26 11:25:14 +0000354 asn_DEF_Sequence_tags_1,
355 sizeof(asn_DEF_Sequence_tags_1)
356 /sizeof(asn_DEF_Sequence_tags_1[0]), /* 1 */
357 asn_DEF_Sequence_tags_1, /* Same as above */
358 sizeof(asn_DEF_Sequence_tags_1)
359 /sizeof(asn_DEF_Sequence_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700360 { 0, 0, SEQUENCE_constraint },
Lev Walkine0272aa2005-03-04 11:26:08 +0000361 asn_MBR_Sequence_1,
Lev Walkin0ef9f142005-02-14 20:40:57 +0000362 4, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000363 &asn_SPC_Sequence_specs_1 /* Additional specs */
Lev Walkin0ef9f142005-02-14 20:40:57 +0000364};
365
366
367/*** <<< INCLUDES [Set] >>> ***/
368
369#include <RELATIVE-OID.h>
370#include <OCTET_STRING.h>
371#include <constr_SET.h>
372
373/*** <<< DEPS [Set] >>> ***/
374
375
376/*
377 * Method of determining the components presence
378 */
379typedef enum Set_PR {
380 Set_PR_roid, /* Member roid is present */
381 Set_PR_opaque, /* Member opaque is present */
382} Set_PR;
Lev Walkin0ef9f142005-02-14 20:40:57 +0000383
384/*** <<< TYPE-DECLS [Set] >>> ***/
385
Lev Walkin0ef9f142005-02-14 20:40:57 +0000386typedef struct Set {
387 RELATIVE_OID_t roid;
388 OCTET_STRING_t *opaque /* OPTIONAL */;
389
390 /* Presence bitmask: ASN_SET_ISPRESENT(pSet, Set_PR_x) */
391 unsigned int _presence_map
392 [((2+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
393
394 /* Context for parsing across buffer boundaries */
395 asn_struct_ctx_t _asn_ctx;
396} Set_t;
397
Lev Walkinc8285712005-03-04 22:18:20 +0000398/*** <<< FUNC-DECLS [Set] >>> ***/
399
400extern asn_TYPE_descriptor_t asn_DEF_Set;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800401extern asn_SET_specifics_t asn_SPC_Set_specs_1;
402extern asn_TYPE_member_t asn_MBR_Set_1[2];
Lev Walkinc8285712005-03-04 22:18:20 +0000403
Lev Walkin0ef9f142005-02-14 20:40:57 +0000404/*** <<< STAT-DEFS [Set] >>> ***/
405
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800406asn_TYPE_member_t asn_MBR_Set_1[] = {
Lev Walkin0ef9f142005-02-14 20:40:57 +0000407 { ATF_NOFLAGS, 0, offsetof(struct Set, roid),
408 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
409 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000410 .type = &asn_DEF_RELATIVE_OID,
Lev Walkin67a30122017-08-10 05:48:54 -0700411 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700412 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000413 .default_value = 0,
Lev Walkin0ef9f142005-02-14 20:40:57 +0000414 .name = "roid"
415 },
416 { ATF_POINTER, 1, offsetof(struct Set, opaque),
417 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
418 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000419 .type = &asn_DEF_OCTET_STRING,
Lev Walkin67a30122017-08-10 05:48:54 -0700420 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700421 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000422 .default_value = 0,
Lev Walkin0ef9f142005-02-14 20:40:57 +0000423 .name = "opaque"
424 },
425};
Lev Walkina7591b52014-10-12 18:37:35 -0700426static const ber_tlv_tag_t asn_DEF_Set_tags_1[] = {
Lev Walkin0ef9f142005-02-14 20:40:57 +0000427 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
428};
Lev Walkina7591b52014-10-12 18:37:35 -0700429static const asn_TYPE_tag2member_t asn_MAP_Set_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700430 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* roid */
431 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* opaque */
Lev Walkin0ef9f142005-02-14 20:40:57 +0000432};
Lev Walkina7591b52014-10-12 18:37:35 -0700433static const uint8_t asn_MAP_Set_mmap_1[(2 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkin0ef9f142005-02-14 20:40:57 +0000434 (1 << 7) | (0 << 6)
435};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800436asn_SET_specifics_t asn_SPC_Set_specs_1 = {
Lev Walkin0ef9f142005-02-14 20:40:57 +0000437 sizeof(struct Set),
438 offsetof(struct Set, _asn_ctx),
439 offsetof(struct Set, _presence_map),
Lev Walkine3917082017-08-23 10:29:38 -0700440 .tag2el = asn_MAP_Set_tag2el_1,
441 .tag2el_count = 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000442 asn_MAP_Set_tag2el_1, /* Same as above */
Lev Walkinf5db6142005-02-24 22:38:43 +0000443 2, /* Count of tags in the CXER map */
Lev Walkin0ef9f142005-02-14 20:40:57 +0000444 0, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -0700445 (const unsigned int *)asn_MAP_Set_mmap_1 /* Mandatory elements map */
Lev Walkin0ef9f142005-02-14 20:40:57 +0000446};
447asn_TYPE_descriptor_t asn_DEF_Set = {
448 "Set",
449 "Set",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800450 &asn_OP_SET,
Lev Walkin59b176e2005-11-26 11:25:14 +0000451 asn_DEF_Set_tags_1,
452 sizeof(asn_DEF_Set_tags_1)
453 /sizeof(asn_DEF_Set_tags_1[0]), /* 1 */
454 asn_DEF_Set_tags_1, /* Same as above */
455 sizeof(asn_DEF_Set_tags_1)
456 /sizeof(asn_DEF_Set_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700457 { 0, 0, SET_constraint },
Lev Walkine0272aa2005-03-04 11:26:08 +0000458 asn_MBR_Set_1,
Lev Walkin0ef9f142005-02-14 20:40:57 +0000459 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000460 &asn_SPC_Set_specs_1 /* Additional specs */
Lev Walkin0ef9f142005-02-14 20:40:57 +0000461};
462
463
Lev Walkin843a2462005-02-18 16:30:26 +0000464/*** <<< INCLUDES [ExtensibleSet] >>> ***/
465
466#include <UTF8String.h>
Lev Walkinc92a7462005-03-10 11:20:47 +0000467#include <ENUMERATED.h>
Lev Walkin843a2462005-02-18 16:30:26 +0000468#include <constr_SET.h>
469
470/*** <<< DEPS [ExtensibleSet] >>> ***/
471
472
473/*
474 * Method of determining the components presence
475 */
476typedef enum ExtensibleSet_PR {
477 ExtensibleSet_PR_string, /* Member string is present */
Lev Walkinc92a7462005-03-10 11:20:47 +0000478 ExtensibleSet_PR_enum, /* Member enum is present */
Lev Walkin843a2462005-02-18 16:30:26 +0000479} ExtensibleSet_PR;
Lev Walkinc92a7462005-03-10 11:20:47 +0000480typedef enum Enum {
481 enum_b = 0,
482 enum_a = 1
Lev Walkin171487e2006-03-21 07:25:18 +0000483} e_enum;
Lev Walkin843a2462005-02-18 16:30:26 +0000484
485/*** <<< TYPE-DECLS [ExtensibleSet] >>> ***/
486
Lev Walkin843a2462005-02-18 16:30:26 +0000487typedef struct ExtensibleSet {
488 UTF8String_t *string /* OPTIONAL */;
489 /*
490 * This type is extensible,
491 * possible extensions are below.
492 */
Lev Walkinc92a7462005-03-10 11:20:47 +0000493 ENUMERATED_t *Enum;
Lev Walkin843a2462005-02-18 16:30:26 +0000494
495 /* Presence bitmask: ASN_SET_ISPRESENT(pExtensibleSet, ExtensibleSet_PR_x) */
496 unsigned int _presence_map
Lev Walkinc92a7462005-03-10 11:20:47 +0000497 [((2+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
Lev Walkin843a2462005-02-18 16:30:26 +0000498
499 /* Context for parsing across buffer boundaries */
500 asn_struct_ctx_t _asn_ctx;
501} ExtensibleSet_t;
502
Lev Walkinc8285712005-03-04 22:18:20 +0000503/*** <<< FUNC-DECLS [ExtensibleSet] >>> ***/
504
Lev Walkinc92a7462005-03-10 11:20:47 +0000505/* extern asn_TYPE_descriptor_t asn_DEF_enum_4; // (Use -fall-defs-global to expose) */
Lev Walkinc8285712005-03-04 22:18:20 +0000506extern asn_TYPE_descriptor_t asn_DEF_ExtensibleSet;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800507extern asn_SET_specifics_t asn_SPC_ExtensibleSet_specs_1;
508extern asn_TYPE_member_t asn_MBR_ExtensibleSet_1[2];
Lev Walkinc8285712005-03-04 22:18:20 +0000509
Lev Walkinc92a7462005-03-10 11:20:47 +0000510/*** <<< CODE [ExtensibleSet] >>> ***/
511
Lev Walkinc92a7462005-03-10 11:20:47 +0000512/*
513 * This type is implemented using ENUMERATED,
514 * so here we adjust the DEF accordingly.
515 */
Lev Walkinc92a7462005-03-10 11:20:47 +0000516
Lev Walkin843a2462005-02-18 16:30:26 +0000517/*** <<< STAT-DEFS [ExtensibleSet] >>> ***/
518
Lev Walkina7591b52014-10-12 18:37:35 -0700519static const asn_INTEGER_enum_map_t asn_MAP_enum_value2enum_4[] = {
Lev Walkinc92a7462005-03-10 11:20:47 +0000520 { 0, 1, "b" },
521 { 1, 1, "a" }
522};
Lev Walkina7591b52014-10-12 18:37:35 -0700523static const unsigned int asn_MAP_enum_enum2value_4[] = {
Lev Walkinc92a7462005-03-10 11:20:47 +0000524 1, /* a(1) */
525 0 /* b(0) */
526};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800527static const asn_INTEGER_specifics_t asn_SPC_enum_specs_4 = {
Lev Walkin59b176e2005-11-26 11:25:14 +0000528 asn_MAP_enum_value2enum_4, /* "tag" => N; sorted by tag */
529 asn_MAP_enum_enum2value_4, /* N => "tag"; sorted by N */
Lev Walkinc92a7462005-03-10 11:20:47 +0000530 2, /* Number of elements in the maps */
531 0, /* Enumeration is not extensible */
Lev Walkin8bb57a22007-12-03 13:41:36 +0000532 1, /* Strict enumeration */
533 0, /* Native long size */
534 0
Lev Walkinc92a7462005-03-10 11:20:47 +0000535};
Lev Walkina7591b52014-10-12 18:37:35 -0700536static const ber_tlv_tag_t asn_DEF_enum_tags_4[] = {
Lev Walkinc92a7462005-03-10 11:20:47 +0000537 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
538 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
539};
540static /* Use -fall-defs-global to expose */
541asn_TYPE_descriptor_t asn_DEF_enum_4 = {
542 "enum",
543 "enum",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800544 &asn_OP_ENUMERATED,
Lev Walkin59b176e2005-11-26 11:25:14 +0000545 asn_DEF_enum_tags_4,
546 sizeof(asn_DEF_enum_tags_4)
547 /sizeof(asn_DEF_enum_tags_4[0]) - 1, /* 1 */
548 asn_DEF_enum_tags_4, /* Same as above */
549 sizeof(asn_DEF_enum_tags_4)
550 /sizeof(asn_DEF_enum_tags_4[0]), /* 2 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700551 { 0, 0, ENUMERATED_constraint },
Lev Walkinc92a7462005-03-10 11:20:47 +0000552 0, 0, /* Defined elsewhere */
Lev Walkin59b176e2005-11-26 11:25:14 +0000553 &asn_SPC_enum_specs_4 /* Additional specs */
Lev Walkinc92a7462005-03-10 11:20:47 +0000554};
555
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800556asn_TYPE_member_t asn_MBR_ExtensibleSet_1[] = {
Lev Walkinc92a7462005-03-10 11:20:47 +0000557 { ATF_POINTER, 2, offsetof(struct ExtensibleSet, string),
Lev Walkin843a2462005-02-18 16:30:26 +0000558 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
559 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000560 .type = &asn_DEF_UTF8String,
Lev Walkin67a30122017-08-10 05:48:54 -0700561 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700562 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000563 .default_value = 0,
Lev Walkin843a2462005-02-18 16:30:26 +0000564 .name = "string"
565 },
Lev Walkinb85a8132005-08-18 13:38:19 +0000566 { ATF_POINTER, 1, offsetof(struct ExtensibleSet, Enum),
Lev Walkinc92a7462005-03-10 11:20:47 +0000567 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
568 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000569 .type = &asn_DEF_enum_4,
Lev Walkin67a30122017-08-10 05:48:54 -0700570 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700571 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000572 .default_value = 0,
Lev Walkinc92a7462005-03-10 11:20:47 +0000573 .name = "enum"
574 },
Lev Walkin843a2462005-02-18 16:30:26 +0000575};
Lev Walkina7591b52014-10-12 18:37:35 -0700576static const ber_tlv_tag_t asn_DEF_ExtensibleSet_tags_1[] = {
Lev Walkin843a2462005-02-18 16:30:26 +0000577 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
578};
Lev Walkina7591b52014-10-12 18:37:35 -0700579static const asn_TYPE_tag2member_t asn_MAP_ExtensibleSet_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700580 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* string */
581 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* enum */
Lev Walkin843a2462005-02-18 16:30:26 +0000582};
Lev Walkina7591b52014-10-12 18:37:35 -0700583static const uint8_t asn_MAP_ExtensibleSet_mmap_1[(2 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkinc92a7462005-03-10 11:20:47 +0000584 (0 << 7) | (0 << 6)
Lev Walkin843a2462005-02-18 16:30:26 +0000585};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800586asn_SET_specifics_t asn_SPC_ExtensibleSet_specs_1 = {
Lev Walkin843a2462005-02-18 16:30:26 +0000587 sizeof(struct ExtensibleSet),
588 offsetof(struct ExtensibleSet, _asn_ctx),
589 offsetof(struct ExtensibleSet, _presence_map),
Lev Walkine3917082017-08-23 10:29:38 -0700590 .tag2el = asn_MAP_ExtensibleSet_tag2el_1,
591 .tag2el_count = 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000592 asn_MAP_ExtensibleSet_tag2el_1, /* Same as above */
Lev Walkinc92a7462005-03-10 11:20:47 +0000593 2, /* Count of tags in the CXER map */
Lev Walkin843a2462005-02-18 16:30:26 +0000594 1, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -0700595 (const unsigned int *)asn_MAP_ExtensibleSet_mmap_1 /* Mandatory elements map */
Lev Walkin843a2462005-02-18 16:30:26 +0000596};
597asn_TYPE_descriptor_t asn_DEF_ExtensibleSet = {
598 "ExtensibleSet",
599 "ExtensibleSet",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800600 &asn_OP_SET,
Lev Walkin59b176e2005-11-26 11:25:14 +0000601 asn_DEF_ExtensibleSet_tags_1,
602 sizeof(asn_DEF_ExtensibleSet_tags_1)
603 /sizeof(asn_DEF_ExtensibleSet_tags_1[0]), /* 1 */
604 asn_DEF_ExtensibleSet_tags_1, /* Same as above */
605 sizeof(asn_DEF_ExtensibleSet_tags_1)
606 /sizeof(asn_DEF_ExtensibleSet_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700607 { 0, 0, SET_constraint },
Lev Walkine0272aa2005-03-04 11:26:08 +0000608 asn_MBR_ExtensibleSet_1,
Lev Walkinc92a7462005-03-10 11:20:47 +0000609 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000610 &asn_SPC_ExtensibleSet_specs_1 /* Additional specs */
Lev Walkin843a2462005-02-18 16:30:26 +0000611};
612
613
614/*** <<< INCLUDES [ExtensibleSequence] >>> ***/
615
616#include <UTF8String.h>
617#include <INTEGER.h>
Lev Walkin15750402005-07-03 05:27:19 +0000618#include <GeneralizedTime.h>
Lev Walkin843a2462005-02-18 16:30:26 +0000619#include <constr_SEQUENCE.h>
620
Lev Walkin843a2462005-02-18 16:30:26 +0000621/*** <<< TYPE-DECLS [ExtensibleSequence] >>> ***/
622
Lev Walkin843a2462005-02-18 16:30:26 +0000623typedef struct ExtensibleSequence {
624 UTF8String_t *string /* OPTIONAL */;
625 /*
626 * This type is extensible,
627 * possible extensions are below.
628 */
629 INTEGER_t *integer /* OPTIONAL */;
Lev Walkin15750402005-07-03 05:27:19 +0000630 GeneralizedTime_t *gtime;
Lev Walkin843a2462005-02-18 16:30:26 +0000631
632 /* Context for parsing across buffer boundaries */
633 asn_struct_ctx_t _asn_ctx;
634} ExtensibleSequence_t;
635
Lev Walkinc8285712005-03-04 22:18:20 +0000636/*** <<< FUNC-DECLS [ExtensibleSequence] >>> ***/
637
638extern asn_TYPE_descriptor_t asn_DEF_ExtensibleSequence;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800639extern asn_SEQUENCE_specifics_t asn_SPC_ExtensibleSequence_specs_1;
640extern asn_TYPE_member_t asn_MBR_ExtensibleSequence_1[3];
Lev Walkinc8285712005-03-04 22:18:20 +0000641
Lev Walkin843a2462005-02-18 16:30:26 +0000642/*** <<< STAT-DEFS [ExtensibleSequence] >>> ***/
643
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800644asn_TYPE_member_t asn_MBR_ExtensibleSequence_1[] = {
Lev Walkin15750402005-07-03 05:27:19 +0000645 { ATF_POINTER, 3, offsetof(struct ExtensibleSequence, string),
Lev Walkin843a2462005-02-18 16:30:26 +0000646 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
647 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000648 .type = &asn_DEF_UTF8String,
Lev Walkin67a30122017-08-10 05:48:54 -0700649 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700650 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000651 .default_value = 0,
Lev Walkin843a2462005-02-18 16:30:26 +0000652 .name = "string"
653 },
Lev Walkin15750402005-07-03 05:27:19 +0000654 { ATF_POINTER, 2, offsetof(struct ExtensibleSequence, integer),
Lev Walkin843a2462005-02-18 16:30:26 +0000655 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
656 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000657 .type = &asn_DEF_INTEGER,
Lev Walkin67a30122017-08-10 05:48:54 -0700658 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700659 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000660 .default_value = 0,
Lev Walkin843a2462005-02-18 16:30:26 +0000661 .name = "integer"
662 },
Lev Walkinb85a8132005-08-18 13:38:19 +0000663 { ATF_POINTER, 1, offsetof(struct ExtensibleSequence, gtime),
Lev Walkin15750402005-07-03 05:27:19 +0000664 .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
665 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000666 .type = &asn_DEF_GeneralizedTime,
Lev Walkin67a30122017-08-10 05:48:54 -0700667 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700668 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000669 .default_value = 0,
Lev Walkin15750402005-07-03 05:27:19 +0000670 .name = "gtime"
671 },
Lev Walkin843a2462005-02-18 16:30:26 +0000672};
Lev Walkina7591b52014-10-12 18:37:35 -0700673static const ber_tlv_tag_t asn_DEF_ExtensibleSequence_tags_1[] = {
Lev Walkin843a2462005-02-18 16:30:26 +0000674 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
675};
Lev Walkina7591b52014-10-12 18:37:35 -0700676static const asn_TYPE_tag2member_t asn_MAP_ExtensibleSequence_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700677 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* string */
678 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* integer */
679 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* gtime */
Lev Walkin843a2462005-02-18 16:30:26 +0000680};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800681asn_SEQUENCE_specifics_t asn_SPC_ExtensibleSequence_specs_1 = {
Lev Walkin843a2462005-02-18 16:30:26 +0000682 sizeof(struct ExtensibleSequence),
683 offsetof(struct ExtensibleSequence, _asn_ctx),
Lev Walkine3917082017-08-23 10:29:38 -0700684 .tag2el = asn_MAP_ExtensibleSequence_tag2el_1,
685 .tag2el_count = 3, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000686 0, 0, 0, /* Optional elements (not needed) */
Lev Walkin843a2462005-02-18 16:30:26 +0000687 0, /* Start extensions */
Lev Walkin15750402005-07-03 05:27:19 +0000688 4 /* Stop extensions */
Lev Walkin843a2462005-02-18 16:30:26 +0000689};
690asn_TYPE_descriptor_t asn_DEF_ExtensibleSequence = {
691 "ExtensibleSequence",
692 "ExtensibleSequence",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800693 &asn_OP_SEQUENCE,
Lev Walkin59b176e2005-11-26 11:25:14 +0000694 asn_DEF_ExtensibleSequence_tags_1,
695 sizeof(asn_DEF_ExtensibleSequence_tags_1)
696 /sizeof(asn_DEF_ExtensibleSequence_tags_1[0]), /* 1 */
697 asn_DEF_ExtensibleSequence_tags_1, /* Same as above */
698 sizeof(asn_DEF_ExtensibleSequence_tags_1)
699 /sizeof(asn_DEF_ExtensibleSequence_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700700 { 0, 0, SEQUENCE_constraint },
Lev Walkine0272aa2005-03-04 11:26:08 +0000701 asn_MBR_ExtensibleSequence_1,
Lev Walkin15750402005-07-03 05:27:19 +0000702 3, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000703 &asn_SPC_ExtensibleSequence_specs_1 /* Additional specs */
Lev Walkin843a2462005-02-18 16:30:26 +0000704};
705
706
Lev Walkin15750402005-07-03 05:27:19 +0000707/*** <<< INCLUDES [ExtensibleSequence2] >>> ***/
708
709#include <UTF8String.h>
710#include <INTEGER.h>
711#include <constr_SEQUENCE.h>
712
713/*** <<< TYPE-DECLS [ExtensibleSequence2] >>> ***/
714
715typedef struct ExtensibleSequence2 {
716 UTF8String_t *string /* OPTIONAL */;
717 /*
718 * This type is extensible,
719 * possible extensions are below.
720 */
721 INTEGER_t *integer /* OPTIONAL */;
722
723 /* Context for parsing across buffer boundaries */
724 asn_struct_ctx_t _asn_ctx;
725} ExtensibleSequence2_t;
726
727/*** <<< FUNC-DECLS [ExtensibleSequence2] >>> ***/
728
729extern asn_TYPE_descriptor_t asn_DEF_ExtensibleSequence2;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800730extern asn_SEQUENCE_specifics_t asn_SPC_ExtensibleSequence2_specs_1;
731extern asn_TYPE_member_t asn_MBR_ExtensibleSequence2_1[2];
Lev Walkin15750402005-07-03 05:27:19 +0000732
733/*** <<< STAT-DEFS [ExtensibleSequence2] >>> ***/
734
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800735asn_TYPE_member_t asn_MBR_ExtensibleSequence2_1[] = {
Lev Walkin15750402005-07-03 05:27:19 +0000736 { ATF_POINTER, 2, offsetof(struct ExtensibleSequence2, string),
737 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
738 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000739 .type = &asn_DEF_UTF8String,
Lev Walkin67a30122017-08-10 05:48:54 -0700740 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700741 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000742 .default_value = 0,
Lev Walkin15750402005-07-03 05:27:19 +0000743 .name = "string"
744 },
745 { ATF_POINTER, 1, offsetof(struct ExtensibleSequence2, integer),
746 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
747 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000748 .type = &asn_DEF_INTEGER,
Lev Walkin67a30122017-08-10 05:48:54 -0700749 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700750 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000751 .default_value = 0,
Lev Walkin15750402005-07-03 05:27:19 +0000752 .name = "integer"
753 },
754};
Lev Walkina7591b52014-10-12 18:37:35 -0700755static const ber_tlv_tag_t asn_DEF_ExtensibleSequence2_tags_1[] = {
Lev Walkin15750402005-07-03 05:27:19 +0000756 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
757};
Lev Walkina7591b52014-10-12 18:37:35 -0700758static const asn_TYPE_tag2member_t asn_MAP_ExtensibleSequence2_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700759 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* string */
760 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* integer */
Lev Walkin15750402005-07-03 05:27:19 +0000761};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800762asn_SEQUENCE_specifics_t asn_SPC_ExtensibleSequence2_specs_1 = {
Lev Walkin15750402005-07-03 05:27:19 +0000763 sizeof(struct ExtensibleSequence2),
764 offsetof(struct ExtensibleSequence2, _asn_ctx),
Lev Walkine3917082017-08-23 10:29:38 -0700765 .tag2el = asn_MAP_ExtensibleSequence2_tag2el_1,
766 .tag2el_count = 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000767 0, 0, 0, /* Optional elements (not needed) */
Lev Walkin15750402005-07-03 05:27:19 +0000768 0, /* Start extensions */
769 3 /* Stop extensions */
770};
771asn_TYPE_descriptor_t asn_DEF_ExtensibleSequence2 = {
772 "ExtensibleSequence2",
773 "ExtensibleSequence2",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800774 &asn_OP_SEQUENCE,
Lev Walkin59b176e2005-11-26 11:25:14 +0000775 asn_DEF_ExtensibleSequence2_tags_1,
776 sizeof(asn_DEF_ExtensibleSequence2_tags_1)
777 /sizeof(asn_DEF_ExtensibleSequence2_tags_1[0]), /* 1 */
778 asn_DEF_ExtensibleSequence2_tags_1, /* Same as above */
779 sizeof(asn_DEF_ExtensibleSequence2_tags_1)
780 /sizeof(asn_DEF_ExtensibleSequence2_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700781 { 0, 0, SEQUENCE_constraint },
Lev Walkin15750402005-07-03 05:27:19 +0000782 asn_MBR_ExtensibleSequence2_1,
783 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000784 &asn_SPC_ExtensibleSequence2_specs_1 /* Additional specs */
Lev Walkin15750402005-07-03 05:27:19 +0000785};
786
787
Lev Walkinf5db6142005-02-24 22:38:43 +0000788/*** <<< INCLUDES [SetOfNULL] >>> ***/
789
790#include <NULL.h>
791#include <asn_SET_OF.h>
792#include <constr_SET_OF.h>
793
Lev Walkinf5db6142005-02-24 22:38:43 +0000794/*** <<< TYPE-DECLS [SetOfNULL] >>> ***/
795
Lev Walkinf5db6142005-02-24 22:38:43 +0000796typedef struct SetOfNULL {
797 A_SET_OF(NULL_t) list;
798
799 /* Context for parsing across buffer boundaries */
800 asn_struct_ctx_t _asn_ctx;
801} SetOfNULL_t;
802
Lev Walkinc8285712005-03-04 22:18:20 +0000803/*** <<< FUNC-DECLS [SetOfNULL] >>> ***/
804
805extern asn_TYPE_descriptor_t asn_DEF_SetOfNULL;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800806extern asn_SET_OF_specifics_t asn_SPC_SetOfNULL_specs_1;
807extern asn_TYPE_member_t asn_MBR_SetOfNULL_1[1];
Lev Walkinc8285712005-03-04 22:18:20 +0000808
Lev Walkinf5db6142005-02-24 22:38:43 +0000809/*** <<< STAT-DEFS [SetOfNULL] >>> ***/
810
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800811asn_TYPE_member_t asn_MBR_SetOfNULL_1[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +0000812 { ATF_POINTER, 0, 0,
Lev Walkinf5db6142005-02-24 22:38:43 +0000813 .tag = (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)),
814 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000815 .type = &asn_DEF_NULL,
Lev Walkin67a30122017-08-10 05:48:54 -0700816 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700817 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000818 .default_value = 0,
Lev Walkinf5db6142005-02-24 22:38:43 +0000819 .name = ""
820 },
821};
Lev Walkina7591b52014-10-12 18:37:35 -0700822static const ber_tlv_tag_t asn_DEF_SetOfNULL_tags_1[] = {
Lev Walkinf5db6142005-02-24 22:38:43 +0000823 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
824};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800825asn_SET_OF_specifics_t asn_SPC_SetOfNULL_specs_1 = {
Lev Walkinf5db6142005-02-24 22:38:43 +0000826 sizeof(struct SetOfNULL),
827 offsetof(struct SetOfNULL, _asn_ctx),
828 1, /* XER encoding is XMLValueList */
829};
830asn_TYPE_descriptor_t asn_DEF_SetOfNULL = {
831 "SetOfNULL",
832 "SetOfNULL",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800833 &asn_OP_SET_OF,
Lev Walkin59b176e2005-11-26 11:25:14 +0000834 asn_DEF_SetOfNULL_tags_1,
835 sizeof(asn_DEF_SetOfNULL_tags_1)
836 /sizeof(asn_DEF_SetOfNULL_tags_1[0]), /* 1 */
837 asn_DEF_SetOfNULL_tags_1, /* Same as above */
838 sizeof(asn_DEF_SetOfNULL_tags_1)
839 /sizeof(asn_DEF_SetOfNULL_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700840 { 0, 0, SET_OF_constraint },
Lev Walkine0272aa2005-03-04 11:26:08 +0000841 asn_MBR_SetOfNULL_1,
Lev Walkinf5db6142005-02-24 22:38:43 +0000842 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000843 &asn_SPC_SetOfNULL_specs_1 /* Additional specs */
Lev Walkinf5db6142005-02-24 22:38:43 +0000844};
845
846
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000847/*** <<< INCLUDES [SetOfREAL] >>> ***/
848
849#include <REAL.h>
850#include <asn_SET_OF.h>
851#include <constr_SET_OF.h>
852
853/*** <<< TYPE-DECLS [SetOfREAL] >>> ***/
854
855typedef struct SetOfREAL {
856 A_SET_OF(REAL_t) list;
857
858 /* Context for parsing across buffer boundaries */
859 asn_struct_ctx_t _asn_ctx;
860} SetOfREAL_t;
861
862/*** <<< FUNC-DECLS [SetOfREAL] >>> ***/
863
864extern asn_TYPE_descriptor_t asn_DEF_SetOfREAL;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800865extern asn_SET_OF_specifics_t asn_SPC_SetOfREAL_specs_1;
866extern asn_TYPE_member_t asn_MBR_SetOfREAL_1[1];
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000867
868/*** <<< STAT-DEFS [SetOfREAL] >>> ***/
869
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800870asn_TYPE_member_t asn_MBR_SetOfREAL_1[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000871 { ATF_POINTER, 0, 0,
872 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
873 .tag_mode = 0,
874 .type = &asn_DEF_REAL,
Lev Walkin67a30122017-08-10 05:48:54 -0700875 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700876 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000877 .default_value = 0,
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000878 .name = ""
879 },
880};
Lev Walkina7591b52014-10-12 18:37:35 -0700881static const ber_tlv_tag_t asn_DEF_SetOfREAL_tags_1[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000882 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
883};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800884asn_SET_OF_specifics_t asn_SPC_SetOfREAL_specs_1 = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000885 sizeof(struct SetOfREAL),
886 offsetof(struct SetOfREAL, _asn_ctx),
887 0, /* XER encoding is XMLDelimitedItemList */
888};
889asn_TYPE_descriptor_t asn_DEF_SetOfREAL = {
890 "SetOfREAL",
891 "SetOfREAL",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800892 &asn_OP_SET_OF,
Lev Walkin59b176e2005-11-26 11:25:14 +0000893 asn_DEF_SetOfREAL_tags_1,
894 sizeof(asn_DEF_SetOfREAL_tags_1)
895 /sizeof(asn_DEF_SetOfREAL_tags_1[0]), /* 1 */
896 asn_DEF_SetOfREAL_tags_1, /* Same as above */
897 sizeof(asn_DEF_SetOfREAL_tags_1)
898 /sizeof(asn_DEF_SetOfREAL_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700899 { 0, 0, SET_OF_constraint },
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000900 asn_MBR_SetOfREAL_1,
901 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +0000902 &asn_SPC_SetOfREAL_specs_1 /* Additional specs */
Lev Walkin5ab96cd2005-11-07 15:26:47 +0000903};
904
905
Lev Walkinf5db6142005-02-24 22:38:43 +0000906/*** <<< INCLUDES [SetOfEnums] >>> ***/
907
908#include <ENUMERATED.h>
909#include <asn_SET_OF.h>
910#include <constr_SET_OF.h>
911
912/*** <<< DEPS [SetOfEnums] >>> ***/
913
Lev Walkine0272aa2005-03-04 11:26:08 +0000914typedef enum Member {
915 Member_one = 0,
916 Member_oneMore = 1
Lev Walkin171487e2006-03-21 07:25:18 +0000917} e_Member;
Lev Walkinf5db6142005-02-24 22:38:43 +0000918
919/*** <<< TYPE-DECLS [SetOfEnums] >>> ***/
920
Lev Walkinf5db6142005-02-24 22:38:43 +0000921typedef struct SetOfEnums {
922 A_SET_OF(ENUMERATED_t) list;
923
924 /* Context for parsing across buffer boundaries */
925 asn_struct_ctx_t _asn_ctx;
926} SetOfEnums_t;
927
Lev Walkinb47df092005-02-25 08:35:54 +0000928/*** <<< FUNC-DECLS [SetOfEnums] >>> ***/
929
Lev Walkine0272aa2005-03-04 11:26:08 +0000930/* extern asn_TYPE_descriptor_t asn_DEF_Member_2; // (Use -fall-defs-global to expose) */
Lev Walkinc8285712005-03-04 22:18:20 +0000931extern asn_TYPE_descriptor_t asn_DEF_SetOfEnums;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800932extern asn_SET_OF_specifics_t asn_SPC_SetOfEnums_specs_1;
933extern asn_TYPE_member_t asn_MBR_SetOfEnums_1[1];
Lev Walkinb47df092005-02-25 08:35:54 +0000934
935/*** <<< CODE [SetOfEnums] >>> ***/
936
Lev Walkinb47df092005-02-25 08:35:54 +0000937/*
938 * This type is implemented using ENUMERATED,
939 * so here we adjust the DEF accordingly.
940 */
Lev Walkinb47df092005-02-25 08:35:54 +0000941
Lev Walkinf5db6142005-02-24 22:38:43 +0000942/*** <<< STAT-DEFS [SetOfEnums] >>> ***/
943
Lev Walkina7591b52014-10-12 18:37:35 -0700944static const asn_INTEGER_enum_map_t asn_MAP_Member_value2enum_2[] = {
Lev Walkin9f30ef12005-02-25 11:08:02 +0000945 { 0, 3, "one" },
946 { 1, 7, "oneMore" }
947};
Lev Walkina7591b52014-10-12 18:37:35 -0700948static const unsigned int asn_MAP_Member_enum2value_2[] = {
Lev Walkin9f30ef12005-02-25 11:08:02 +0000949 0, /* one(0) */
950 1 /* oneMore(1) */
Lev Walkinb47df092005-02-25 08:35:54 +0000951};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800952static const asn_INTEGER_specifics_t asn_SPC_Member_specs_2 = {
Lev Walkin59b176e2005-11-26 11:25:14 +0000953 asn_MAP_Member_value2enum_2, /* "tag" => N; sorted by tag */
954 asn_MAP_Member_enum2value_2, /* N => "tag"; sorted by N */
Lev Walkinb47df092005-02-25 08:35:54 +0000955 2, /* Number of elements in the maps */
Lev Walkin295e2452005-02-25 11:47:59 +0000956 0, /* Enumeration is not extensible */
Lev Walkin8bb57a22007-12-03 13:41:36 +0000957 1, /* Strict enumeration */
958 0, /* Native long size */
959 0
Lev Walkinb47df092005-02-25 08:35:54 +0000960};
Lev Walkina7591b52014-10-12 18:37:35 -0700961static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
Lev Walkinb47df092005-02-25 08:35:54 +0000962 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
963};
964static /* Use -fall-defs-global to expose */
Lev Walkine0272aa2005-03-04 11:26:08 +0000965asn_TYPE_descriptor_t asn_DEF_Member_2 = {
Lev Walkin59b176e2005-11-26 11:25:14 +0000966 "ENUMERATED",
967 "ENUMERATED",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800968 &asn_OP_ENUMERATED,
Lev Walkin59b176e2005-11-26 11:25:14 +0000969 asn_DEF_Member_tags_2,
970 sizeof(asn_DEF_Member_tags_2)
971 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
972 asn_DEF_Member_tags_2, /* Same as above */
973 sizeof(asn_DEF_Member_tags_2)
974 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -0700975 { 0, 0, ENUMERATED_constraint },
Lev Walkinb47df092005-02-25 08:35:54 +0000976 0, 0, /* Defined elsewhere */
Lev Walkin59b176e2005-11-26 11:25:14 +0000977 &asn_SPC_Member_specs_2 /* Additional specs */
Lev Walkinb47df092005-02-25 08:35:54 +0000978};
979
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800980asn_TYPE_member_t asn_MBR_SetOfEnums_1[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +0000981 { ATF_POINTER, 0, 0,
Lev Walkinf5db6142005-02-24 22:38:43 +0000982 .tag = (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
983 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000984 .type = &asn_DEF_Member_2,
Lev Walkin67a30122017-08-10 05:48:54 -0700985 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -0700986 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +0000987 .default_value = 0,
Lev Walkinf5db6142005-02-24 22:38:43 +0000988 .name = ""
989 },
990};
Lev Walkina7591b52014-10-12 18:37:35 -0700991static const ber_tlv_tag_t asn_DEF_SetOfEnums_tags_1[] = {
Lev Walkinf5db6142005-02-24 22:38:43 +0000992 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
993};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800994asn_SET_OF_specifics_t asn_SPC_SetOfEnums_specs_1 = {
Lev Walkinf5db6142005-02-24 22:38:43 +0000995 sizeof(struct SetOfEnums),
996 offsetof(struct SetOfEnums, _asn_ctx),
Lev Walkinb47df092005-02-25 08:35:54 +0000997 1, /* XER encoding is XMLValueList */
Lev Walkinf5db6142005-02-24 22:38:43 +0000998};
999asn_TYPE_descriptor_t asn_DEF_SetOfEnums = {
1000 "SetOfEnums",
1001 "SetOfEnums",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +08001002 &asn_OP_SET_OF,
Lev Walkin59b176e2005-11-26 11:25:14 +00001003 asn_DEF_SetOfEnums_tags_1,
1004 sizeof(asn_DEF_SetOfEnums_tags_1)
1005 /sizeof(asn_DEF_SetOfEnums_tags_1[0]), /* 1 */
1006 asn_DEF_SetOfEnums_tags_1, /* Same as above */
1007 sizeof(asn_DEF_SetOfEnums_tags_1)
1008 /sizeof(asn_DEF_SetOfEnums_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -07001009 { 0, 0, SET_OF_constraint },
Lev Walkine0272aa2005-03-04 11:26:08 +00001010 asn_MBR_SetOfEnums_1,
Lev Walkinf5db6142005-02-24 22:38:43 +00001011 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +00001012 &asn_SPC_SetOfEnums_specs_1 /* Additional specs */
Lev Walkinf5db6142005-02-24 22:38:43 +00001013};
1014
1015
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001016/*** <<< INCLUDES [NamedSetOfNULL] >>> ***/
1017
1018#include <NULL.h>
1019#include <asn_SET_OF.h>
1020#include <constr_SET_OF.h>
1021
1022/*** <<< TYPE-DECLS [NamedSetOfNULL] >>> ***/
1023
1024typedef struct NamedSetOfNULL {
1025 A_SET_OF(NULL_t) list;
1026
1027 /* Context for parsing across buffer boundaries */
1028 asn_struct_ctx_t _asn_ctx;
1029} NamedSetOfNULL_t;
1030
1031/*** <<< FUNC-DECLS [NamedSetOfNULL] >>> ***/
1032
1033extern asn_TYPE_descriptor_t asn_DEF_NamedSetOfNULL;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001034extern asn_SET_OF_specifics_t asn_SPC_NamedSetOfNULL_specs_1;
1035extern asn_TYPE_member_t asn_MBR_NamedSetOfNULL_1[1];
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001036
1037/*** <<< STAT-DEFS [NamedSetOfNULL] >>> ***/
1038
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001039asn_TYPE_member_t asn_MBR_NamedSetOfNULL_1[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001040 { ATF_POINTER, 0, 0,
1041 .tag = (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)),
1042 .tag_mode = 0,
1043 .type = &asn_DEF_NULL,
Lev Walkin67a30122017-08-10 05:48:54 -07001044 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -07001045 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +00001046 .default_value = 0,
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001047 .name = "y"
1048 },
1049};
Lev Walkina7591b52014-10-12 18:37:35 -07001050static const ber_tlv_tag_t asn_DEF_NamedSetOfNULL_tags_1[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001051 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1052};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001053asn_SET_OF_specifics_t asn_SPC_NamedSetOfNULL_specs_1 = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001054 sizeof(struct NamedSetOfNULL),
1055 offsetof(struct NamedSetOfNULL, _asn_ctx),
1056 1, /* XER encoding is XMLValueList */
1057};
1058asn_TYPE_descriptor_t asn_DEF_NamedSetOfNULL = {
1059 "NamedSetOfNULL",
1060 "NamedSetOfNULL",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +08001061 &asn_OP_SET_OF,
Lev Walkin59b176e2005-11-26 11:25:14 +00001062 asn_DEF_NamedSetOfNULL_tags_1,
1063 sizeof(asn_DEF_NamedSetOfNULL_tags_1)
1064 /sizeof(asn_DEF_NamedSetOfNULL_tags_1[0]), /* 1 */
1065 asn_DEF_NamedSetOfNULL_tags_1, /* Same as above */
1066 sizeof(asn_DEF_NamedSetOfNULL_tags_1)
1067 /sizeof(asn_DEF_NamedSetOfNULL_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -07001068 { 0, 0, SET_OF_constraint },
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001069 asn_MBR_NamedSetOfNULL_1,
1070 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +00001071 &asn_SPC_NamedSetOfNULL_specs_1 /* Additional specs */
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001072};
1073
1074
1075/*** <<< INCLUDES [NamedSetOfREAL] >>> ***/
1076
1077#include <REAL.h>
1078#include <asn_SET_OF.h>
1079#include <constr_SET_OF.h>
1080
1081/*** <<< TYPE-DECLS [NamedSetOfREAL] >>> ***/
1082
1083typedef struct NamedSetOfREAL {
1084 A_SET_OF(REAL_t) list;
1085
1086 /* Context for parsing across buffer boundaries */
1087 asn_struct_ctx_t _asn_ctx;
1088} NamedSetOfREAL_t;
1089
1090/*** <<< FUNC-DECLS [NamedSetOfREAL] >>> ***/
1091
1092extern asn_TYPE_descriptor_t asn_DEF_NamedSetOfREAL;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001093extern asn_SET_OF_specifics_t asn_SPC_NamedSetOfREAL_specs_1;
1094extern asn_TYPE_member_t asn_MBR_NamedSetOfREAL_1[1];
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001095
1096/*** <<< STAT-DEFS [NamedSetOfREAL] >>> ***/
1097
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001098asn_TYPE_member_t asn_MBR_NamedSetOfREAL_1[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001099 { ATF_POINTER, 0, 0,
1100 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
1101 .tag_mode = 0,
1102 .type = &asn_DEF_REAL,
Lev Walkin67a30122017-08-10 05:48:54 -07001103 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -07001104 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +00001105 .default_value = 0,
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001106 .name = "name"
1107 },
1108};
Lev Walkina7591b52014-10-12 18:37:35 -07001109static const ber_tlv_tag_t asn_DEF_NamedSetOfREAL_tags_1[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001110 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1111};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001112asn_SET_OF_specifics_t asn_SPC_NamedSetOfREAL_specs_1 = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001113 sizeof(struct NamedSetOfREAL),
1114 offsetof(struct NamedSetOfREAL, _asn_ctx),
1115 0, /* XER encoding is XMLDelimitedItemList */
1116};
1117asn_TYPE_descriptor_t asn_DEF_NamedSetOfREAL = {
1118 "NamedSetOfREAL",
1119 "NamedSetOfREAL",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +08001120 &asn_OP_SET_OF,
Lev Walkin59b176e2005-11-26 11:25:14 +00001121 asn_DEF_NamedSetOfREAL_tags_1,
1122 sizeof(asn_DEF_NamedSetOfREAL_tags_1)
1123 /sizeof(asn_DEF_NamedSetOfREAL_tags_1[0]), /* 1 */
1124 asn_DEF_NamedSetOfREAL_tags_1, /* Same as above */
1125 sizeof(asn_DEF_NamedSetOfREAL_tags_1)
1126 /sizeof(asn_DEF_NamedSetOfREAL_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -07001127 { 0, 0, SET_OF_constraint },
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001128 asn_MBR_NamedSetOfREAL_1,
1129 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +00001130 &asn_SPC_NamedSetOfREAL_specs_1 /* Additional specs */
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001131};
1132
1133
1134/*** <<< INCLUDES [NamedSetOfEnums] >>> ***/
1135
1136#include <ENUMERATED.h>
1137#include <asn_SET_OF.h>
1138#include <constr_SET_OF.h>
1139
1140/*** <<< DEPS [NamedSetOfEnums] >>> ***/
1141
1142typedef enum name {
1143 name_one = 0,
1144 name_oneMore = 1
Lev Walkin171487e2006-03-21 07:25:18 +00001145} e_name;
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001146
1147/*** <<< TYPE-DECLS [NamedSetOfEnums] >>> ***/
1148
1149typedef struct NamedSetOfEnums {
1150 A_SET_OF(ENUMERATED_t) list;
1151
1152 /* Context for parsing across buffer boundaries */
1153 asn_struct_ctx_t _asn_ctx;
1154} NamedSetOfEnums_t;
1155
1156/*** <<< FUNC-DECLS [NamedSetOfEnums] >>> ***/
1157
1158/* extern asn_TYPE_descriptor_t asn_DEF_name_2; // (Use -fall-defs-global to expose) */
1159extern asn_TYPE_descriptor_t asn_DEF_NamedSetOfEnums;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001160extern asn_SET_OF_specifics_t asn_SPC_NamedSetOfEnums_specs_1;
1161extern asn_TYPE_member_t asn_MBR_NamedSetOfEnums_1[1];
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001162
1163/*** <<< CODE [NamedSetOfEnums] >>> ***/
1164
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001165/*
1166 * This type is implemented using ENUMERATED,
1167 * so here we adjust the DEF accordingly.
1168 */
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001169
1170/*** <<< STAT-DEFS [NamedSetOfEnums] >>> ***/
1171
Lev Walkina7591b52014-10-12 18:37:35 -07001172static const asn_INTEGER_enum_map_t asn_MAP_name_value2enum_2[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001173 { 0, 3, "one" },
1174 { 1, 7, "oneMore" }
1175};
Lev Walkina7591b52014-10-12 18:37:35 -07001176static const unsigned int asn_MAP_name_enum2value_2[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001177 0, /* one(0) */
1178 1 /* oneMore(1) */
1179};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001180static const asn_INTEGER_specifics_t asn_SPC_name_specs_2 = {
Lev Walkin59b176e2005-11-26 11:25:14 +00001181 asn_MAP_name_value2enum_2, /* "tag" => N; sorted by tag */
1182 asn_MAP_name_enum2value_2, /* N => "tag"; sorted by N */
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001183 2, /* Number of elements in the maps */
1184 0, /* Enumeration is not extensible */
Lev Walkin8bb57a22007-12-03 13:41:36 +00001185 1, /* Strict enumeration */
1186 0, /* Native long size */
1187 0
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001188};
Lev Walkina7591b52014-10-12 18:37:35 -07001189static const ber_tlv_tag_t asn_DEF_name_tags_2[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001190 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
1191};
1192static /* Use -fall-defs-global to expose */
1193asn_TYPE_descriptor_t asn_DEF_name_2 = {
Lev Walkin59b176e2005-11-26 11:25:14 +00001194 "ENUMERATED",
1195 "ENUMERATED",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +08001196 &asn_OP_ENUMERATED,
Lev Walkin59b176e2005-11-26 11:25:14 +00001197 asn_DEF_name_tags_2,
1198 sizeof(asn_DEF_name_tags_2)
1199 /sizeof(asn_DEF_name_tags_2[0]), /* 1 */
1200 asn_DEF_name_tags_2, /* Same as above */
1201 sizeof(asn_DEF_name_tags_2)
1202 /sizeof(asn_DEF_name_tags_2[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -07001203 { 0, 0, ENUMERATED_constraint },
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001204 0, 0, /* Defined elsewhere */
Lev Walkin59b176e2005-11-26 11:25:14 +00001205 &asn_SPC_name_specs_2 /* Additional specs */
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001206};
1207
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001208asn_TYPE_member_t asn_MBR_NamedSetOfEnums_1[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001209 { ATF_POINTER, 0, 0,
1210 .tag = (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
1211 .tag_mode = 0,
1212 .type = &asn_DEF_name_2,
Lev Walkin67a30122017-08-10 05:48:54 -07001213 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -07001214 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +00001215 .default_value = 0,
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001216 .name = "name"
1217 },
1218};
Lev Walkina7591b52014-10-12 18:37:35 -07001219static const ber_tlv_tag_t asn_DEF_NamedSetOfEnums_tags_1[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001220 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1221};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001222asn_SET_OF_specifics_t asn_SPC_NamedSetOfEnums_specs_1 = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001223 sizeof(struct NamedSetOfEnums),
1224 offsetof(struct NamedSetOfEnums, _asn_ctx),
1225 1, /* XER encoding is XMLValueList */
1226};
1227asn_TYPE_descriptor_t asn_DEF_NamedSetOfEnums = {
1228 "NamedSetOfEnums",
1229 "NamedSetOfEnums",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +08001230 &asn_OP_SET_OF,
Lev Walkin59b176e2005-11-26 11:25:14 +00001231 asn_DEF_NamedSetOfEnums_tags_1,
1232 sizeof(asn_DEF_NamedSetOfEnums_tags_1)
1233 /sizeof(asn_DEF_NamedSetOfEnums_tags_1[0]), /* 1 */
1234 asn_DEF_NamedSetOfEnums_tags_1, /* Same as above */
1235 sizeof(asn_DEF_NamedSetOfEnums_tags_1)
1236 /sizeof(asn_DEF_NamedSetOfEnums_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -07001237 { 0, 0, SET_OF_constraint },
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001238 asn_MBR_NamedSetOfEnums_1,
1239 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +00001240 &asn_SPC_NamedSetOfEnums_specs_1 /* Additional specs */
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001241};
1242
1243
Lev Walkin843a2462005-02-18 16:30:26 +00001244/*** <<< INCLUDES [SequenceOf] >>> ***/
Lev Walkin0ef9f142005-02-14 20:40:57 +00001245
1246#include <INTEGER.h>
1247#include <asn_SEQUENCE_OF.h>
1248#include <constr_SEQUENCE_OF.h>
1249
Lev Walkin843a2462005-02-18 16:30:26 +00001250/*** <<< TYPE-DECLS [SequenceOf] >>> ***/
Lev Walkin0ef9f142005-02-14 20:40:57 +00001251
Lev Walkin843a2462005-02-18 16:30:26 +00001252typedef struct SequenceOf {
Lev Walkin0ef9f142005-02-14 20:40:57 +00001253 A_SEQUENCE_OF(INTEGER_t) list;
1254
1255 /* Context for parsing across buffer boundaries */
1256 asn_struct_ctx_t _asn_ctx;
Lev Walkin843a2462005-02-18 16:30:26 +00001257} SequenceOf_t;
Lev Walkin0ef9f142005-02-14 20:40:57 +00001258
Lev Walkinc8285712005-03-04 22:18:20 +00001259/*** <<< FUNC-DECLS [SequenceOf] >>> ***/
1260
1261extern asn_TYPE_descriptor_t asn_DEF_SequenceOf;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001262extern asn_SET_OF_specifics_t asn_SPC_SequenceOf_specs_1;
1263extern asn_TYPE_member_t asn_MBR_SequenceOf_1[1];
Lev Walkinc8285712005-03-04 22:18:20 +00001264
Lev Walkin843a2462005-02-18 16:30:26 +00001265/*** <<< STAT-DEFS [SequenceOf] >>> ***/
Lev Walkin0ef9f142005-02-14 20:40:57 +00001266
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001267asn_TYPE_member_t asn_MBR_SequenceOf_1[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +00001268 { ATF_POINTER, 0, 0,
Lev Walkin0ef9f142005-02-14 20:40:57 +00001269 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
1270 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001271 .type = &asn_DEF_INTEGER,
Lev Walkin67a30122017-08-10 05:48:54 -07001272 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -07001273 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +00001274 .default_value = 0,
Lev Walkin0ef9f142005-02-14 20:40:57 +00001275 .name = "id"
1276 },
1277};
Lev Walkina7591b52014-10-12 18:37:35 -07001278static const ber_tlv_tag_t asn_DEF_SequenceOf_tags_1[] = {
Lev Walkin0ef9f142005-02-14 20:40:57 +00001279 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1280};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001281asn_SET_OF_specifics_t asn_SPC_SequenceOf_specs_1 = {
Lev Walkin843a2462005-02-18 16:30:26 +00001282 sizeof(struct SequenceOf),
1283 offsetof(struct SequenceOf, _asn_ctx),
Lev Walkin0ef9f142005-02-14 20:40:57 +00001284 0, /* XER encoding is XMLDelimitedItemList */
1285};
Lev Walkin843a2462005-02-18 16:30:26 +00001286asn_TYPE_descriptor_t asn_DEF_SequenceOf = {
1287 "SequenceOf",
1288 "SequenceOf",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +08001289 &asn_OP_SEQUENCE_OF,
Lev Walkin59b176e2005-11-26 11:25:14 +00001290 asn_DEF_SequenceOf_tags_1,
1291 sizeof(asn_DEF_SequenceOf_tags_1)
1292 /sizeof(asn_DEF_SequenceOf_tags_1[0]), /* 1 */
1293 asn_DEF_SequenceOf_tags_1, /* Same as above */
1294 sizeof(asn_DEF_SequenceOf_tags_1)
1295 /sizeof(asn_DEF_SequenceOf_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -07001296 { 0, 0, SEQUENCE_OF_constraint },
Lev Walkine0272aa2005-03-04 11:26:08 +00001297 asn_MBR_SequenceOf_1,
Lev Walkin0ef9f142005-02-14 20:40:57 +00001298 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +00001299 &asn_SPC_SequenceOf_specs_1 /* Additional specs */
Lev Walkin0ef9f142005-02-14 20:40:57 +00001300};
1301
Lev Walkinf5db6142005-02-24 22:38:43 +00001302
1303/*** <<< INCLUDES [SeqOfZuka] >>> ***/
1304
1305#include <NULL.h>
1306#include <asn_SEQUENCE_OF.h>
1307#include <constr_SEQUENCE_OF.h>
1308
Lev Walkinf5db6142005-02-24 22:38:43 +00001309/*** <<< TYPE-DECLS [SeqOfZuka] >>> ***/
1310
Lev Walkinf5db6142005-02-24 22:38:43 +00001311typedef struct SeqOfZuka {
1312 A_SEQUENCE_OF(NULL_t) list;
1313
1314 /* Context for parsing across buffer boundaries */
1315 asn_struct_ctx_t _asn_ctx;
1316} SeqOfZuka_t;
1317
Lev Walkinc8285712005-03-04 22:18:20 +00001318/*** <<< FUNC-DECLS [SeqOfZuka] >>> ***/
1319
1320extern asn_TYPE_descriptor_t asn_DEF_SeqOfZuka;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001321extern asn_SET_OF_specifics_t asn_SPC_SeqOfZuka_specs_1;
1322extern asn_TYPE_member_t asn_MBR_SeqOfZuka_1[1];
Lev Walkinc8285712005-03-04 22:18:20 +00001323
Lev Walkinf5db6142005-02-24 22:38:43 +00001324/*** <<< STAT-DEFS [SeqOfZuka] >>> ***/
1325
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001326asn_TYPE_member_t asn_MBR_SeqOfZuka_1[] = {
Lev Walkin8eb4b572005-08-16 16:57:17 +00001327 { ATF_POINTER, 0, 0,
Lev Walkinf5db6142005-02-24 22:38:43 +00001328 .tag = (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)),
1329 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +00001330 .type = &asn_DEF_NULL,
Lev Walkin67a30122017-08-10 05:48:54 -07001331 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -07001332 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +00001333 .default_value = 0,
Lev Walkinf5db6142005-02-24 22:38:43 +00001334 .name = "zuka"
1335 },
1336};
Lev Walkina7591b52014-10-12 18:37:35 -07001337static const ber_tlv_tag_t asn_DEF_SeqOfZuka_tags_1[] = {
Lev Walkinf5db6142005-02-24 22:38:43 +00001338 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1339};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001340asn_SET_OF_specifics_t asn_SPC_SeqOfZuka_specs_1 = {
Lev Walkinf5db6142005-02-24 22:38:43 +00001341 sizeof(struct SeqOfZuka),
1342 offsetof(struct SeqOfZuka, _asn_ctx),
1343 1, /* XER encoding is XMLValueList */
1344};
1345asn_TYPE_descriptor_t asn_DEF_SeqOfZuka = {
1346 "SeqOfZuka",
1347 "SeqOfZuka",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +08001348 &asn_OP_SEQUENCE_OF,
Lev Walkin59b176e2005-11-26 11:25:14 +00001349 asn_DEF_SeqOfZuka_tags_1,
1350 sizeof(asn_DEF_SeqOfZuka_tags_1)
1351 /sizeof(asn_DEF_SeqOfZuka_tags_1[0]), /* 1 */
1352 asn_DEF_SeqOfZuka_tags_1, /* Same as above */
1353 sizeof(asn_DEF_SeqOfZuka_tags_1)
1354 /sizeof(asn_DEF_SeqOfZuka_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -07001355 { 0, 0, SEQUENCE_OF_constraint },
Lev Walkine0272aa2005-03-04 11:26:08 +00001356 asn_MBR_SeqOfZuka_1,
Lev Walkinf5db6142005-02-24 22:38:43 +00001357 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +00001358 &asn_SPC_SeqOfZuka_specs_1 /* Additional specs */
Lev Walkinf5db6142005-02-24 22:38:43 +00001359};
1360
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001361
1362/*** <<< INCLUDES [SetOfChoice] >>> ***/
1363
1364#include <asn_SET_OF.h>
1365#include <constr_SET_OF.h>
1366
1367/*** <<< FWD-DECLS [SetOfChoice] >>> ***/
1368
1369struct SimpleChoice;
1370
1371/*** <<< TYPE-DECLS [SetOfChoice] >>> ***/
1372
1373typedef struct SetOfChoice {
1374 A_SET_OF(struct SimpleChoice) list;
1375
1376 /* Context for parsing across buffer boundaries */
1377 asn_struct_ctx_t _asn_ctx;
1378} SetOfChoice_t;
1379
1380/*** <<< FUNC-DECLS [SetOfChoice] >>> ***/
1381
1382extern asn_TYPE_descriptor_t asn_DEF_SetOfChoice;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001383extern asn_SET_OF_specifics_t asn_SPC_SetOfChoice_specs_1;
1384extern asn_TYPE_member_t asn_MBR_SetOfChoice_1[1];
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001385
1386/*** <<< POST-INCLUDE [SetOfChoice] >>> ***/
1387
Lev Walkin22b5ed42006-09-13 02:51:20 +00001388#include "SimpleChoice.h"
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001389
1390/*** <<< STAT-DEFS [SetOfChoice] >>> ***/
1391
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001392asn_TYPE_member_t asn_MBR_SetOfChoice_1[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001393 { ATF_POINTER, 0, 0,
1394 .tag = -1 /* Ambiguous tag (CHOICE?) */,
1395 .tag_mode = 0,
1396 .type = &asn_DEF_SimpleChoice,
Lev Walkin67a30122017-08-10 05:48:54 -07001397 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -07001398 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +00001399 .default_value = 0,
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001400 .name = ""
1401 },
1402};
Lev Walkina7591b52014-10-12 18:37:35 -07001403static const ber_tlv_tag_t asn_DEF_SetOfChoice_tags_1[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001404 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1405};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001406asn_SET_OF_specifics_t asn_SPC_SetOfChoice_specs_1 = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001407 sizeof(struct SetOfChoice),
1408 offsetof(struct SetOfChoice, _asn_ctx),
Lev Walkind1bfea62005-11-08 03:06:16 +00001409 2, /* XER encoding is XMLValueList */
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001410};
1411asn_TYPE_descriptor_t asn_DEF_SetOfChoice = {
1412 "SetOfChoice",
1413 "SetOfChoice",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +08001414 &asn_OP_SET_OF,
Lev Walkin59b176e2005-11-26 11:25:14 +00001415 asn_DEF_SetOfChoice_tags_1,
1416 sizeof(asn_DEF_SetOfChoice_tags_1)
1417 /sizeof(asn_DEF_SetOfChoice_tags_1[0]), /* 1 */
1418 asn_DEF_SetOfChoice_tags_1, /* Same as above */
1419 sizeof(asn_DEF_SetOfChoice_tags_1)
1420 /sizeof(asn_DEF_SetOfChoice_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -07001421 { 0, 0, SET_OF_constraint },
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001422 asn_MBR_SetOfChoice_1,
1423 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +00001424 &asn_SPC_SetOfChoice_specs_1 /* Additional specs */
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001425};
1426
1427
1428/*** <<< INCLUDES [NamedSetOfChoice] >>> ***/
1429
1430#include <asn_SET_OF.h>
1431#include <constr_SET_OF.h>
1432
1433/*** <<< FWD-DECLS [NamedSetOfChoice] >>> ***/
1434
1435struct SimpleChoice;
1436
1437/*** <<< TYPE-DECLS [NamedSetOfChoice] >>> ***/
1438
1439typedef struct NamedSetOfChoice {
1440 A_SET_OF(struct SimpleChoice) list;
1441
1442 /* Context for parsing across buffer boundaries */
1443 asn_struct_ctx_t _asn_ctx;
1444} NamedSetOfChoice_t;
1445
1446/*** <<< FUNC-DECLS [NamedSetOfChoice] >>> ***/
1447
1448extern asn_TYPE_descriptor_t asn_DEF_NamedSetOfChoice;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001449extern asn_SET_OF_specifics_t asn_SPC_NamedSetOfChoice_specs_1;
1450extern asn_TYPE_member_t asn_MBR_NamedSetOfChoice_1[1];
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001451
1452/*** <<< POST-INCLUDE [NamedSetOfChoice] >>> ***/
1453
Lev Walkin22b5ed42006-09-13 02:51:20 +00001454#include "SimpleChoice.h"
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001455
1456/*** <<< STAT-DEFS [NamedSetOfChoice] >>> ***/
1457
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001458asn_TYPE_member_t asn_MBR_NamedSetOfChoice_1[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001459 { ATF_POINTER, 0, 0,
1460 .tag = -1 /* Ambiguous tag (CHOICE?) */,
1461 .tag_mode = 0,
1462 .type = &asn_DEF_SimpleChoice,
Lev Walkin67a30122017-08-10 05:48:54 -07001463 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -07001464 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +00001465 .default_value = 0,
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001466 .name = "whatever"
1467 },
1468};
Lev Walkina7591b52014-10-12 18:37:35 -07001469static const ber_tlv_tag_t asn_DEF_NamedSetOfChoice_tags_1[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001470 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
1471};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001472asn_SET_OF_specifics_t asn_SPC_NamedSetOfChoice_specs_1 = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001473 sizeof(struct NamedSetOfChoice),
1474 offsetof(struct NamedSetOfChoice, _asn_ctx),
Lev Walkind1bfea62005-11-08 03:06:16 +00001475 2, /* XER encoding is XMLValueList */
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001476};
1477asn_TYPE_descriptor_t asn_DEF_NamedSetOfChoice = {
1478 "NamedSetOfChoice",
1479 "NamedSetOfChoice",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +08001480 &asn_OP_SET_OF,
Lev Walkin59b176e2005-11-26 11:25:14 +00001481 asn_DEF_NamedSetOfChoice_tags_1,
1482 sizeof(asn_DEF_NamedSetOfChoice_tags_1)
1483 /sizeof(asn_DEF_NamedSetOfChoice_tags_1[0]), /* 1 */
1484 asn_DEF_NamedSetOfChoice_tags_1, /* Same as above */
1485 sizeof(asn_DEF_NamedSetOfChoice_tags_1)
1486 /sizeof(asn_DEF_NamedSetOfChoice_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -07001487 { 0, 0, SET_OF_constraint },
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001488 asn_MBR_NamedSetOfChoice_1,
1489 1, /* Single element */
Lev Walkin59b176e2005-11-26 11:25:14 +00001490 &asn_SPC_NamedSetOfChoice_specs_1 /* Additional specs */
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001491};
1492
1493
1494/*** <<< INCLUDES [SimpleChoice] >>> ***/
1495
1496#include <NULL.h>
1497#include <INTEGER.h>
1498#include <constr_CHOICE.h>
1499
1500/*** <<< DEPS [SimpleChoice] >>> ***/
1501
1502typedef enum SimpleChoice_PR {
1503 SimpleChoice_PR_NOTHING, /* No components present */
1504 SimpleChoice_PR_a,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +00001505 SimpleChoice_PR_b
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001506} SimpleChoice_PR;
1507
1508/*** <<< TYPE-DECLS [SimpleChoice] >>> ***/
1509
1510typedef struct SimpleChoice {
1511 SimpleChoice_PR present;
1512 union SimpleChoice_u {
1513 NULL_t a;
1514 INTEGER_t b;
1515 } choice;
1516
1517 /* Context for parsing across buffer boundaries */
1518 asn_struct_ctx_t _asn_ctx;
1519} SimpleChoice_t;
1520
1521/*** <<< FUNC-DECLS [SimpleChoice] >>> ***/
1522
1523extern asn_TYPE_descriptor_t asn_DEF_SimpleChoice;
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001524extern asn_CHOICE_specifics_t asn_SPC_SimpleChoice_specs_1;
1525extern asn_TYPE_member_t asn_MBR_SimpleChoice_1[2];
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001526
1527/*** <<< STAT-DEFS [SimpleChoice] >>> ***/
1528
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001529asn_TYPE_member_t asn_MBR_SimpleChoice_1[] = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001530 { ATF_NOFLAGS, 0, offsetof(struct SimpleChoice, choice.a),
1531 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
1532 .tag_mode = -1, /* IMPLICIT tag at current level */
1533 .type = &asn_DEF_NULL,
Lev Walkin67a30122017-08-10 05:48:54 -07001534 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -07001535 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +00001536 .default_value = 0,
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001537 .name = "a"
1538 },
1539 { ATF_NOFLAGS, 0, offsetof(struct SimpleChoice, choice.b),
1540 .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
1541 .tag_mode = -1, /* IMPLICIT tag at current level */
1542 .type = &asn_DEF_INTEGER,
Lev Walkin67a30122017-08-10 05:48:54 -07001543 .type_selector = 0,
Lev Walkin0bfea562017-09-29 23:16:48 -07001544 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin59b176e2005-11-26 11:25:14 +00001545 .default_value = 0,
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001546 .name = "b"
1547 },
1548};
Lev Walkina7591b52014-10-12 18:37:35 -07001549static const asn_TYPE_tag2member_t asn_MAP_SimpleChoice_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -07001550 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
1551 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* b */
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001552};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +08001553asn_CHOICE_specifics_t asn_SPC_SimpleChoice_specs_1 = {
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001554 sizeof(struct SimpleChoice),
1555 offsetof(struct SimpleChoice, _asn_ctx),
1556 offsetof(struct SimpleChoice, present),
1557 sizeof(((struct SimpleChoice *)0)->present),
Lev Walkine3917082017-08-23 10:29:38 -07001558 .tag2el = asn_MAP_SimpleChoice_tag2el_1,
1559 .tag2el_count = 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +00001560 .canonical_order = 0,
1561 .ext_start = -1 /* Extensions start */
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001562};
1563asn_TYPE_descriptor_t asn_DEF_SimpleChoice = {
1564 "SimpleChoice",
1565 "SimpleChoice",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +08001566 &asn_OP_CHOICE,
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001567 0, /* No effective tags (pointer) */
1568 0, /* No effective tags (count) */
1569 0, /* No tags (pointer) */
1570 0, /* No tags (count) */
Lev Walkin0bfea562017-09-29 23:16:48 -07001571 { 0, 0, CHOICE_constraint },
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001572 asn_MBR_SimpleChoice_1,
1573 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +00001574 &asn_SPC_SimpleChoice_specs_1 /* Additional specs */
Lev Walkin5ab96cd2005-11-07 15:26:47 +00001575};
1576