Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 1 | |
| 2 | /*** <<< INCLUDES [SIGNED] >>> ***/ |
| 3 | |
| 4 | #include <REAL.h> |
| 5 | #include <constr_SEQUENCE.h> |
| 6 | #include <INTEGER.h> |
| 7 | #include <constr_SET.h> |
| 8 | |
| 9 | /*** <<< DEPS [SIGNED] >>> ***/ |
| 10 | |
| 11 | |
| 12 | /* |
| 13 | * Method of determining the components presence |
| 14 | */ |
| 15 | typedef enum signed_PR { |
| 16 | signed_PR_a, /* Member a is present */ |
| 17 | } signed_PR; |
| 18 | |
| 19 | /*** <<< TYPE-DECLS [SIGNED] >>> ***/ |
| 20 | |
| 21 | typedef struct SIGNED_16P0 { |
| 22 | REAL_t Signed; |
| 23 | |
| 24 | /* Context for parsing across buffer boundaries */ |
| 25 | asn_struct_ctx_t _asn_ctx; |
| 26 | } SIGNED_16P0_t; |
| 27 | typedef struct SIGNED_16P1 { |
| 28 | struct Signed { |
| 29 | INTEGER_t a; |
| 30 | |
| 31 | /* Presence bitmask: ASN_SET_ISPRESENT(psigned, signed_PR_x) */ |
| 32 | unsigned int _presence_map |
| 33 | [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))]; |
| 34 | |
| 35 | /* Context for parsing across buffer boundaries */ |
| 36 | asn_struct_ctx_t _asn_ctx; |
| 37 | } Signed; |
| 38 | |
| 39 | /* Context for parsing across buffer boundaries */ |
| 40 | asn_struct_ctx_t _asn_ctx; |
| 41 | } SIGNED_16P1_t; |
| 42 | |
| 43 | /*** <<< FUNC-DECLS [SIGNED] >>> ***/ |
| 44 | |
| 45 | extern asn_TYPE_descriptor_t asn_DEF_SIGNED_16P0; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 46 | extern asn_SEQUENCE_specifics_t asn_SPC_SIGNED_16P0_specs_1; |
| 47 | extern asn_TYPE_member_t asn_MBR_SIGNED_16P0_1[1]; |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 48 | extern asn_TYPE_descriptor_t asn_DEF_SIGNED_16P1; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 49 | extern asn_SEQUENCE_specifics_t asn_SPC_SIGNED_16P1_specs_3; |
| 50 | extern asn_TYPE_member_t asn_MBR_SIGNED_16P1_3[1]; |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 51 | |
| 52 | /*** <<< STAT-DEFS [SIGNED] >>> ***/ |
| 53 | |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 54 | asn_TYPE_member_t asn_MBR_SIGNED_16P0_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 55 | { ATF_NOFLAGS, 0, offsetof(struct SIGNED_16P0, Signed), |
| 56 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), |
| 57 | .tag_mode = 0, |
| 58 | .type = &asn_DEF_REAL, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 59 | .type_selector = 0, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 60 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 61 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 62 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 63 | .default_value = 0, |
| 64 | .name = "signed" |
| 65 | }, |
| 66 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 67 | static const ber_tlv_tag_t asn_DEF_SIGNED_16P0_tags_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 68 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 69 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 70 | static const asn_TYPE_tag2member_t asn_MAP_SIGNED_16P0_tag2el_1[] = { |
Lev Walkin | 4062b01 | 2013-10-11 14:29:38 -0700 | [diff] [blame] | 71 | { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 0, 0, 0 } /* signed */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 72 | }; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 73 | asn_SEQUENCE_specifics_t asn_SPC_SIGNED_16P0_specs_1 = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 74 | sizeof(struct SIGNED_16P0), |
| 75 | offsetof(struct SIGNED_16P0, _asn_ctx), |
Lev Walkin | e391708 | 2017-08-23 10:29:38 -0700 | [diff] [blame] | 76 | .tag2el = asn_MAP_SIGNED_16P0_tag2el_1, |
| 77 | .tag2el_count = 1, /* Count of tags in the map */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 78 | 0, 0, 0, /* Optional elements (not needed) */ |
| 79 | -1, /* Start extensions */ |
| 80 | -1 /* Stop extensions */ |
| 81 | }; |
| 82 | asn_TYPE_descriptor_t asn_DEF_SIGNED_16P0 = { |
| 83 | "SIGNED", |
| 84 | "SIGNED", |
| 85 | SEQUENCE_free, |
| 86 | SEQUENCE_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 87 | SEQUENCE_compare, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 88 | SEQUENCE_constraint, |
| 89 | SEQUENCE_decode_ber, |
| 90 | SEQUENCE_encode_der, |
| 91 | SEQUENCE_decode_xer, |
| 92 | SEQUENCE_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 93 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 94 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 95 | 0, /* Use generic outmost tag fetcher */ |
| 96 | asn_DEF_SIGNED_16P0_tags_1, |
| 97 | sizeof(asn_DEF_SIGNED_16P0_tags_1) |
| 98 | /sizeof(asn_DEF_SIGNED_16P0_tags_1[0]), /* 1 */ |
| 99 | asn_DEF_SIGNED_16P0_tags_1, /* Same as above */ |
| 100 | sizeof(asn_DEF_SIGNED_16P0_tags_1) |
| 101 | /sizeof(asn_DEF_SIGNED_16P0_tags_1[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 102 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 103 | 0, /* No PER visible constraints */ |
| 104 | asn_MBR_SIGNED_16P0_1, |
| 105 | 1, /* Elements count */ |
| 106 | &asn_SPC_SIGNED_16P0_specs_1 /* Additional specs */ |
| 107 | }; |
| 108 | |
| 109 | static asn_TYPE_member_t asn_MBR_signed_4[] = { |
| 110 | { ATF_NOFLAGS, 0, offsetof(struct Signed, a), |
| 111 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), |
| 112 | .tag_mode = 0, |
| 113 | .type = &asn_DEF_INTEGER, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 114 | .type_selector = 0, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 115 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 116 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 117 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 118 | .default_value = 0, |
| 119 | .name = "a" |
| 120 | }, |
| 121 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 122 | static const ber_tlv_tag_t asn_DEF_signed_tags_4[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 123 | (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)) |
| 124 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 125 | static const asn_TYPE_tag2member_t asn_MAP_signed_tag2el_4[] = { |
Lev Walkin | 4062b01 | 2013-10-11 14:29:38 -0700 | [diff] [blame] | 126 | { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* a */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 127 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 128 | static const uint8_t asn_MAP_signed_mmap_4[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 129 | (1 << 7) |
| 130 | }; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 131 | static |
| 132 | asn_SET_specifics_t asn_SPC_signed_specs_4 = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 133 | sizeof(struct Signed), |
| 134 | offsetof(struct Signed, _asn_ctx), |
| 135 | offsetof(struct Signed, _presence_map), |
Lev Walkin | e391708 | 2017-08-23 10:29:38 -0700 | [diff] [blame] | 136 | .tag2el = asn_MAP_signed_tag2el_4, |
| 137 | .tag2el_count = 1, /* Count of tags in the map */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 138 | asn_MAP_signed_tag2el_4, /* Same as above */ |
| 139 | 1, /* Count of tags in the CXER map */ |
| 140 | 0, /* Whether extensible */ |
Lev Walkin | 46ef3f3 | 2017-07-06 08:47:53 -0700 | [diff] [blame] | 141 | (const unsigned int *)asn_MAP_signed_mmap_4 /* Mandatory elements map */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 142 | }; |
| 143 | static /* Use -fall-defs-global to expose */ |
| 144 | asn_TYPE_descriptor_t asn_DEF_signed_4 = { |
| 145 | "signed", |
| 146 | "signed", |
| 147 | SET_free, |
| 148 | SET_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 149 | SET_compare, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 150 | SET_constraint, |
| 151 | SET_decode_ber, |
| 152 | SET_encode_der, |
| 153 | SET_decode_xer, |
| 154 | SET_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 155 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 156 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 157 | 0, /* Use generic outmost tag fetcher */ |
| 158 | asn_DEF_signed_tags_4, |
| 159 | sizeof(asn_DEF_signed_tags_4) |
| 160 | /sizeof(asn_DEF_signed_tags_4[0]), /* 1 */ |
| 161 | asn_DEF_signed_tags_4, /* Same as above */ |
| 162 | sizeof(asn_DEF_signed_tags_4) |
| 163 | /sizeof(asn_DEF_signed_tags_4[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 164 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 165 | 0, /* No PER visible constraints */ |
| 166 | asn_MBR_signed_4, |
| 167 | 1, /* Elements count */ |
| 168 | &asn_SPC_signed_specs_4 /* Additional specs */ |
| 169 | }; |
| 170 | |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 171 | asn_TYPE_member_t asn_MBR_SIGNED_16P1_3[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 172 | { ATF_NOFLAGS, 0, offsetof(struct SIGNED_16P1, Signed), |
| 173 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), |
| 174 | .tag_mode = 0, |
| 175 | .type = &asn_DEF_signed_4, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 176 | .type_selector = 0, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 177 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 178 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 179 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 180 | .default_value = 0, |
| 181 | .name = "signed" |
| 182 | }, |
| 183 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 184 | static const ber_tlv_tag_t asn_DEF_SIGNED_16P1_tags_3[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 185 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 186 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 187 | static const asn_TYPE_tag2member_t asn_MAP_SIGNED_16P1_tag2el_3[] = { |
Lev Walkin | 4062b01 | 2013-10-11 14:29:38 -0700 | [diff] [blame] | 188 | { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* signed */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 189 | }; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 190 | asn_SEQUENCE_specifics_t asn_SPC_SIGNED_16P1_specs_3 = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 191 | sizeof(struct SIGNED_16P1), |
| 192 | offsetof(struct SIGNED_16P1, _asn_ctx), |
Lev Walkin | e391708 | 2017-08-23 10:29:38 -0700 | [diff] [blame] | 193 | .tag2el = asn_MAP_SIGNED_16P1_tag2el_3, |
| 194 | .tag2el_count = 1, /* Count of tags in the map */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 195 | 0, 0, 0, /* Optional elements (not needed) */ |
| 196 | -1, /* Start extensions */ |
| 197 | -1 /* Stop extensions */ |
| 198 | }; |
| 199 | asn_TYPE_descriptor_t asn_DEF_SIGNED_16P1 = { |
| 200 | "SIGNED", |
| 201 | "SIGNED", |
| 202 | SEQUENCE_free, |
| 203 | SEQUENCE_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 204 | SEQUENCE_compare, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 205 | SEQUENCE_constraint, |
| 206 | SEQUENCE_decode_ber, |
| 207 | SEQUENCE_encode_der, |
| 208 | SEQUENCE_decode_xer, |
| 209 | SEQUENCE_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 210 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 211 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 212 | 0, /* Use generic outmost tag fetcher */ |
| 213 | asn_DEF_SIGNED_16P1_tags_3, |
| 214 | sizeof(asn_DEF_SIGNED_16P1_tags_3) |
| 215 | /sizeof(asn_DEF_SIGNED_16P1_tags_3[0]), /* 1 */ |
| 216 | asn_DEF_SIGNED_16P1_tags_3, /* Same as above */ |
| 217 | sizeof(asn_DEF_SIGNED_16P1_tags_3) |
| 218 | /sizeof(asn_DEF_SIGNED_16P1_tags_3[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 219 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 220 | 0, /* No PER visible constraints */ |
| 221 | asn_MBR_SIGNED_16P1_3, |
| 222 | 1, /* Elements count */ |
| 223 | &asn_SPC_SIGNED_16P1_specs_3 /* Additional specs */ |
| 224 | }; |
| 225 | |
| 226 | |
| 227 | /*** <<< INCLUDES [SignedREAL] >>> ***/ |
| 228 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 229 | #include "SIGNED.h" |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 230 | |
| 231 | /*** <<< TYPE-DECLS [SignedREAL] >>> ***/ |
| 232 | |
| 233 | typedef SIGNED_16P0_t SignedREAL_t; |
| 234 | |
| 235 | /*** <<< FUNC-DECLS [SignedREAL] >>> ***/ |
| 236 | |
| 237 | extern asn_TYPE_descriptor_t asn_DEF_SignedREAL; |
| 238 | asn_struct_free_f SignedREAL_free; |
| 239 | asn_struct_print_f SignedREAL_print; |
| 240 | asn_constr_check_f SignedREAL_constraint; |
| 241 | ber_type_decoder_f SignedREAL_decode_ber; |
| 242 | der_type_encoder_f SignedREAL_encode_der; |
| 243 | xer_type_decoder_f SignedREAL_decode_xer; |
| 244 | xer_type_encoder_f SignedREAL_encode_xer; |
| 245 | |
| 246 | /*** <<< CODE [SignedREAL] >>> ***/ |
| 247 | |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 248 | /* |
| 249 | * This type is implemented using SIGNED_16P0, |
| 250 | * so here we adjust the DEF accordingly. |
| 251 | */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 252 | |
| 253 | /*** <<< STAT-DEFS [SignedREAL] >>> ***/ |
| 254 | |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 255 | static const ber_tlv_tag_t asn_DEF_SignedREAL_tags_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 256 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 257 | }; |
| 258 | asn_TYPE_descriptor_t asn_DEF_SignedREAL = { |
| 259 | "SignedREAL", |
| 260 | "SignedREAL", |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 261 | SEQUENCE_free, |
| 262 | SEQUENCE_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 263 | SEQUENCE_compare, |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 264 | SEQUENCE_constraint, |
| 265 | SEQUENCE_decode_ber, |
| 266 | SEQUENCE_encode_der, |
| 267 | SEQUENCE_decode_xer, |
| 268 | SEQUENCE_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 269 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 270 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 271 | 0, /* Use generic outmost tag fetcher */ |
| 272 | asn_DEF_SignedREAL_tags_1, |
| 273 | sizeof(asn_DEF_SignedREAL_tags_1) |
| 274 | /sizeof(asn_DEF_SignedREAL_tags_1[0]), /* 1 */ |
| 275 | asn_DEF_SignedREAL_tags_1, /* Same as above */ |
| 276 | sizeof(asn_DEF_SignedREAL_tags_1) |
| 277 | /sizeof(asn_DEF_SignedREAL_tags_1[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 278 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 279 | 0, /* No PER visible constraints */ |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 280 | asn_MBR_SIGNED_16P0_1, |
| 281 | 1, /* Elements count */ |
| 282 | &asn_SPC_SIGNED_16P0_specs_1 /* Additional specs */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 283 | }; |
| 284 | |
| 285 | |
| 286 | /*** <<< INCLUDES [SignedSET] >>> ***/ |
| 287 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 288 | #include "SIGNED.h" |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 289 | |
| 290 | /*** <<< TYPE-DECLS [SignedSET] >>> ***/ |
| 291 | |
| 292 | typedef SIGNED_16P1_t SignedSET_t; |
| 293 | |
| 294 | /*** <<< FUNC-DECLS [SignedSET] >>> ***/ |
| 295 | |
| 296 | extern asn_TYPE_descriptor_t asn_DEF_SignedSET; |
| 297 | asn_struct_free_f SignedSET_free; |
| 298 | asn_struct_print_f SignedSET_print; |
| 299 | asn_constr_check_f SignedSET_constraint; |
| 300 | ber_type_decoder_f SignedSET_decode_ber; |
| 301 | der_type_encoder_f SignedSET_encode_der; |
| 302 | xer_type_decoder_f SignedSET_decode_xer; |
| 303 | xer_type_encoder_f SignedSET_encode_xer; |
| 304 | |
| 305 | /*** <<< CODE [SignedSET] >>> ***/ |
| 306 | |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 307 | /* |
| 308 | * This type is implemented using SIGNED_16P1, |
| 309 | * so here we adjust the DEF accordingly. |
| 310 | */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 311 | |
| 312 | /*** <<< STAT-DEFS [SignedSET] >>> ***/ |
| 313 | |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 314 | static const ber_tlv_tag_t asn_DEF_SignedSET_tags_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 315 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 316 | }; |
| 317 | asn_TYPE_descriptor_t asn_DEF_SignedSET = { |
| 318 | "SignedSET", |
| 319 | "SignedSET", |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 320 | SEQUENCE_free, |
| 321 | SEQUENCE_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 322 | SEQUENCE_compare, |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 323 | SEQUENCE_constraint, |
| 324 | SEQUENCE_decode_ber, |
| 325 | SEQUENCE_encode_der, |
| 326 | SEQUENCE_decode_xer, |
| 327 | SEQUENCE_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 328 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 329 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 330 | 0, /* Use generic outmost tag fetcher */ |
| 331 | asn_DEF_SignedSET_tags_1, |
| 332 | sizeof(asn_DEF_SignedSET_tags_1) |
| 333 | /sizeof(asn_DEF_SignedSET_tags_1[0]), /* 1 */ |
| 334 | asn_DEF_SignedSET_tags_1, /* Same as above */ |
| 335 | sizeof(asn_DEF_SignedSET_tags_1) |
| 336 | /sizeof(asn_DEF_SignedSET_tags_1[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 337 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 338 | 0, /* No PER visible constraints */ |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 339 | asn_MBR_SIGNED_16P1_3, |
| 340 | 1, /* Elements count */ |
| 341 | &asn_SPC_SIGNED_16P1_specs_3 /* Additional specs */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 342 | }; |
| 343 | |