Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 1 | |
| 2 | /*** <<< INCLUDES [T1] >>> ***/ |
| 3 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 4 | #include "T2.h" |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 5 | |
| 6 | /*** <<< TYPE-DECLS [T1] >>> ***/ |
| 7 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 8 | typedef T2_t T1_t; |
| 9 | |
| 10 | /*** <<< FUNC-DECLS [T1] >>> ***/ |
| 11 | |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 12 | extern asn_TYPE_descriptor_t asn_DEF_T1; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 13 | asn_struct_free_f T1_free; |
| 14 | asn_struct_print_f T1_print; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 15 | asn_constr_check_f T1_constraint; |
| 16 | ber_type_decoder_f T1_decode_ber; |
| 17 | der_type_encoder_f T1_encode_der; |
Lev Walkin | 0ebe8b3 | 2004-10-23 13:26:56 +0000 | [diff] [blame] | 18 | xer_type_decoder_f T1_decode_xer; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 19 | xer_type_encoder_f T1_encode_xer; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 20 | |
| 21 | /*** <<< CODE [T1] >>> ***/ |
| 22 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 23 | /* |
| 24 | * This type is implemented using T2, |
Lev Walkin | c3808c1 | 2004-09-23 22:14:58 +0000 | [diff] [blame] | 25 | * so here we adjust the DEF accordingly. |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 26 | */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 27 | |
| 28 | /*** <<< STAT-DEFS [T1] >>> ***/ |
| 29 | |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 30 | static const ber_tlv_tag_t asn_DEF_T1_tags_1[] = { |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 31 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 32 | (ASN_TAG_CLASS_CONTEXT | (3 << 2)), |
| 33 | (ASN_TAG_CLASS_CONTEXT | (4 << 2)), |
| 34 | (ASN_TAG_CLASS_CONTEXT | (6 << 2)) |
| 35 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 36 | static const ber_tlv_tag_t asn_DEF_T1_all_tags_1[] = { |
Lev Walkin | 188ed2c | 2004-09-13 08:31:01 +0000 | [diff] [blame] | 37 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 38 | (ASN_TAG_CLASS_CONTEXT | (3 << 2)), |
| 39 | (ASN_TAG_CLASS_CONTEXT | (4 << 2)), |
| 40 | (ASN_TAG_CLASS_CONTEXT | (5 << 2)), |
| 41 | (ASN_TAG_CLASS_CONTEXT | (6 << 2)), |
Lev Walkin | 2888f27 | 2004-09-14 12:46:58 +0000 | [diff] [blame] | 42 | (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)) |
Lev Walkin | 188ed2c | 2004-09-13 08:31:01 +0000 | [diff] [blame] | 43 | }; |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 44 | asn_TYPE_descriptor_t asn_DEF_T1 = { |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 45 | "T1", |
Lev Walkin | dc06f6b | 2004-10-20 15:50:55 +0000 | [diff] [blame] | 46 | "T1", |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 47 | REAL_free, |
| 48 | REAL_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 49 | REAL_compare, |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 50 | REAL_constraint, |
| 51 | REAL_decode_ber, |
| 52 | REAL_encode_der, |
| 53 | REAL_decode_xer, |
| 54 | REAL_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 55 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 56 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 57 | 0, /* Use generic outmost tag fetcher */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 58 | asn_DEF_T1_tags_1, |
| 59 | sizeof(asn_DEF_T1_tags_1) |
| 60 | /sizeof(asn_DEF_T1_tags_1[0]), /* 4 */ |
| 61 | asn_DEF_T1_all_tags_1, |
| 62 | sizeof(asn_DEF_T1_all_tags_1) |
| 63 | /sizeof(asn_DEF_T1_all_tags_1[0]), /* 6 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 64 | 0, /* No OER visible constraints */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 65 | 0, /* No PER visible constraints */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 66 | 0, 0, /* No members */ |
| 67 | 0 /* No specifics */ |
| 68 | }; |
| 69 | |
| 70 | |
| 71 | /*** <<< INCLUDES [T2] >>> ***/ |
| 72 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 73 | #include "T3.h" |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 74 | |
| 75 | /*** <<< TYPE-DECLS [T2] >>> ***/ |
| 76 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 77 | typedef T3_t T2_t; |
| 78 | |
| 79 | /*** <<< FUNC-DECLS [T2] >>> ***/ |
| 80 | |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 81 | extern asn_TYPE_descriptor_t asn_DEF_T2; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 82 | asn_struct_free_f T2_free; |
| 83 | asn_struct_print_f T2_print; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 84 | asn_constr_check_f T2_constraint; |
| 85 | ber_type_decoder_f T2_decode_ber; |
| 86 | der_type_encoder_f T2_encode_der; |
Lev Walkin | 0ebe8b3 | 2004-10-23 13:26:56 +0000 | [diff] [blame] | 87 | xer_type_decoder_f T2_decode_xer; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 88 | xer_type_encoder_f T2_encode_xer; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 89 | |
| 90 | /*** <<< CODE [T2] >>> ***/ |
| 91 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 92 | /* |
| 93 | * This type is implemented using T3, |
Lev Walkin | c3808c1 | 2004-09-23 22:14:58 +0000 | [diff] [blame] | 94 | * so here we adjust the DEF accordingly. |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 95 | */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 96 | |
| 97 | /*** <<< STAT-DEFS [T2] >>> ***/ |
| 98 | |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 99 | static const ber_tlv_tag_t asn_DEF_T2_tags_1[] = { |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 100 | (ASN_TAG_CLASS_CONTEXT | (3 << 2)), |
| 101 | (ASN_TAG_CLASS_CONTEXT | (4 << 2)), |
| 102 | (ASN_TAG_CLASS_CONTEXT | (6 << 2)) |
| 103 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 104 | static const ber_tlv_tag_t asn_DEF_T2_all_tags_1[] = { |
Lev Walkin | 188ed2c | 2004-09-13 08:31:01 +0000 | [diff] [blame] | 105 | (ASN_TAG_CLASS_CONTEXT | (3 << 2)), |
| 106 | (ASN_TAG_CLASS_CONTEXT | (4 << 2)), |
| 107 | (ASN_TAG_CLASS_CONTEXT | (5 << 2)), |
| 108 | (ASN_TAG_CLASS_CONTEXT | (6 << 2)), |
Lev Walkin | 2888f27 | 2004-09-14 12:46:58 +0000 | [diff] [blame] | 109 | (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)) |
Lev Walkin | 188ed2c | 2004-09-13 08:31:01 +0000 | [diff] [blame] | 110 | }; |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 111 | asn_TYPE_descriptor_t asn_DEF_T2 = { |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 112 | "T2", |
Lev Walkin | dc06f6b | 2004-10-20 15:50:55 +0000 | [diff] [blame] | 113 | "T2", |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 114 | REAL_free, |
| 115 | REAL_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 116 | REAL_compare, |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 117 | REAL_constraint, |
| 118 | REAL_decode_ber, |
| 119 | REAL_encode_der, |
| 120 | REAL_decode_xer, |
| 121 | REAL_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 122 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 123 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 124 | 0, /* Use generic outmost tag fetcher */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 125 | asn_DEF_T2_tags_1, |
| 126 | sizeof(asn_DEF_T2_tags_1) |
| 127 | /sizeof(asn_DEF_T2_tags_1[0]), /* 3 */ |
| 128 | asn_DEF_T2_all_tags_1, |
| 129 | sizeof(asn_DEF_T2_all_tags_1) |
| 130 | /sizeof(asn_DEF_T2_all_tags_1[0]), /* 5 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 131 | 0, /* No OER visible constraints */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 132 | 0, /* No PER visible constraints */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 133 | 0, 0, /* No members */ |
| 134 | 0 /* No specifics */ |
| 135 | }; |
| 136 | |
| 137 | |
| 138 | /*** <<< INCLUDES [T3] >>> ***/ |
| 139 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 140 | #include "T4.h" |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 141 | |
| 142 | /*** <<< TYPE-DECLS [T3] >>> ***/ |
| 143 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 144 | typedef T4_t T3_t; |
| 145 | |
| 146 | /*** <<< FUNC-DECLS [T3] >>> ***/ |
| 147 | |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 148 | extern asn_TYPE_descriptor_t asn_DEF_T3; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 149 | asn_struct_free_f T3_free; |
| 150 | asn_struct_print_f T3_print; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 151 | asn_constr_check_f T3_constraint; |
| 152 | ber_type_decoder_f T3_decode_ber; |
| 153 | der_type_encoder_f T3_encode_der; |
Lev Walkin | 0ebe8b3 | 2004-10-23 13:26:56 +0000 | [diff] [blame] | 154 | xer_type_decoder_f T3_decode_xer; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 155 | xer_type_encoder_f T3_encode_xer; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 156 | |
| 157 | /*** <<< CODE [T3] >>> ***/ |
| 158 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 159 | /* |
| 160 | * This type is implemented using T4, |
Lev Walkin | c3808c1 | 2004-09-23 22:14:58 +0000 | [diff] [blame] | 161 | * so here we adjust the DEF accordingly. |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 162 | */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 163 | |
| 164 | /*** <<< STAT-DEFS [T3] >>> ***/ |
| 165 | |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 166 | static const ber_tlv_tag_t asn_DEF_T3_tags_1[] = { |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 167 | (ASN_TAG_CLASS_CONTEXT | (4 << 2)), |
| 168 | (ASN_TAG_CLASS_CONTEXT | (6 << 2)) |
| 169 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 170 | static const ber_tlv_tag_t asn_DEF_T3_all_tags_1[] = { |
Lev Walkin | 188ed2c | 2004-09-13 08:31:01 +0000 | [diff] [blame] | 171 | (ASN_TAG_CLASS_CONTEXT | (4 << 2)), |
| 172 | (ASN_TAG_CLASS_CONTEXT | (5 << 2)), |
| 173 | (ASN_TAG_CLASS_CONTEXT | (6 << 2)), |
Lev Walkin | 2888f27 | 2004-09-14 12:46:58 +0000 | [diff] [blame] | 174 | (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)) |
Lev Walkin | 188ed2c | 2004-09-13 08:31:01 +0000 | [diff] [blame] | 175 | }; |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 176 | asn_TYPE_descriptor_t asn_DEF_T3 = { |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 177 | "T3", |
Lev Walkin | dc06f6b | 2004-10-20 15:50:55 +0000 | [diff] [blame] | 178 | "T3", |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 179 | REAL_free, |
| 180 | REAL_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 181 | REAL_compare, |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 182 | REAL_constraint, |
| 183 | REAL_decode_ber, |
| 184 | REAL_encode_der, |
| 185 | REAL_decode_xer, |
| 186 | REAL_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 187 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 188 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 189 | 0, /* Use generic outmost tag fetcher */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 190 | asn_DEF_T3_tags_1, |
| 191 | sizeof(asn_DEF_T3_tags_1) |
| 192 | /sizeof(asn_DEF_T3_tags_1[0]), /* 2 */ |
| 193 | asn_DEF_T3_all_tags_1, |
| 194 | sizeof(asn_DEF_T3_all_tags_1) |
| 195 | /sizeof(asn_DEF_T3_all_tags_1[0]), /* 4 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 196 | 0, /* No OER visible constraints */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 197 | 0, /* No PER visible constraints */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 198 | 0, 0, /* No members */ |
| 199 | 0 /* No specifics */ |
| 200 | }; |
| 201 | |
| 202 | |
| 203 | /*** <<< INCLUDES [T4] >>> ***/ |
| 204 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 205 | #include "T5.h" |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 206 | |
| 207 | /*** <<< TYPE-DECLS [T4] >>> ***/ |
| 208 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 209 | typedef T5_t T4_t; |
| 210 | |
| 211 | /*** <<< FUNC-DECLS [T4] >>> ***/ |
| 212 | |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 213 | extern asn_TYPE_descriptor_t asn_DEF_T4; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 214 | asn_struct_free_f T4_free; |
| 215 | asn_struct_print_f T4_print; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 216 | asn_constr_check_f T4_constraint; |
| 217 | ber_type_decoder_f T4_decode_ber; |
| 218 | der_type_encoder_f T4_encode_der; |
Lev Walkin | 0ebe8b3 | 2004-10-23 13:26:56 +0000 | [diff] [blame] | 219 | xer_type_decoder_f T4_decode_xer; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 220 | xer_type_encoder_f T4_encode_xer; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 221 | |
| 222 | /*** <<< CODE [T4] >>> ***/ |
| 223 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 224 | /* |
| 225 | * This type is implemented using T5, |
Lev Walkin | c3808c1 | 2004-09-23 22:14:58 +0000 | [diff] [blame] | 226 | * so here we adjust the DEF accordingly. |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 227 | */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 228 | |
| 229 | /*** <<< STAT-DEFS [T4] >>> ***/ |
| 230 | |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 231 | static const ber_tlv_tag_t asn_DEF_T4_tags_1[] = { |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 232 | (ASN_TAG_CLASS_CONTEXT | (5 << 2)), |
Lev Walkin | 188ed2c | 2004-09-13 08:31:01 +0000 | [diff] [blame] | 233 | (ASN_TAG_CLASS_CONTEXT | (6 << 2)), |
Lev Walkin | 2888f27 | 2004-09-14 12:46:58 +0000 | [diff] [blame] | 234 | (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)) |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 235 | }; |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 236 | asn_TYPE_descriptor_t asn_DEF_T4 = { |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 237 | "T4", |
Lev Walkin | dc06f6b | 2004-10-20 15:50:55 +0000 | [diff] [blame] | 238 | "T4", |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 239 | REAL_free, |
| 240 | REAL_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 241 | REAL_compare, |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 242 | REAL_constraint, |
| 243 | REAL_decode_ber, |
| 244 | REAL_encode_der, |
| 245 | REAL_decode_xer, |
| 246 | REAL_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 247 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 248 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 249 | 0, /* Use generic outmost tag fetcher */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 250 | asn_DEF_T4_tags_1, |
| 251 | sizeof(asn_DEF_T4_tags_1) |
| 252 | /sizeof(asn_DEF_T4_tags_1[0]) - 1, /* 2 */ |
| 253 | asn_DEF_T4_tags_1, /* Same as above */ |
| 254 | sizeof(asn_DEF_T4_tags_1) |
| 255 | /sizeof(asn_DEF_T4_tags_1[0]), /* 3 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 256 | 0, /* No OER visible constraints */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 257 | 0, /* No PER visible constraints */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 258 | 0, 0, /* No members */ |
| 259 | 0 /* No specifics */ |
| 260 | }; |
| 261 | |
| 262 | |
| 263 | /*** <<< INCLUDES [T5] >>> ***/ |
| 264 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 265 | #include "T6.h" |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 266 | |
| 267 | /*** <<< TYPE-DECLS [T5] >>> ***/ |
| 268 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 269 | typedef T6_t T5_t; |
| 270 | |
| 271 | /*** <<< FUNC-DECLS [T5] >>> ***/ |
| 272 | |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 273 | extern asn_TYPE_descriptor_t asn_DEF_T5; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 274 | asn_struct_free_f T5_free; |
| 275 | asn_struct_print_f T5_print; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 276 | asn_constr_check_f T5_constraint; |
| 277 | ber_type_decoder_f T5_decode_ber; |
| 278 | der_type_encoder_f T5_encode_der; |
Lev Walkin | 0ebe8b3 | 2004-10-23 13:26:56 +0000 | [diff] [blame] | 279 | xer_type_decoder_f T5_decode_xer; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 280 | xer_type_encoder_f T5_encode_xer; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 281 | |
| 282 | /*** <<< CODE [T5] >>> ***/ |
| 283 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 284 | /* |
| 285 | * This type is implemented using T6, |
Lev Walkin | c3808c1 | 2004-09-23 22:14:58 +0000 | [diff] [blame] | 286 | * so here we adjust the DEF accordingly. |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 287 | */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 288 | |
| 289 | /*** <<< STAT-DEFS [T5] >>> ***/ |
| 290 | |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 291 | static const ber_tlv_tag_t asn_DEF_T5_tags_1[] = { |
Lev Walkin | 188ed2c | 2004-09-13 08:31:01 +0000 | [diff] [blame] | 292 | (ASN_TAG_CLASS_CONTEXT | (6 << 2)), |
Lev Walkin | 2888f27 | 2004-09-14 12:46:58 +0000 | [diff] [blame] | 293 | (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)) |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 294 | }; |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 295 | asn_TYPE_descriptor_t asn_DEF_T5 = { |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 296 | "T5", |
Lev Walkin | dc06f6b | 2004-10-20 15:50:55 +0000 | [diff] [blame] | 297 | "T5", |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 298 | REAL_free, |
| 299 | REAL_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 300 | REAL_compare, |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 301 | REAL_constraint, |
| 302 | REAL_decode_ber, |
| 303 | REAL_encode_der, |
| 304 | REAL_decode_xer, |
| 305 | REAL_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 306 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 307 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 308 | 0, /* Use generic outmost tag fetcher */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 309 | asn_DEF_T5_tags_1, |
| 310 | sizeof(asn_DEF_T5_tags_1) |
| 311 | /sizeof(asn_DEF_T5_tags_1[0]) - 1, /* 1 */ |
| 312 | asn_DEF_T5_tags_1, /* Same as above */ |
| 313 | sizeof(asn_DEF_T5_tags_1) |
| 314 | /sizeof(asn_DEF_T5_tags_1[0]), /* 2 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 315 | 0, /* No OER visible constraints */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 316 | 0, /* No PER visible constraints */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 317 | 0, 0, /* No members */ |
| 318 | 0 /* No specifics */ |
| 319 | }; |
| 320 | |
| 321 | |
| 322 | /*** <<< INCLUDES [T6] >>> ***/ |
| 323 | |
Lev Walkin | 2888f27 | 2004-09-14 12:46:58 +0000 | [diff] [blame] | 324 | #include <REAL.h> |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 325 | |
| 326 | /*** <<< TYPE-DECLS [T6] >>> ***/ |
| 327 | |
Lev Walkin | 2888f27 | 2004-09-14 12:46:58 +0000 | [diff] [blame] | 328 | typedef REAL_t T6_t; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 329 | |
| 330 | /*** <<< FUNC-DECLS [T6] >>> ***/ |
| 331 | |
Lev Walkin | caf0d5a | 2005-03-04 23:48:19 +0000 | [diff] [blame] | 332 | extern asn_TYPE_descriptor_t asn_DEF_T6; |
| 333 | asn_struct_free_f T6_free; |
| 334 | asn_struct_print_f T6_print; |
| 335 | asn_constr_check_f T6_constraint; |
| 336 | ber_type_decoder_f T6_decode_ber; |
| 337 | der_type_encoder_f T6_encode_der; |
| 338 | xer_type_decoder_f T6_decode_xer; |
| 339 | xer_type_encoder_f T6_encode_xer; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 340 | |
| 341 | /*** <<< CODE [T6] >>> ***/ |
| 342 | |
Lev Walkin | caf0d5a | 2005-03-04 23:48:19 +0000 | [diff] [blame] | 343 | /* |
| 344 | * This type is implemented using REAL, |
| 345 | * so here we adjust the DEF accordingly. |
| 346 | */ |
Lev Walkin | caf0d5a | 2005-03-04 23:48:19 +0000 | [diff] [blame] | 347 | |
| 348 | /*** <<< STAT-DEFS [T6] >>> ***/ |
| 349 | |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 350 | static const ber_tlv_tag_t asn_DEF_T6_tags_1[] = { |
Lev Walkin | caf0d5a | 2005-03-04 23:48:19 +0000 | [diff] [blame] | 351 | (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)) |
| 352 | }; |
| 353 | asn_TYPE_descriptor_t asn_DEF_T6 = { |
| 354 | "T6", |
| 355 | "T6", |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 356 | REAL_free, |
| 357 | REAL_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 358 | REAL_compare, |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 359 | REAL_constraint, |
| 360 | REAL_decode_ber, |
| 361 | REAL_encode_der, |
| 362 | REAL_decode_xer, |
| 363 | REAL_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 364 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 365 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | caf0d5a | 2005-03-04 23:48:19 +0000 | [diff] [blame] | 366 | 0, /* Use generic outmost tag fetcher */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 367 | asn_DEF_T6_tags_1, |
| 368 | sizeof(asn_DEF_T6_tags_1) |
| 369 | /sizeof(asn_DEF_T6_tags_1[0]), /* 1 */ |
| 370 | asn_DEF_T6_tags_1, /* Same as above */ |
| 371 | sizeof(asn_DEF_T6_tags_1) |
| 372 | /sizeof(asn_DEF_T6_tags_1[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 373 | 0, /* No OER visible constraints */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 374 | 0, /* No PER visible constraints */ |
Lev Walkin | caf0d5a | 2005-03-04 23:48:19 +0000 | [diff] [blame] | 375 | 0, 0, /* No members */ |
| 376 | 0 /* No specifics */ |
| 377 | }; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 378 | |
| 379 | |
| 380 | /*** <<< INCLUDES [T] >>> ***/ |
| 381 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 382 | #include "Ts.h" |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 383 | |
| 384 | /*** <<< TYPE-DECLS [T] >>> ***/ |
| 385 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 386 | typedef Ts_t T_t; |
| 387 | |
| 388 | /*** <<< FUNC-DECLS [T] >>> ***/ |
| 389 | |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 390 | extern asn_TYPE_descriptor_t asn_DEF_T; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 391 | asn_struct_free_f T_free; |
| 392 | asn_struct_print_f T_print; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 393 | asn_constr_check_f T_constraint; |
| 394 | ber_type_decoder_f T_decode_ber; |
| 395 | der_type_encoder_f T_encode_der; |
Lev Walkin | 0ebe8b3 | 2004-10-23 13:26:56 +0000 | [diff] [blame] | 396 | xer_type_decoder_f T_decode_xer; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 397 | xer_type_encoder_f T_encode_xer; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 398 | |
| 399 | /*** <<< CODE [T] >>> ***/ |
| 400 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 401 | /* |
| 402 | * This type is implemented using Ts, |
Lev Walkin | c3808c1 | 2004-09-23 22:14:58 +0000 | [diff] [blame] | 403 | * so here we adjust the DEF accordingly. |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 404 | */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 405 | |
| 406 | /*** <<< STAT-DEFS [T] >>> ***/ |
| 407 | |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 408 | static const ber_tlv_tag_t asn_DEF_T_tags_1[] = { |
Lev Walkin | 188ed2c | 2004-09-13 08:31:01 +0000 | [diff] [blame] | 409 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 410 | (ASN_TAG_CLASS_CONTEXT | (123 << 2)), |
| 411 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 412 | }; |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 413 | asn_TYPE_descriptor_t asn_DEF_T = { |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 414 | "T", |
Lev Walkin | dc06f6b | 2004-10-20 15:50:55 +0000 | [diff] [blame] | 415 | "T", |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 416 | SEQUENCE_free, |
| 417 | SEQUENCE_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 418 | SEQUENCE_compare, |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 419 | SEQUENCE_constraint, |
| 420 | SEQUENCE_decode_ber, |
| 421 | SEQUENCE_encode_der, |
| 422 | SEQUENCE_decode_xer, |
| 423 | SEQUENCE_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 424 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 425 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 426 | 0, /* Use generic outmost tag fetcher */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 427 | asn_DEF_T_tags_1, |
| 428 | sizeof(asn_DEF_T_tags_1) |
| 429 | /sizeof(asn_DEF_T_tags_1[0]) - 2, /* 1 */ |
| 430 | asn_DEF_T_tags_1, /* Same as above */ |
| 431 | sizeof(asn_DEF_T_tags_1) |
| 432 | /sizeof(asn_DEF_T_tags_1[0]), /* 3 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 433 | 0, /* No OER visible constraints */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 434 | 0, /* No PER visible constraints */ |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 435 | asn_MBR_Ts_1, |
| 436 | 3, /* Elements count */ |
| 437 | &asn_SPC_Ts_specs_1 /* Additional specs */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 438 | }; |
| 439 | |
| 440 | |
| 441 | /*** <<< INCLUDES [Ts] >>> ***/ |
| 442 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 443 | #include "T2.h" |
| 444 | #include "T3.h" |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 445 | #include <constr_SEQUENCE.h> |
| 446 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 447 | /*** <<< TYPE-DECLS [Ts] >>> ***/ |
| 448 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 449 | typedef struct Ts { |
| 450 | T2_t m1; |
| 451 | T3_t *m2 /* OPTIONAL */; |
| 452 | T3_t m3; |
| 453 | |
| 454 | /* Context for parsing across buffer boundaries */ |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 455 | asn_struct_ctx_t _asn_ctx; |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 456 | } Ts_t; |
| 457 | |
Lev Walkin | c828571 | 2005-03-04 22:18:20 +0000 | [diff] [blame] | 458 | /*** <<< FUNC-DECLS [Ts] >>> ***/ |
| 459 | |
| 460 | extern asn_TYPE_descriptor_t asn_DEF_Ts; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 461 | extern asn_SEQUENCE_specifics_t asn_SPC_Ts_specs_1; |
| 462 | extern asn_TYPE_member_t asn_MBR_Ts_1[3]; |
Lev Walkin | c828571 | 2005-03-04 22:18:20 +0000 | [diff] [blame] | 463 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 464 | /*** <<< STAT-DEFS [Ts] >>> ***/ |
| 465 | |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 466 | asn_TYPE_member_t asn_MBR_Ts_1[] = { |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 467 | { ATF_NOFLAGS, 0, offsetof(struct Ts, m1), |
| 468 | .tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 469 | .tag_mode = -1, /* IMPLICIT tag at current level */ |
Lev Walkin | ae7bf3f | 2005-08-29 10:31:14 +0000 | [diff] [blame] | 470 | .type = &asn_DEF_T2, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 471 | .type_selector = 0, |
Lev Walkin | ba58e1b | 2005-01-17 12:20:19 +0000 | [diff] [blame] | 472 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 473 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 474 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 475 | .default_value = 0, |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 476 | .name = "m1" |
| 477 | }, |
| 478 | { ATF_POINTER, 1, offsetof(struct Ts, m2), |
| 479 | .tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 480 | .tag_mode = +1, /* EXPLICIT tag at current level */ |
Lev Walkin | ae7bf3f | 2005-08-29 10:31:14 +0000 | [diff] [blame] | 481 | .type = &asn_DEF_T3, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 482 | .type_selector = 0, |
Lev Walkin | ba58e1b | 2005-01-17 12:20:19 +0000 | [diff] [blame] | 483 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 484 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 485 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 486 | .default_value = 0, |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 487 | .name = "m2" |
| 488 | }, |
| 489 | { ATF_NOFLAGS, 0, offsetof(struct Ts, m3), |
| 490 | .tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)), |
| 491 | .tag_mode = -1, /* IMPLICIT tag at current level */ |
Lev Walkin | ae7bf3f | 2005-08-29 10:31:14 +0000 | [diff] [blame] | 492 | .type = &asn_DEF_T3, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 493 | .type_selector = 0, |
Lev Walkin | ba58e1b | 2005-01-17 12:20:19 +0000 | [diff] [blame] | 494 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 495 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 496 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 497 | .default_value = 0, |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 498 | .name = "m3" |
| 499 | }, |
| 500 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 501 | static const ber_tlv_tag_t asn_DEF_Ts_tags_1[] = { |
Lev Walkin | 188ed2c | 2004-09-13 08:31:01 +0000 | [diff] [blame] | 502 | (ASN_TAG_CLASS_CONTEXT | (123 << 2)), |
| 503 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 504 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 505 | static const asn_TYPE_tag2member_t asn_MAP_Ts_tag2el_1[] = { |
Lev Walkin | 4062b01 | 2013-10-11 14:29:38 -0700 | [diff] [blame] | 506 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* m1 */ |
| 507 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* m2 */ |
| 508 | { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, 0, 0 } /* m3 */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 509 | }; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 510 | asn_SEQUENCE_specifics_t asn_SPC_Ts_specs_1 = { |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 511 | sizeof(struct Ts), |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 512 | offsetof(struct Ts, _asn_ctx), |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 513 | asn_MAP_Ts_tag2el_1, |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 514 | 3, /* Count of tags in the map */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 515 | 0, 0, 0, /* Optional elements (not needed) */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 516 | -1, /* Start extensions */ |
| 517 | -1 /* Stop extensions */ |
| 518 | }; |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 519 | asn_TYPE_descriptor_t asn_DEF_Ts = { |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 520 | "Ts", |
Lev Walkin | dc06f6b | 2004-10-20 15:50:55 +0000 | [diff] [blame] | 521 | "Ts", |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 522 | SEQUENCE_free, |
| 523 | SEQUENCE_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 524 | SEQUENCE_compare, |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 525 | SEQUENCE_constraint, |
| 526 | SEQUENCE_decode_ber, |
| 527 | SEQUENCE_encode_der, |
Lev Walkin | 61b40d8 | 2004-10-23 15:07:45 +0000 | [diff] [blame] | 528 | SEQUENCE_decode_xer, |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 529 | SEQUENCE_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 530 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 531 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 532 | 0, /* Use generic outmost tag fetcher */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 533 | asn_DEF_Ts_tags_1, |
| 534 | sizeof(asn_DEF_Ts_tags_1) |
| 535 | /sizeof(asn_DEF_Ts_tags_1[0]) - 1, /* 1 */ |
| 536 | asn_DEF_Ts_tags_1, /* Same as above */ |
| 537 | sizeof(asn_DEF_Ts_tags_1) |
| 538 | /sizeof(asn_DEF_Ts_tags_1[0]), /* 2 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 539 | 0, /* No OER visible constraints */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 540 | 0, /* No PER visible constraints */ |
Lev Walkin | e0272aa | 2005-03-04 11:26:08 +0000 | [diff] [blame] | 541 | asn_MBR_Ts_1, |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 542 | 3, /* Elements count */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 543 | &asn_SPC_Ts_specs_1 /* Additional specs */ |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 544 | }; |
| 545 | |