Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 1 | |
| 2 | /*** <<< INCLUDES [T] >>> ***/ |
| 3 | |
| 4 | #include <IA5String.h> |
| 5 | #include <UTF8String.h> |
| 6 | #include <UniversalString.h> |
| 7 | #include <constr_SEQUENCE.h> |
| 8 | |
| 9 | /*** <<< TYPE-DECLS [T] >>> ***/ |
| 10 | |
| 11 | typedef struct T { |
| 12 | struct unconstrained { |
| 13 | IA5String_t unc_ia5; |
| 14 | UTF8String_t unc_utf8; |
| 15 | UniversalString_t unc_universal; |
| 16 | |
| 17 | /* Context for parsing across buffer boundaries */ |
| 18 | asn_struct_ctx_t _asn_ctx; |
| 19 | } unconstrained; |
| 20 | struct constrained { |
| 21 | IA5String_t con_ia5; |
| 22 | UTF8String_t con_utf8; |
| 23 | UniversalString_t con_universal; |
| 24 | |
| 25 | /* Context for parsing across buffer boundaries */ |
| 26 | asn_struct_ctx_t _asn_ctx; |
| 27 | } constrained; |
| 28 | |
| 29 | /* Context for parsing across buffer boundaries */ |
| 30 | asn_struct_ctx_t _asn_ctx; |
| 31 | } T_t; |
| 32 | |
| 33 | /*** <<< FUNC-DECLS [T] >>> ***/ |
| 34 | |
| 35 | extern asn_TYPE_descriptor_t asn_DEF_T; |
| 36 | |
| 37 | /*** <<< CTABLES [T] >>> ***/ |
| 38 | |
| 39 | static int check_permitted_alphabet_7(const void *sptr) { |
| 40 | /* The underlying type is IA5String */ |
| 41 | const IA5String_t *st = (const IA5String_t *)sptr; |
| 42 | const uint8_t *ch = st->buf; |
| 43 | const uint8_t *end = ch + st->size; |
| 44 | |
| 45 | for(; ch < end; ch++) { |
| 46 | uint8_t cv = *ch; |
| 47 | if(!(cv <= 127)) return -1; |
| 48 | } |
| 49 | return 0; |
| 50 | } |
| 51 | |
| 52 | static int check_permitted_alphabet_9(const void *sptr) { |
| 53 | /* The underlying type is UniversalString */ |
| 54 | const UniversalString_t *st = (const UniversalString_t *)sptr; |
| 55 | const uint8_t *ch = st->buf; |
| 56 | const uint8_t *end = ch + st->size; |
| 57 | |
| 58 | if(st->size % 4) return -1; /* (size%4)! */ |
| 59 | for(; ch < end; ch += 4) { |
| 60 | uint32_t cv = (ch[0] << 24) |
| 61 | | (ch[1] << 16) |
| 62 | | (ch[2] << 8) |
| 63 | | ch[3]; |
| 64 | if(!(1 /* Constraint matches natural range of cv */)) return -1; |
| 65 | } |
| 66 | return 0; |
| 67 | } |
| 68 | |
| 69 | |
| 70 | /*** <<< CODE [T] >>> ***/ |
| 71 | |
| 72 | static int |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame^] | 73 | memb_con_ia5_constraint_6(const asn_TYPE_descriptor_t *td, const void *sptr, |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 74 | asn_app_constraint_failed_f *ctfailcb, void *app_key) { |
| 75 | const IA5String_t *st = (const IA5String_t *)sptr; |
| 76 | size_t size; |
| 77 | |
| 78 | if(!sptr) { |
| 79 | ASN__CTFAIL(app_key, td, sptr, |
| 80 | "%s: value not given (%s:%d)", |
| 81 | td->name, __FILE__, __LINE__); |
| 82 | return -1; |
| 83 | } |
| 84 | |
| 85 | size = st->size; |
| 86 | |
| 87 | if((size == 2) |
| 88 | && !check_permitted_alphabet_7(st)) { |
| 89 | /* Constraint check succeeded */ |
| 90 | return 0; |
| 91 | } else { |
| 92 | ASN__CTFAIL(app_key, td, sptr, |
| 93 | "%s: constraint failed (%s:%d)", |
| 94 | td->name, __FILE__, __LINE__); |
| 95 | return -1; |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | static int |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame^] | 100 | memb_con_utf8_constraint_6(const asn_TYPE_descriptor_t *td, const void *sptr, |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 101 | asn_app_constraint_failed_f *ctfailcb, void *app_key) { |
| 102 | const UTF8String_t *st = (const UTF8String_t *)sptr; |
| 103 | size_t size; |
| 104 | |
| 105 | if(!sptr) { |
| 106 | ASN__CTFAIL(app_key, td, sptr, |
| 107 | "%s: value not given (%s:%d)", |
| 108 | td->name, __FILE__, __LINE__); |
| 109 | return -1; |
| 110 | } |
| 111 | |
| 112 | size = UTF8String_length(st); |
| 113 | if((ssize_t)size < 0) { |
| 114 | ASN__CTFAIL(app_key, td, sptr, |
| 115 | "%s: UTF-8: broken encoding (%s:%d)", |
| 116 | td->name, __FILE__, __LINE__); |
| 117 | return -1; |
| 118 | } |
| 119 | |
| 120 | if((size == 2)) { |
| 121 | /* Constraint check succeeded */ |
| 122 | return 0; |
| 123 | } else { |
| 124 | ASN__CTFAIL(app_key, td, sptr, |
| 125 | "%s: constraint failed (%s:%d)", |
| 126 | td->name, __FILE__, __LINE__); |
| 127 | return -1; |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | static int |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame^] | 132 | memb_con_universal_constraint_6(const asn_TYPE_descriptor_t *td, const void *sptr, |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 133 | asn_app_constraint_failed_f *ctfailcb, void *app_key) { |
| 134 | const UniversalString_t *st = (const UniversalString_t *)sptr; |
| 135 | size_t size; |
| 136 | |
| 137 | if(!sptr) { |
| 138 | ASN__CTFAIL(app_key, td, sptr, |
| 139 | "%s: value not given (%s:%d)", |
| 140 | td->name, __FILE__, __LINE__); |
| 141 | return -1; |
| 142 | } |
| 143 | |
| 144 | size = st->size >> 2; /* 4 byte per character */ |
| 145 | |
| 146 | if((size == 2) |
| 147 | && !check_permitted_alphabet_9(st)) { |
| 148 | /* Constraint check succeeded */ |
| 149 | return 0; |
| 150 | } else { |
| 151 | ASN__CTFAIL(app_key, td, sptr, |
| 152 | "%s: constraint failed (%s:%d)", |
| 153 | td->name, __FILE__, __LINE__); |
| 154 | return -1; |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | |
| 159 | /*** <<< CTDEFS [T] >>> ***/ |
| 160 | |
Lev Walkin | 0479e04 | 2017-09-26 18:39:58 -0700 | [diff] [blame] | 161 | static asn_oer_constraints_t asn_OER_memb_con_ia5_constr_7 CC_NOTUSED = { |
Lev Walkin | 8041fe8 | 2017-08-02 10:39:01 -0700 | [diff] [blame] | 162 | { 0, 0 }, |
| 163 | 2 /* (SIZE(2..2)) */}; |
Lev Walkin | 0479e04 | 2017-09-26 18:39:58 -0700 | [diff] [blame] | 164 | static asn_oer_constraints_t asn_OER_memb_con_utf8_constr_8 CC_NOTUSED = { |
Lev Walkin | 8041fe8 | 2017-08-02 10:39:01 -0700 | [diff] [blame] | 165 | { 0, 0 }, |
| 166 | -1 /* (SIZE(0..MAX)) */}; |
Lev Walkin | 0479e04 | 2017-09-26 18:39:58 -0700 | [diff] [blame] | 167 | static asn_oer_constraints_t asn_OER_memb_con_universal_constr_9 CC_NOTUSED = { |
Lev Walkin | 8041fe8 | 2017-08-02 10:39:01 -0700 | [diff] [blame] | 168 | { 0, 0 }, |
| 169 | 2 /* (SIZE(2..2)) */}; |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 170 | |
| 171 | /*** <<< STAT-DEFS [T] >>> ***/ |
| 172 | |
| 173 | static asn_TYPE_member_t asn_MBR_unconstrained_2[] = { |
| 174 | { ATF_NOFLAGS, 0, offsetof(struct unconstrained, unc_ia5), |
| 175 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)), |
| 176 | .tag_mode = 0, |
| 177 | .type = &asn_DEF_IA5String, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 178 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 179 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame^] | 180 | 0, 0, /* No default value */ |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 181 | .name = "unc-ia5" |
| 182 | }, |
| 183 | { ATF_NOFLAGS, 0, offsetof(struct unconstrained, unc_utf8), |
| 184 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), |
| 185 | .tag_mode = 0, |
| 186 | .type = &asn_DEF_UTF8String, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 187 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 188 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame^] | 189 | 0, 0, /* No default value */ |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 190 | .name = "unc-utf8" |
| 191 | }, |
| 192 | { ATF_NOFLAGS, 0, offsetof(struct unconstrained, unc_universal), |
| 193 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (28 << 2)), |
| 194 | .tag_mode = 0, |
| 195 | .type = &asn_DEF_UniversalString, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 196 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 197 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame^] | 198 | 0, 0, /* No default value */ |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 199 | .name = "unc-universal" |
| 200 | }, |
| 201 | }; |
| 202 | static const ber_tlv_tag_t asn_DEF_unconstrained_tags_2[] = { |
| 203 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 204 | }; |
| 205 | static const asn_TYPE_tag2member_t asn_MAP_unconstrained_tag2el_2[] = { |
| 206 | { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* unc-utf8 */ |
| 207 | { (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)), 0, 0, 0 }, /* unc-ia5 */ |
| 208 | { (ASN_TAG_CLASS_UNIVERSAL | (28 << 2)), 2, 0, 0 } /* unc-universal */ |
| 209 | }; |
| 210 | static asn_SEQUENCE_specifics_t asn_SPC_unconstrained_specs_2 = { |
| 211 | sizeof(struct unconstrained), |
| 212 | offsetof(struct unconstrained, _asn_ctx), |
Lev Walkin | e391708 | 2017-08-23 10:29:38 -0700 | [diff] [blame] | 213 | .tag2el = asn_MAP_unconstrained_tag2el_2, |
| 214 | .tag2el_count = 3, /* Count of tags in the map */ |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 215 | 0, 0, 0, /* Optional elements (not needed) */ |
| 216 | -1, /* Start extensions */ |
| 217 | -1 /* Stop extensions */ |
| 218 | }; |
| 219 | static /* Use -fall-defs-global to expose */ |
| 220 | asn_TYPE_descriptor_t asn_DEF_unconstrained_2 = { |
| 221 | "unconstrained", |
| 222 | "unconstrained", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 223 | &asn_OP_SEQUENCE, |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 224 | asn_DEF_unconstrained_tags_2, |
| 225 | sizeof(asn_DEF_unconstrained_tags_2) |
| 226 | /sizeof(asn_DEF_unconstrained_tags_2[0]), /* 1 */ |
| 227 | asn_DEF_unconstrained_tags_2, /* Same as above */ |
| 228 | sizeof(asn_DEF_unconstrained_tags_2) |
| 229 | /sizeof(asn_DEF_unconstrained_tags_2[0]), /* 1 */ |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 230 | { 0, 0, SEQUENCE_constraint }, |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 231 | asn_MBR_unconstrained_2, |
| 232 | 3, /* Elements count */ |
| 233 | &asn_SPC_unconstrained_specs_2 /* Additional specs */ |
| 234 | }; |
| 235 | |
| 236 | static asn_TYPE_member_t asn_MBR_constrained_6[] = { |
| 237 | { ATF_NOFLAGS, 0, offsetof(struct constrained, con_ia5), |
| 238 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)), |
| 239 | .tag_mode = 0, |
| 240 | .type = &asn_DEF_IA5String, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 241 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 242 | { .oer_constraints = &asn_OER_memb_con_ia5_constr_7, .per_constraints = 0, .general_constraints = memb_con_ia5_constraint_6 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame^] | 243 | 0, 0, /* No default value */ |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 244 | .name = "con-ia5" |
| 245 | }, |
| 246 | { ATF_NOFLAGS, 0, offsetof(struct constrained, con_utf8), |
| 247 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), |
| 248 | .tag_mode = 0, |
| 249 | .type = &asn_DEF_UTF8String, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 250 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 251 | { .oer_constraints = &asn_OER_memb_con_utf8_constr_8, .per_constraints = 0, .general_constraints = memb_con_utf8_constraint_6 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame^] | 252 | 0, 0, /* No default value */ |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 253 | .name = "con-utf8" |
| 254 | }, |
| 255 | { ATF_NOFLAGS, 0, offsetof(struct constrained, con_universal), |
| 256 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (28 << 2)), |
| 257 | .tag_mode = 0, |
| 258 | .type = &asn_DEF_UniversalString, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 259 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 260 | { .oer_constraints = &asn_OER_memb_con_universal_constr_9, .per_constraints = 0, .general_constraints = memb_con_universal_constraint_6 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame^] | 261 | 0, 0, /* No default value */ |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 262 | .name = "con-universal" |
| 263 | }, |
| 264 | }; |
| 265 | static const ber_tlv_tag_t asn_DEF_constrained_tags_6[] = { |
| 266 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 267 | }; |
| 268 | static const asn_TYPE_tag2member_t asn_MAP_constrained_tag2el_6[] = { |
| 269 | { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* con-utf8 */ |
| 270 | { (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)), 0, 0, 0 }, /* con-ia5 */ |
| 271 | { (ASN_TAG_CLASS_UNIVERSAL | (28 << 2)), 2, 0, 0 } /* con-universal */ |
| 272 | }; |
| 273 | static asn_SEQUENCE_specifics_t asn_SPC_constrained_specs_6 = { |
| 274 | sizeof(struct constrained), |
| 275 | offsetof(struct constrained, _asn_ctx), |
Lev Walkin | e391708 | 2017-08-23 10:29:38 -0700 | [diff] [blame] | 276 | .tag2el = asn_MAP_constrained_tag2el_6, |
| 277 | .tag2el_count = 3, /* Count of tags in the map */ |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 278 | 0, 0, 0, /* Optional elements (not needed) */ |
| 279 | -1, /* Start extensions */ |
| 280 | -1 /* Stop extensions */ |
| 281 | }; |
| 282 | static /* Use -fall-defs-global to expose */ |
| 283 | asn_TYPE_descriptor_t asn_DEF_constrained_6 = { |
| 284 | "constrained", |
| 285 | "constrained", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 286 | &asn_OP_SEQUENCE, |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 287 | asn_DEF_constrained_tags_6, |
| 288 | sizeof(asn_DEF_constrained_tags_6) |
| 289 | /sizeof(asn_DEF_constrained_tags_6[0]), /* 1 */ |
| 290 | asn_DEF_constrained_tags_6, /* Same as above */ |
| 291 | sizeof(asn_DEF_constrained_tags_6) |
| 292 | /sizeof(asn_DEF_constrained_tags_6[0]), /* 1 */ |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 293 | { 0, 0, SEQUENCE_constraint }, |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 294 | asn_MBR_constrained_6, |
| 295 | 3, /* Elements count */ |
| 296 | &asn_SPC_constrained_specs_6 /* Additional specs */ |
| 297 | }; |
| 298 | |
| 299 | static asn_TYPE_member_t asn_MBR_T_1[] = { |
| 300 | { ATF_NOFLAGS, 0, offsetof(struct T, unconstrained), |
| 301 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 302 | .tag_mode = 0, |
| 303 | .type = &asn_DEF_unconstrained_2, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 304 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 305 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame^] | 306 | 0, 0, /* No default value */ |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 307 | .name = "unconstrained" |
| 308 | }, |
| 309 | { ATF_NOFLAGS, 0, offsetof(struct T, constrained), |
| 310 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 311 | .tag_mode = 0, |
| 312 | .type = &asn_DEF_constrained_6, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 313 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 314 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame^] | 315 | 0, 0, /* No default value */ |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 316 | .name = "constrained" |
| 317 | }, |
| 318 | }; |
| 319 | static const ber_tlv_tag_t asn_DEF_T_tags_1[] = { |
| 320 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 321 | }; |
| 322 | static const asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = { |
| 323 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 1 }, /* unconstrained */ |
| 324 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 0 } /* constrained */ |
| 325 | }; |
| 326 | static asn_SEQUENCE_specifics_t asn_SPC_T_specs_1 = { |
| 327 | sizeof(struct T), |
| 328 | offsetof(struct T, _asn_ctx), |
Lev Walkin | e391708 | 2017-08-23 10:29:38 -0700 | [diff] [blame] | 329 | .tag2el = asn_MAP_T_tag2el_1, |
| 330 | .tag2el_count = 2, /* Count of tags in the map */ |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 331 | 0, 0, 0, /* Optional elements (not needed) */ |
| 332 | -1, /* Start extensions */ |
| 333 | -1 /* Stop extensions */ |
| 334 | }; |
| 335 | asn_TYPE_descriptor_t asn_DEF_T = { |
| 336 | "T", |
| 337 | "T", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 338 | &asn_OP_SEQUENCE, |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 339 | asn_DEF_T_tags_1, |
| 340 | sizeof(asn_DEF_T_tags_1) |
| 341 | /sizeof(asn_DEF_T_tags_1[0]), /* 1 */ |
| 342 | asn_DEF_T_tags_1, /* Same as above */ |
| 343 | sizeof(asn_DEF_T_tags_1) |
| 344 | /sizeof(asn_DEF_T_tags_1[0]), /* 1 */ |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 345 | { 0, 0, SEQUENCE_constraint }, |
Lev Walkin | 69353a3 | 2017-07-25 08:10:46 -0700 | [diff] [blame] | 346 | asn_MBR_T_1, |
| 347 | 2, /* Elements count */ |
| 348 | &asn_SPC_T_specs_1 /* Additional specs */ |
| 349 | }; |
| 350 | |