Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 1 | |
| 2 | /*** <<< INCLUDES [Collection] >>> ***/ |
| 3 | |
| 4 | #include <REAL.h> |
| 5 | #include <asn_SET_OF.h> |
| 6 | #include <constr_SET_OF.h> |
| 7 | #include <IA5String.h> |
| 8 | |
| 9 | /*** <<< TYPE-DECLS [Collection] >>> ***/ |
| 10 | |
| 11 | typedef struct Collection_16P0 { |
| 12 | A_SET_OF(REAL_t) list; |
| 13 | |
| 14 | /* Context for parsing across buffer boundaries */ |
| 15 | asn_struct_ctx_t _asn_ctx; |
| 16 | } Collection_16P0_t; |
| 17 | typedef struct Collection_16P1 { |
| 18 | A_SET_OF(IA5String_t) list; |
| 19 | |
| 20 | /* Context for parsing across buffer boundaries */ |
| 21 | asn_struct_ctx_t _asn_ctx; |
| 22 | } Collection_16P1_t; |
| 23 | |
| 24 | /*** <<< FUNC-DECLS [Collection] >>> ***/ |
| 25 | |
| 26 | extern asn_TYPE_descriptor_t asn_DEF_Collection_16P0; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 27 | extern asn_SET_OF_specifics_t asn_SPC_Collection_16P0_specs_1; |
| 28 | extern asn_TYPE_member_t asn_MBR_Collection_16P0_1[1]; |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 29 | extern asn_TYPE_descriptor_t asn_DEF_Collection_16P1; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 30 | extern asn_SET_OF_specifics_t asn_SPC_Collection_16P1_specs_3; |
| 31 | extern asn_TYPE_member_t asn_MBR_Collection_16P1_3[1]; |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 32 | |
| 33 | /*** <<< STAT-DEFS [Collection] >>> ***/ |
| 34 | |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 35 | asn_TYPE_member_t asn_MBR_Collection_16P0_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 36 | { ATF_POINTER, 0, 0, |
| 37 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), |
| 38 | .tag_mode = 0, |
| 39 | .type = &asn_DEF_REAL, |
| 40 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 41 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 42 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 43 | .default_value = 0, |
| 44 | .name = "" |
| 45 | }, |
| 46 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 47 | static const ber_tlv_tag_t asn_DEF_Collection_16P0_tags_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 48 | (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)) |
| 49 | }; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 50 | asn_SET_OF_specifics_t asn_SPC_Collection_16P0_specs_1 = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 51 | sizeof(struct Collection_16P0), |
| 52 | offsetof(struct Collection_16P0, _asn_ctx), |
| 53 | 0, /* XER encoding is XMLDelimitedItemList */ |
| 54 | }; |
| 55 | asn_TYPE_descriptor_t asn_DEF_Collection_16P0 = { |
| 56 | "Collection", |
| 57 | "Collection", |
| 58 | SET_OF_free, |
| 59 | SET_OF_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 60 | SET_OF_compare, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 61 | SET_OF_constraint, |
| 62 | SET_OF_decode_ber, |
| 63 | SET_OF_encode_der, |
| 64 | SET_OF_decode_xer, |
| 65 | SET_OF_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 66 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 67 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 68 | 0, /* Use generic outmost tag fetcher */ |
| 69 | asn_DEF_Collection_16P0_tags_1, |
| 70 | sizeof(asn_DEF_Collection_16P0_tags_1) |
| 71 | /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */ |
| 72 | asn_DEF_Collection_16P0_tags_1, /* Same as above */ |
| 73 | sizeof(asn_DEF_Collection_16P0_tags_1) |
| 74 | /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 75 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 76 | 0, /* No PER visible constraints */ |
| 77 | asn_MBR_Collection_16P0_1, |
| 78 | 1, /* Single element */ |
| 79 | &asn_SPC_Collection_16P0_specs_1 /* Additional specs */ |
| 80 | }; |
| 81 | |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 82 | asn_TYPE_member_t asn_MBR_Collection_16P1_3[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 83 | { ATF_POINTER, 0, 0, |
| 84 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)), |
| 85 | .tag_mode = 0, |
| 86 | .type = &asn_DEF_IA5String, |
| 87 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 88 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 89 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 90 | .default_value = 0, |
| 91 | .name = "" |
| 92 | }, |
| 93 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 94 | static const ber_tlv_tag_t asn_DEF_Collection_16P1_tags_3[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 95 | (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)) |
| 96 | }; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 97 | asn_SET_OF_specifics_t asn_SPC_Collection_16P1_specs_3 = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 98 | sizeof(struct Collection_16P1), |
| 99 | offsetof(struct Collection_16P1, _asn_ctx), |
| 100 | 0, /* XER encoding is XMLDelimitedItemList */ |
| 101 | }; |
| 102 | asn_TYPE_descriptor_t asn_DEF_Collection_16P1 = { |
| 103 | "Collection", |
| 104 | "Collection", |
| 105 | SET_OF_free, |
| 106 | SET_OF_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 107 | SET_OF_compare, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 108 | SET_OF_constraint, |
| 109 | SET_OF_decode_ber, |
| 110 | SET_OF_encode_der, |
| 111 | SET_OF_decode_xer, |
| 112 | SET_OF_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 113 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 114 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 115 | 0, /* Use generic outmost tag fetcher */ |
| 116 | asn_DEF_Collection_16P1_tags_3, |
| 117 | sizeof(asn_DEF_Collection_16P1_tags_3) |
| 118 | /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */ |
| 119 | asn_DEF_Collection_16P1_tags_3, /* Same as above */ |
| 120 | sizeof(asn_DEF_Collection_16P1_tags_3) |
| 121 | /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 122 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 123 | 0, /* No PER visible constraints */ |
| 124 | asn_MBR_Collection_16P1_3, |
| 125 | 1, /* Single element */ |
| 126 | &asn_SPC_Collection_16P1_specs_3 /* Additional specs */ |
| 127 | }; |
| 128 | |
| 129 | |
| 130 | /*** <<< INCLUDES [Bunch] >>> ***/ |
| 131 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 132 | #include "Collection.h" |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 133 | #include <constr_SEQUENCE.h> |
| 134 | |
| 135 | /*** <<< TYPE-DECLS [Bunch] >>> ***/ |
| 136 | |
| 137 | typedef struct Bunch { |
| 138 | Collection_16P0_t field_REAL; |
| 139 | Collection_16P1_t field_IA5String; |
| 140 | |
| 141 | /* Context for parsing across buffer boundaries */ |
| 142 | asn_struct_ctx_t _asn_ctx; |
| 143 | } Bunch_t; |
| 144 | |
| 145 | /*** <<< FUNC-DECLS [Bunch] >>> ***/ |
| 146 | |
| 147 | extern asn_TYPE_descriptor_t asn_DEF_Bunch; |
| 148 | |
| 149 | /*** <<< STAT-DEFS [Bunch] >>> ***/ |
| 150 | |
| 151 | static asn_TYPE_member_t asn_MBR_Bunch_1[] = { |
| 152 | { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_REAL), |
| 153 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), |
| 154 | .tag_mode = 0, |
| 155 | .type = &asn_DEF_Collection_16P0, |
| 156 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 157 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 158 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 159 | .default_value = 0, |
| 160 | .name = "field-REAL" |
| 161 | }, |
| 162 | { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_IA5String), |
| 163 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), |
| 164 | .tag_mode = 0, |
| 165 | .type = &asn_DEF_Collection_16P1, |
| 166 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 167 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 168 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 169 | .default_value = 0, |
| 170 | .name = "field-IA5String" |
| 171 | }, |
| 172 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 173 | static const ber_tlv_tag_t asn_DEF_Bunch_tags_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 174 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 175 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 176 | static const asn_TYPE_tag2member_t asn_MAP_Bunch_tag2el_1[] = { |
Lev Walkin | 4062b01 | 2013-10-11 14:29:38 -0700 | [diff] [blame] | 177 | { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 1 }, /* field-REAL */ |
| 178 | { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, -1, 0 } /* field-IA5String */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 179 | }; |
| 180 | static asn_SEQUENCE_specifics_t asn_SPC_Bunch_specs_1 = { |
| 181 | sizeof(struct Bunch), |
| 182 | offsetof(struct Bunch, _asn_ctx), |
| 183 | asn_MAP_Bunch_tag2el_1, |
| 184 | 2, /* Count of tags in the map */ |
| 185 | 0, 0, 0, /* Optional elements (not needed) */ |
| 186 | -1, /* Start extensions */ |
| 187 | -1 /* Stop extensions */ |
| 188 | }; |
| 189 | asn_TYPE_descriptor_t asn_DEF_Bunch = { |
| 190 | "Bunch", |
| 191 | "Bunch", |
| 192 | SEQUENCE_free, |
| 193 | SEQUENCE_print, |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 194 | SEQUENCE_compare, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 195 | SEQUENCE_constraint, |
| 196 | SEQUENCE_decode_ber, |
| 197 | SEQUENCE_encode_der, |
| 198 | SEQUENCE_decode_xer, |
| 199 | SEQUENCE_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 200 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 201 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 202 | 0, /* Use generic outmost tag fetcher */ |
| 203 | asn_DEF_Bunch_tags_1, |
| 204 | sizeof(asn_DEF_Bunch_tags_1) |
| 205 | /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */ |
| 206 | asn_DEF_Bunch_tags_1, /* Same as above */ |
| 207 | sizeof(asn_DEF_Bunch_tags_1) |
| 208 | /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 209 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 210 | 0, /* No PER visible constraints */ |
| 211 | asn_MBR_Bunch_1, |
| 212 | 2, /* Elements count */ |
| 213 | &asn_SPC_Bunch_specs_1 /* Additional specs */ |
| 214 | }; |
| 215 | |