blob: 26239261c1edbcf5d488abcecf1f53e76d3c6a8b [file] [log] [blame]
Lev Walkin35631482004-07-01 00:52:50 +00001
Lev Walkinb47ddce2004-08-11 05:25:47 +00002/*** <<< INCLUDES [T1] >>> ***/
Lev Walkin35631482004-07-01 00:52:50 +00003
Lev Walkin35631482004-07-01 00:52:50 +00004#include <INTEGER.h>
Lev Walkinb47ddce2004-08-11 05:25:47 +00005#include <constr_SET.h>
6
7/*** <<< DEPS [T1] >>> ***/
Lev Walkin35631482004-07-01 00:52:50 +00008
9
10/*
11 * Method of determining the components presence
12 */
Lev Walkin64399722004-08-11 07:17:22 +000013typedef enum T1_PR {
Lev Walkin35631482004-07-01 00:52:50 +000014 T1_PR_i, /* Member i is present */
Lev Walkin64399722004-08-11 07:17:22 +000015} T1_PR;
Lev Walkin35631482004-07-01 00:52:50 +000016
17/*** <<< TYPE-DECLS [T1] >>> ***/
18
Lev Walkin35631482004-07-01 00:52:50 +000019typedef struct T1 {
20 INTEGER_t i;
21 /*
22 * This type is extensible,
23 * possible extensions are below.
24 */
25
26 /* Presence bitmask: ASN_SET_ISPRESENT(pT1, T1_PR_x) */
27 unsigned int _presence_map
28 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
29
30 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +000031 asn_struct_ctx_t _asn_ctx;
Lev Walkin35631482004-07-01 00:52:50 +000032} T1_t;
33
Lev Walkinc8285712005-03-04 22:18:20 +000034/*** <<< FUNC-DECLS [T1] >>> ***/
35
36extern asn_TYPE_descriptor_t asn_DEF_T1;
37
Lev Walkin35631482004-07-01 00:52:50 +000038/*** <<< STAT-DEFS [T1] >>> ***/
39
Lev Walkine0272aa2005-03-04 11:26:08 +000040static asn_TYPE_member_t asn_MBR_T1_1[] = {
Lev Walkincc93b0f2004-09-10 09:18:20 +000041 { ATF_NOFLAGS, 0, offsetof(struct T1, i),
Lev Walkin2e3055d2004-08-20 13:36:32 +000042 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
43 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +000044 .type = &asn_DEF_INTEGER,
Lev Walkinba58e1b2005-01-17 12:20:19 +000045 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040046 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000047 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
48 .default_value = 0,
Lev Walkin2e3055d2004-08-20 13:36:32 +000049 .name = "i"
Lev Walkin35631482004-07-01 00:52:50 +000050 },
51};
Lev Walkina7591b52014-10-12 18:37:35 -070052static const ber_tlv_tag_t asn_DEF_T1_tags_1[] = {
Lev Walkin35631482004-07-01 00:52:50 +000053 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
54};
Lev Walkina7591b52014-10-12 18:37:35 -070055static const asn_TYPE_tag2member_t asn_MAP_T1_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -070056 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i */
Lev Walkin35631482004-07-01 00:52:50 +000057};
Lev Walkina7591b52014-10-12 18:37:35 -070058static const uint8_t asn_MAP_T1_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkin35631482004-07-01 00:52:50 +000059 (1 << 7)
60};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080061static
62asn_SET_specifics_t asn_SPC_T1_specs_1 = {
Lev Walkin35631482004-07-01 00:52:50 +000063 sizeof(struct T1),
Lev Walkindfae9752004-09-29 13:19:37 +000064 offsetof(struct T1, _asn_ctx),
Lev Walkin35631482004-07-01 00:52:50 +000065 offsetof(struct T1, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +000066 asn_MAP_T1_tag2el_1,
Lev Walkin35631482004-07-01 00:52:50 +000067 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +000068 asn_MAP_T1_tag2el_1, /* Same as above */
Lev Walkinf82138b2005-02-25 08:20:32 +000069 1, /* Count of tags in the CXER map */
Lev Walkin35631482004-07-01 00:52:50 +000070 1, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -070071 (const unsigned int *)asn_MAP_T1_mmap_1 /* Mandatory elements map */
Lev Walkin35631482004-07-01 00:52:50 +000072};
Lev Walkindfae9752004-09-29 13:19:37 +000073asn_TYPE_descriptor_t asn_DEF_T1 = {
Lev Walkin35631482004-07-01 00:52:50 +000074 "T1",
Lev Walkindc06f6b2004-10-20 15:50:55 +000075 "T1",
Lev Walkina9cc46e2004-09-22 16:06:28 +000076 SET_free,
77 SET_print,
Lev Walkin35631482004-07-01 00:52:50 +000078 SET_constraint,
79 SET_decode_ber,
80 SET_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +000081 SET_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +000082 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -070083 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +040084 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin35631482004-07-01 00:52:50 +000085 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +000086 asn_DEF_T1_tags_1,
87 sizeof(asn_DEF_T1_tags_1)
88 /sizeof(asn_DEF_T1_tags_1[0]), /* 1 */
89 asn_DEF_T1_tags_1, /* Same as above */
90 sizeof(asn_DEF_T1_tags_1)
91 /sizeof(asn_DEF_T1_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +040092 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +000093 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +000094 asn_MBR_T1_1,
Lev Walkin2e3055d2004-08-20 13:36:32 +000095 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +000096 &asn_SPC_T1_specs_1 /* Additional specs */
Lev Walkin35631482004-07-01 00:52:50 +000097};
98
99
Lev Walkinb47ddce2004-08-11 05:25:47 +0000100/*** <<< INCLUDES [T2] >>> ***/
Lev Walkin35631482004-07-01 00:52:50 +0000101
Lev Walkin35631482004-07-01 00:52:50 +0000102#include <INTEGER.h>
Lev Walkinb47ddce2004-08-11 05:25:47 +0000103#include <constr_SET.h>
104
105/*** <<< DEPS [T2] >>> ***/
Lev Walkin35631482004-07-01 00:52:50 +0000106
107
108/*
109 * Method of determining the components presence
110 */
Lev Walkin64399722004-08-11 07:17:22 +0000111typedef enum T2_PR {
Lev Walkin35631482004-07-01 00:52:50 +0000112 T2_PR_i, /* Member i is present */
Lev Walkin64399722004-08-11 07:17:22 +0000113} T2_PR;
Lev Walkin35631482004-07-01 00:52:50 +0000114
115/*** <<< TYPE-DECLS [T2] >>> ***/
116
Lev Walkin35631482004-07-01 00:52:50 +0000117typedef struct T2 {
118 INTEGER_t i;
119 /*
120 * This type is extensible,
121 * possible extensions are below.
122 */
123
124 /* Presence bitmask: ASN_SET_ISPRESENT(pT2, T2_PR_x) */
125 unsigned int _presence_map
126 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
127
128 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +0000129 asn_struct_ctx_t _asn_ctx;
Lev Walkin35631482004-07-01 00:52:50 +0000130} T2_t;
131
Lev Walkinc8285712005-03-04 22:18:20 +0000132/*** <<< FUNC-DECLS [T2] >>> ***/
133
134extern asn_TYPE_descriptor_t asn_DEF_T2;
135
Lev Walkin35631482004-07-01 00:52:50 +0000136/*** <<< STAT-DEFS [T2] >>> ***/
137
Lev Walkine0272aa2005-03-04 11:26:08 +0000138static asn_TYPE_member_t asn_MBR_T2_1[] = {
Lev Walkincc93b0f2004-09-10 09:18:20 +0000139 { ATF_NOFLAGS, 0, offsetof(struct T2, i),
Lev Walkin2e3055d2004-08-20 13:36:32 +0000140 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
141 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000142 .type = &asn_DEF_INTEGER,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000143 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400144 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000145 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
146 .default_value = 0,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000147 .name = "i"
Lev Walkin35631482004-07-01 00:52:50 +0000148 },
149};
Lev Walkina7591b52014-10-12 18:37:35 -0700150static const ber_tlv_tag_t asn_DEF_T2_tags_1[] = {
Lev Walkin35631482004-07-01 00:52:50 +0000151 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
152};
Lev Walkina7591b52014-10-12 18:37:35 -0700153static const asn_TYPE_tag2member_t asn_MAP_T2_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700154 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i */
Lev Walkin35631482004-07-01 00:52:50 +0000155};
Lev Walkina7591b52014-10-12 18:37:35 -0700156static const uint8_t asn_MAP_T2_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
Lev Walkin35631482004-07-01 00:52:50 +0000157 (1 << 7)
158};
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +0800159static
160asn_SET_specifics_t asn_SPC_T2_specs_1 = {
Lev Walkin35631482004-07-01 00:52:50 +0000161 sizeof(struct T2),
Lev Walkindfae9752004-09-29 13:19:37 +0000162 offsetof(struct T2, _asn_ctx),
Lev Walkin35631482004-07-01 00:52:50 +0000163 offsetof(struct T2, _presence_map),
Lev Walkin59b176e2005-11-26 11:25:14 +0000164 asn_MAP_T2_tag2el_1,
Lev Walkin35631482004-07-01 00:52:50 +0000165 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000166 asn_MAP_T2_tag2el_1, /* Same as above */
Lev Walkinf82138b2005-02-25 08:20:32 +0000167 1, /* Count of tags in the CXER map */
Lev Walkin35631482004-07-01 00:52:50 +0000168 1, /* Whether extensible */
Lev Walkin46ef3f32017-07-06 08:47:53 -0700169 (const unsigned int *)asn_MAP_T2_mmap_1 /* Mandatory elements map */
Lev Walkin35631482004-07-01 00:52:50 +0000170};
Lev Walkindfae9752004-09-29 13:19:37 +0000171asn_TYPE_descriptor_t asn_DEF_T2 = {
Lev Walkin35631482004-07-01 00:52:50 +0000172 "T2",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000173 "T2",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000174 SET_free,
175 SET_print,
Lev Walkin35631482004-07-01 00:52:50 +0000176 SET_constraint,
177 SET_decode_ber,
178 SET_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000179 SET_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000180 SET_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700181 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400182 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin35631482004-07-01 00:52:50 +0000183 0, /* Use generic outmost tag fetcher */
Lev Walkin59b176e2005-11-26 11:25:14 +0000184 asn_DEF_T2_tags_1,
185 sizeof(asn_DEF_T2_tags_1)
186 /sizeof(asn_DEF_T2_tags_1[0]), /* 1 */
187 asn_DEF_T2_tags_1, /* Same as above */
188 sizeof(asn_DEF_T2_tags_1)
189 /sizeof(asn_DEF_T2_tags_1[0]), /* 1 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400190 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000191 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000192 asn_MBR_T2_1,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000193 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000194 &asn_SPC_T2_specs_1 /* Additional specs */
Lev Walkin35631482004-07-01 00:52:50 +0000195};
196
197
Lev Walkinb47ddce2004-08-11 05:25:47 +0000198/*** <<< INCLUDES [T3] >>> ***/
199
200#include <INTEGER.h>
201#include <constr_CHOICE.h>
202
Lev Walkin35631482004-07-01 00:52:50 +0000203/*** <<< DEPS [T3] >>> ***/
204
Lev Walkinb47ddce2004-08-11 05:25:47 +0000205typedef enum T3_PR {
206 T3_PR_NOTHING, /* No components present */
johvik792216e2017-04-11 10:42:21 +0200207 T3_PR_i
Lev Walkinb47ddce2004-08-11 05:25:47 +0000208 /* Extensions may appear below */
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000209
Lev Walkin64399722004-08-11 07:17:22 +0000210} T3_PR;
Lev Walkin35631482004-07-01 00:52:50 +0000211
212/*** <<< TYPE-DECLS [T3] >>> ***/
213
Lev Walkin35631482004-07-01 00:52:50 +0000214typedef struct T3 {
Lev Walkin64399722004-08-11 07:17:22 +0000215 T3_PR present;
Lev Walkin0f5d74c2005-08-14 15:03:31 +0000216 union T3_u {
Lev Walkin35631482004-07-01 00:52:50 +0000217 INTEGER_t i;
218 /*
219 * This type is extensible,
220 * possible extensions are below.
221 */
222 } choice;
223
224 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +0000225 asn_struct_ctx_t _asn_ctx;
Lev Walkin35631482004-07-01 00:52:50 +0000226} T3_t;
227
Lev Walkinc8285712005-03-04 22:18:20 +0000228/*** <<< FUNC-DECLS [T3] >>> ***/
229
230extern asn_TYPE_descriptor_t asn_DEF_T3;
231
Lev Walkin35631482004-07-01 00:52:50 +0000232/*** <<< STAT-DEFS [T3] >>> ***/
233
Lev Walkine0272aa2005-03-04 11:26:08 +0000234static asn_TYPE_member_t asn_MBR_T3_1[] = {
Lev Walkincc93b0f2004-09-10 09:18:20 +0000235 { ATF_NOFLAGS, 0, offsetof(struct T3, choice.i),
Lev Walkin2e3055d2004-08-20 13:36:32 +0000236 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
237 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000238 .type = &asn_DEF_INTEGER,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000239 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400240 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000241 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
242 .default_value = 0,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000243 .name = "i"
Lev Walkin35631482004-07-01 00:52:50 +0000244 },
245};
Lev Walkina7591b52014-10-12 18:37:35 -0700246static const asn_TYPE_tag2member_t asn_MAP_T3_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700247 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i */
Lev Walkin35631482004-07-01 00:52:50 +0000248};
Lev Walkin59b176e2005-11-26 11:25:14 +0000249static asn_CHOICE_specifics_t asn_SPC_T3_specs_1 = {
Lev Walkin35631482004-07-01 00:52:50 +0000250 sizeof(struct T3),
Lev Walkindfae9752004-09-29 13:19:37 +0000251 offsetof(struct T3, _asn_ctx),
Lev Walkin35631482004-07-01 00:52:50 +0000252 offsetof(struct T3, present),
253 sizeof(((struct T3 *)0)->present),
Lev Walkin59b176e2005-11-26 11:25:14 +0000254 asn_MAP_T3_tag2el_1,
Lev Walkin35631482004-07-01 00:52:50 +0000255 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000256 .canonical_order = 0,
257 .ext_start = 1 /* Extensions start */
Lev Walkin35631482004-07-01 00:52:50 +0000258};
Lev Walkindfae9752004-09-29 13:19:37 +0000259asn_TYPE_descriptor_t asn_DEF_T3 = {
Lev Walkin35631482004-07-01 00:52:50 +0000260 "T3",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000261 "T3",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000262 CHOICE_free,
263 CHOICE_print,
Lev Walkin35631482004-07-01 00:52:50 +0000264 CHOICE_constraint,
265 CHOICE_decode_ber,
266 CHOICE_encode_der,
Lev Walkin61b40d82004-10-23 15:07:45 +0000267 CHOICE_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000268 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700269 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400270 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin35631482004-07-01 00:52:50 +0000271 CHOICE_outmost_tag,
Lev Walkin188ed2c2004-09-13 08:31:01 +0000272 0, /* No effective tags (pointer) */
273 0, /* No effective tags (count) */
274 0, /* No tags (pointer) */
275 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400276 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000277 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000278 asn_MBR_T3_1,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000279 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000280 &asn_SPC_T3_specs_1 /* Additional specs */
Lev Walkin35631482004-07-01 00:52:50 +0000281};
282
283
Lev Walkinb47ddce2004-08-11 05:25:47 +0000284/*** <<< INCLUDES [T4] >>> ***/
285
286#include <INTEGER.h>
287#include <constr_CHOICE.h>
288
Lev Walkin35631482004-07-01 00:52:50 +0000289/*** <<< DEPS [T4] >>> ***/
290
Lev Walkinb47ddce2004-08-11 05:25:47 +0000291typedef enum T4_PR {
292 T4_PR_NOTHING, /* No components present */
johvik792216e2017-04-11 10:42:21 +0200293 T4_PR_i
Lev Walkinb47ddce2004-08-11 05:25:47 +0000294 /* Extensions may appear below */
Lev Walkin9f5bb3a2006-08-18 01:46:46 +0000295
Lev Walkin64399722004-08-11 07:17:22 +0000296} T4_PR;
Lev Walkin35631482004-07-01 00:52:50 +0000297
298/*** <<< TYPE-DECLS [T4] >>> ***/
299
Lev Walkin35631482004-07-01 00:52:50 +0000300typedef struct T4 {
Lev Walkin64399722004-08-11 07:17:22 +0000301 T4_PR present;
Lev Walkin0f5d74c2005-08-14 15:03:31 +0000302 union T4_u {
Lev Walkin35631482004-07-01 00:52:50 +0000303 INTEGER_t i;
304 /*
305 * This type is extensible,
306 * possible extensions are below.
307 */
308 } choice;
309
310 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +0000311 asn_struct_ctx_t _asn_ctx;
Lev Walkin35631482004-07-01 00:52:50 +0000312} T4_t;
313
Lev Walkinc8285712005-03-04 22:18:20 +0000314/*** <<< FUNC-DECLS [T4] >>> ***/
315
316extern asn_TYPE_descriptor_t asn_DEF_T4;
317
Lev Walkin35631482004-07-01 00:52:50 +0000318/*** <<< STAT-DEFS [T4] >>> ***/
319
Lev Walkine0272aa2005-03-04 11:26:08 +0000320static asn_TYPE_member_t asn_MBR_T4_1[] = {
Lev Walkincc93b0f2004-09-10 09:18:20 +0000321 { ATF_NOFLAGS, 0, offsetof(struct T4, choice.i),
Lev Walkin2e3055d2004-08-20 13:36:32 +0000322 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
323 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000324 .type = &asn_DEF_INTEGER,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000325 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400326 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000327 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
328 .default_value = 0,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000329 .name = "i"
Lev Walkin35631482004-07-01 00:52:50 +0000330 },
331};
Lev Walkina7591b52014-10-12 18:37:35 -0700332static const asn_TYPE_tag2member_t asn_MAP_T4_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700333 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i */
Lev Walkin35631482004-07-01 00:52:50 +0000334};
Lev Walkin59b176e2005-11-26 11:25:14 +0000335static asn_CHOICE_specifics_t asn_SPC_T4_specs_1 = {
Lev Walkin35631482004-07-01 00:52:50 +0000336 sizeof(struct T4),
Lev Walkindfae9752004-09-29 13:19:37 +0000337 offsetof(struct T4, _asn_ctx),
Lev Walkin35631482004-07-01 00:52:50 +0000338 offsetof(struct T4, present),
339 sizeof(((struct T4 *)0)->present),
Lev Walkin59b176e2005-11-26 11:25:14 +0000340 asn_MAP_T4_tag2el_1,
Lev Walkin35631482004-07-01 00:52:50 +0000341 1, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000342 .canonical_order = 0,
343 .ext_start = 1 /* Extensions start */
Lev Walkin35631482004-07-01 00:52:50 +0000344};
Lev Walkindfae9752004-09-29 13:19:37 +0000345asn_TYPE_descriptor_t asn_DEF_T4 = {
Lev Walkin35631482004-07-01 00:52:50 +0000346 "T4",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000347 "T4",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000348 CHOICE_free,
349 CHOICE_print,
Lev Walkin35631482004-07-01 00:52:50 +0000350 CHOICE_constraint,
351 CHOICE_decode_ber,
352 CHOICE_encode_der,
Lev Walkin61b40d82004-10-23 15:07:45 +0000353 CHOICE_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000354 CHOICE_encode_xer,
Lev Walkinba68c912017-07-06 07:52:39 -0700355 0, 0, /* No OER support, use "-gen-OER" to enable */
Lev Walkinb33425f2017-07-14 14:59:52 +0400356 0, 0, /* No PER support, use "-gen-PER" to enable */
Lev Walkin35631482004-07-01 00:52:50 +0000357 CHOICE_outmost_tag,
Lev Walkin188ed2c2004-09-13 08:31:01 +0000358 0, /* No effective tags (pointer) */
359 0, /* No effective tags (count) */
360 0, /* No tags (pointer) */
361 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400362 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000363 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000364 asn_MBR_T4_1,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000365 1, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000366 &asn_SPC_T4_specs_1 /* Additional specs */
Lev Walkin35631482004-07-01 00:52:50 +0000367};
368