Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 1 | |
| 2 | /*** <<< INCLUDES [T1] >>> ***/ |
| 3 | |
| 4 | #include <INTEGER.h> |
| 5 | #include <ANY.h> |
| 6 | #include <constr_SEQUENCE.h> |
| 7 | |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 8 | /*** <<< TYPE-DECLS [T1] >>> ***/ |
| 9 | |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 10 | typedef struct T1 { |
| 11 | INTEGER_t i; |
| 12 | ANY_t any; |
| 13 | |
| 14 | /* Context for parsing across buffer boundaries */ |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 15 | asn_struct_ctx_t _asn_ctx; |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 16 | } T1_t; |
| 17 | |
Lev Walkin | c828571 | 2005-03-04 22:18:20 +0000 | [diff] [blame] | 18 | /*** <<< FUNC-DECLS [T1] >>> ***/ |
| 19 | |
| 20 | extern asn_TYPE_descriptor_t asn_DEF_T1; |
| 21 | |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 22 | /*** <<< STAT-DEFS [T1] >>> ***/ |
| 23 | |
Lev Walkin | e0272aa | 2005-03-04 11:26:08 +0000 | [diff] [blame] | 24 | static asn_TYPE_member_t asn_MBR_T1_1[] = { |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 25 | { ATF_NOFLAGS, 0, offsetof(struct T1, i), |
| 26 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), |
| 27 | .tag_mode = 0, |
Lev Walkin | ae7bf3f | 2005-08-29 10:31:14 +0000 | [diff] [blame] | 28 | .type = &asn_DEF_INTEGER, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 29 | .type_selector = 0, |
Lev Walkin | ba58e1b | 2005-01-17 12:20:19 +0000 | [diff] [blame] | 30 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 31 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 32 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 33 | .default_value = 0, |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 34 | .name = "i" |
| 35 | }, |
| 36 | { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct T1, any), |
| 37 | .tag = -1 /* Ambiguous tag (ANY?) */, |
| 38 | .tag_mode = 0, |
Lev Walkin | ae7bf3f | 2005-08-29 10:31:14 +0000 | [diff] [blame] | 39 | .type = &asn_DEF_ANY, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 40 | .type_selector = 0, |
Lev Walkin | ba58e1b | 2005-01-17 12:20:19 +0000 | [diff] [blame] | 41 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 42 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 43 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 44 | .default_value = 0, |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 45 | .name = "any" |
| 46 | }, |
| 47 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 48 | static const ber_tlv_tag_t asn_DEF_T1_tags_1[] = { |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 49 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 50 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 51 | static const asn_TYPE_tag2member_t asn_MAP_T1_tag2el_1[] = { |
Lev Walkin | 4062b01 | 2013-10-11 14:29:38 -0700 | [diff] [blame] | 52 | { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i */ |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 53 | }; |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 54 | static asn_SEQUENCE_specifics_t asn_SPC_T1_specs_1 = { |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 55 | sizeof(struct T1), |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 56 | offsetof(struct T1, _asn_ctx), |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 57 | asn_MAP_T1_tag2el_1, |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 58 | 1, /* Count of tags in the map */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 59 | 0, 0, 0, /* Optional elements (not needed) */ |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 60 | -1, /* Start extensions */ |
| 61 | -1 /* Stop extensions */ |
| 62 | }; |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 63 | asn_TYPE_descriptor_t asn_DEF_T1 = { |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 64 | "T1", |
Lev Walkin | dc06f6b | 2004-10-20 15:50:55 +0000 | [diff] [blame] | 65 | "T1", |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 66 | SEQUENCE_free, |
| 67 | SEQUENCE_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 68 | SEQUENCE_compare, |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 69 | SEQUENCE_constraint, |
| 70 | SEQUENCE_decode_ber, |
| 71 | SEQUENCE_encode_der, |
Lev Walkin | 61b40d8 | 2004-10-23 15:07:45 +0000 | [diff] [blame] | 72 | SEQUENCE_decode_xer, |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 73 | SEQUENCE_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 74 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 75 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 76 | 0, /* Use generic outmost tag fetcher */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 77 | asn_DEF_T1_tags_1, |
| 78 | sizeof(asn_DEF_T1_tags_1) |
| 79 | /sizeof(asn_DEF_T1_tags_1[0]), /* 1 */ |
| 80 | asn_DEF_T1_tags_1, /* Same as above */ |
| 81 | sizeof(asn_DEF_T1_tags_1) |
| 82 | /sizeof(asn_DEF_T1_tags_1[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 83 | 0, /* No OER visible constraints */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 84 | 0, /* No PER visible constraints */ |
Lev Walkin | e0272aa | 2005-03-04 11:26:08 +0000 | [diff] [blame] | 85 | asn_MBR_T1_1, |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 86 | 2, /* Elements count */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 87 | &asn_SPC_T1_specs_1 /* Additional specs */ |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 88 | }; |
| 89 | |
| 90 | |
| 91 | /*** <<< INCLUDES [T2] >>> ***/ |
| 92 | |
| 93 | #include <INTEGER.h> |
| 94 | #include <ANY.h> |
| 95 | #include <constr_SEQUENCE.h> |
| 96 | |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 97 | /*** <<< TYPE-DECLS [T2] >>> ***/ |
| 98 | |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 99 | typedef struct T2 { |
| 100 | INTEGER_t i; |
| 101 | ANY_t *any /* OPTIONAL */; |
| 102 | |
| 103 | /* Context for parsing across buffer boundaries */ |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 104 | asn_struct_ctx_t _asn_ctx; |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 105 | } T2_t; |
| 106 | |
Lev Walkin | c828571 | 2005-03-04 22:18:20 +0000 | [diff] [blame] | 107 | /*** <<< FUNC-DECLS [T2] >>> ***/ |
| 108 | |
| 109 | extern asn_TYPE_descriptor_t asn_DEF_T2; |
| 110 | |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 111 | /*** <<< STAT-DEFS [T2] >>> ***/ |
| 112 | |
Lev Walkin | e0272aa | 2005-03-04 11:26:08 +0000 | [diff] [blame] | 113 | static asn_TYPE_member_t asn_MBR_T2_1[] = { |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 114 | { ATF_NOFLAGS, 0, offsetof(struct T2, i), |
| 115 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), |
| 116 | .tag_mode = 0, |
Lev Walkin | ae7bf3f | 2005-08-29 10:31:14 +0000 | [diff] [blame] | 117 | .type = &asn_DEF_INTEGER, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 118 | .type_selector = 0, |
Lev Walkin | ba58e1b | 2005-01-17 12:20:19 +0000 | [diff] [blame] | 119 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 120 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 121 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 122 | .default_value = 0, |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 123 | .name = "i" |
| 124 | }, |
| 125 | { ATF_POINTER, 1, offsetof(struct T2, any), |
| 126 | .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 127 | .tag_mode = +1, /* EXPLICIT tag at current level */ |
Lev Walkin | ae7bf3f | 2005-08-29 10:31:14 +0000 | [diff] [blame] | 128 | .type = &asn_DEF_ANY, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 129 | .type_selector = 0, |
Lev Walkin | ba58e1b | 2005-01-17 12:20:19 +0000 | [diff] [blame] | 130 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 131 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 132 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 133 | .default_value = 0, |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 134 | .name = "any" |
| 135 | }, |
| 136 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 137 | static const ber_tlv_tag_t asn_DEF_T2_tags_1[] = { |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 138 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 139 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 140 | static const asn_TYPE_tag2member_t asn_MAP_T2_tag2el_1[] = { |
Lev Walkin | 4062b01 | 2013-10-11 14:29:38 -0700 | [diff] [blame] | 141 | { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* i */ |
| 142 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* any */ |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 143 | }; |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 144 | static asn_SEQUENCE_specifics_t asn_SPC_T2_specs_1 = { |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 145 | sizeof(struct T2), |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 146 | offsetof(struct T2, _asn_ctx), |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 147 | asn_MAP_T2_tag2el_1, |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 148 | 2, /* Count of tags in the map */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 149 | 0, 0, 0, /* Optional elements (not needed) */ |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 150 | -1, /* Start extensions */ |
| 151 | -1 /* Stop extensions */ |
| 152 | }; |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 153 | asn_TYPE_descriptor_t asn_DEF_T2 = { |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 154 | "T2", |
Lev Walkin | dc06f6b | 2004-10-20 15:50:55 +0000 | [diff] [blame] | 155 | "T2", |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 156 | SEQUENCE_free, |
| 157 | SEQUENCE_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 158 | SEQUENCE_compare, |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 159 | SEQUENCE_constraint, |
| 160 | SEQUENCE_decode_ber, |
| 161 | SEQUENCE_encode_der, |
Lev Walkin | 61b40d8 | 2004-10-23 15:07:45 +0000 | [diff] [blame] | 162 | SEQUENCE_decode_xer, |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 163 | SEQUENCE_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 164 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 165 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 166 | 0, /* Use generic outmost tag fetcher */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 167 | asn_DEF_T2_tags_1, |
| 168 | sizeof(asn_DEF_T2_tags_1) |
| 169 | /sizeof(asn_DEF_T2_tags_1[0]), /* 1 */ |
| 170 | asn_DEF_T2_tags_1, /* Same as above */ |
| 171 | sizeof(asn_DEF_T2_tags_1) |
| 172 | /sizeof(asn_DEF_T2_tags_1[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 173 | 0, /* No OER visible constraints */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 174 | 0, /* No PER visible constraints */ |
Lev Walkin | e0272aa | 2005-03-04 11:26:08 +0000 | [diff] [blame] | 175 | asn_MBR_T2_1, |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 176 | 2, /* Elements count */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 177 | &asn_SPC_T2_specs_1 /* Additional specs */ |
Lev Walkin | b918973 | 2004-09-10 09:37:12 +0000 | [diff] [blame] | 178 | }; |
| 179 | |
Lev Walkin | b3ee6a6 | 2005-05-27 21:58:41 +0000 | [diff] [blame] | 180 | |
| 181 | /*** <<< INCLUDES [T3] >>> ***/ |
| 182 | |
| 183 | #include <ANY.h> |
| 184 | #include <constr_SEQUENCE.h> |
| 185 | |
| 186 | /*** <<< TYPE-DECLS [T3] >>> ***/ |
| 187 | |
| 188 | typedef struct T3 { |
| 189 | ANY_t any1; |
| 190 | ANY_t any2; |
| 191 | |
| 192 | /* Context for parsing across buffer boundaries */ |
| 193 | asn_struct_ctx_t _asn_ctx; |
| 194 | } T3_t; |
| 195 | |
| 196 | /*** <<< FUNC-DECLS [T3] >>> ***/ |
| 197 | |
| 198 | extern asn_TYPE_descriptor_t asn_DEF_T3; |
| 199 | |
| 200 | /*** <<< STAT-DEFS [T3] >>> ***/ |
| 201 | |
| 202 | static asn_TYPE_member_t asn_MBR_T3_1[] = { |
| 203 | { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct T3, any1), |
| 204 | .tag = -1 /* Ambiguous tag (ANY?) */, |
| 205 | .tag_mode = 0, |
Lev Walkin | ae7bf3f | 2005-08-29 10:31:14 +0000 | [diff] [blame] | 206 | .type = &asn_DEF_ANY, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 207 | .type_selector = 0, |
Lev Walkin | b3ee6a6 | 2005-05-27 21:58:41 +0000 | [diff] [blame] | 208 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 209 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 210 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 211 | .default_value = 0, |
Lev Walkin | b3ee6a6 | 2005-05-27 21:58:41 +0000 | [diff] [blame] | 212 | .name = "any1" |
| 213 | }, |
| 214 | { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct T3, any2), |
| 215 | .tag = -1 /* Ambiguous tag (ANY?) */, |
| 216 | .tag_mode = 0, |
Lev Walkin | ae7bf3f | 2005-08-29 10:31:14 +0000 | [diff] [blame] | 217 | .type = &asn_DEF_ANY, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 218 | .type_selector = 0, |
Lev Walkin | b3ee6a6 | 2005-05-27 21:58:41 +0000 | [diff] [blame] | 219 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 220 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 221 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 222 | .default_value = 0, |
Lev Walkin | b3ee6a6 | 2005-05-27 21:58:41 +0000 | [diff] [blame] | 223 | .name = "any2" |
| 224 | }, |
| 225 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 226 | static const ber_tlv_tag_t asn_DEF_T3_tags_1[] = { |
Lev Walkin | b3ee6a6 | 2005-05-27 21:58:41 +0000 | [diff] [blame] | 227 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 228 | }; |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 229 | static asn_SEQUENCE_specifics_t asn_SPC_T3_specs_1 = { |
Lev Walkin | b3ee6a6 | 2005-05-27 21:58:41 +0000 | [diff] [blame] | 230 | sizeof(struct T3), |
| 231 | offsetof(struct T3, _asn_ctx), |
| 232 | 0, /* No top level tags */ |
| 233 | 0, /* No tags in the map */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 234 | 0, 0, 0, /* Optional elements (not needed) */ |
Lev Walkin | b3ee6a6 | 2005-05-27 21:58:41 +0000 | [diff] [blame] | 235 | -1, /* Start extensions */ |
| 236 | -1 /* Stop extensions */ |
| 237 | }; |
| 238 | asn_TYPE_descriptor_t asn_DEF_T3 = { |
| 239 | "T3", |
| 240 | "T3", |
| 241 | SEQUENCE_free, |
| 242 | SEQUENCE_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 243 | SEQUENCE_compare, |
Lev Walkin | b3ee6a6 | 2005-05-27 21:58:41 +0000 | [diff] [blame] | 244 | SEQUENCE_constraint, |
| 245 | SEQUENCE_decode_ber, |
| 246 | SEQUENCE_encode_der, |
| 247 | SEQUENCE_decode_xer, |
| 248 | SEQUENCE_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 249 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 250 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | b3ee6a6 | 2005-05-27 21:58:41 +0000 | [diff] [blame] | 251 | 0, /* Use generic outmost tag fetcher */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 252 | asn_DEF_T3_tags_1, |
| 253 | sizeof(asn_DEF_T3_tags_1) |
| 254 | /sizeof(asn_DEF_T3_tags_1[0]), /* 1 */ |
| 255 | asn_DEF_T3_tags_1, /* Same as above */ |
| 256 | sizeof(asn_DEF_T3_tags_1) |
| 257 | /sizeof(asn_DEF_T3_tags_1[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 258 | 0, /* No OER visible constraints */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 259 | 0, /* No PER visible constraints */ |
Lev Walkin | b3ee6a6 | 2005-05-27 21:58:41 +0000 | [diff] [blame] | 260 | asn_MBR_T3_1, |
| 261 | 2, /* Elements count */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 262 | &asn_SPC_T3_specs_1 /* Additional specs */ |
Lev Walkin | b3ee6a6 | 2005-05-27 21:58:41 +0000 | [diff] [blame] | 263 | }; |
| 264 | |