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, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 40 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 41 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 42 | .default_value = 0, |
| 43 | .name = "" |
| 44 | }, |
| 45 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 46 | static const ber_tlv_tag_t asn_DEF_Collection_16P0_tags_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 47 | (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)) |
| 48 | }; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 49 | asn_SET_OF_specifics_t asn_SPC_Collection_16P0_specs_1 = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 50 | sizeof(struct Collection_16P0), |
| 51 | offsetof(struct Collection_16P0, _asn_ctx), |
| 52 | 0, /* XER encoding is XMLDelimitedItemList */ |
| 53 | }; |
| 54 | asn_TYPE_descriptor_t asn_DEF_Collection_16P0 = { |
| 55 | "Collection", |
| 56 | "Collection", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 57 | &asn_OP_SET_OF, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 58 | asn_DEF_Collection_16P0_tags_1, |
| 59 | sizeof(asn_DEF_Collection_16P0_tags_1) |
| 60 | /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */ |
| 61 | asn_DEF_Collection_16P0_tags_1, /* Same as above */ |
| 62 | sizeof(asn_DEF_Collection_16P0_tags_1) |
| 63 | /sizeof(asn_DEF_Collection_16P0_tags_1[0]), /* 1 */ |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 64 | { 0, 0, SET_OF_constraint }, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 65 | asn_MBR_Collection_16P0_1, |
| 66 | 1, /* Single element */ |
| 67 | &asn_SPC_Collection_16P0_specs_1 /* Additional specs */ |
| 68 | }; |
| 69 | |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 70 | asn_TYPE_member_t asn_MBR_Collection_16P1_3[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 71 | { ATF_POINTER, 0, 0, |
| 72 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)), |
| 73 | .tag_mode = 0, |
| 74 | .type = &asn_DEF_IA5String, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 75 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 76 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 77 | .default_value = 0, |
| 78 | .name = "" |
| 79 | }, |
| 80 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 81 | static const ber_tlv_tag_t asn_DEF_Collection_16P1_tags_3[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 82 | (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)) |
| 83 | }; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 84 | asn_SET_OF_specifics_t asn_SPC_Collection_16P1_specs_3 = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 85 | sizeof(struct Collection_16P1), |
| 86 | offsetof(struct Collection_16P1, _asn_ctx), |
| 87 | 0, /* XER encoding is XMLDelimitedItemList */ |
| 88 | }; |
| 89 | asn_TYPE_descriptor_t asn_DEF_Collection_16P1 = { |
| 90 | "Collection", |
| 91 | "Collection", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 92 | &asn_OP_SET_OF, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 93 | asn_DEF_Collection_16P1_tags_3, |
| 94 | sizeof(asn_DEF_Collection_16P1_tags_3) |
| 95 | /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */ |
| 96 | asn_DEF_Collection_16P1_tags_3, /* Same as above */ |
| 97 | sizeof(asn_DEF_Collection_16P1_tags_3) |
| 98 | /sizeof(asn_DEF_Collection_16P1_tags_3[0]), /* 1 */ |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 99 | { 0, 0, SET_OF_constraint }, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 100 | asn_MBR_Collection_16P1_3, |
| 101 | 1, /* Single element */ |
| 102 | &asn_SPC_Collection_16P1_specs_3 /* Additional specs */ |
| 103 | }; |
| 104 | |
| 105 | |
| 106 | /*** <<< INCLUDES [Bunch] >>> ***/ |
| 107 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 108 | #include "Collection.h" |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 109 | #include <constr_SEQUENCE.h> |
| 110 | |
| 111 | /*** <<< TYPE-DECLS [Bunch] >>> ***/ |
| 112 | |
| 113 | typedef struct Bunch { |
| 114 | Collection_16P0_t field_REAL; |
| 115 | Collection_16P1_t field_IA5String; |
| 116 | |
| 117 | /* Context for parsing across buffer boundaries */ |
| 118 | asn_struct_ctx_t _asn_ctx; |
| 119 | } Bunch_t; |
| 120 | |
| 121 | /*** <<< FUNC-DECLS [Bunch] >>> ***/ |
| 122 | |
| 123 | extern asn_TYPE_descriptor_t asn_DEF_Bunch; |
| 124 | |
| 125 | /*** <<< STAT-DEFS [Bunch] >>> ***/ |
| 126 | |
| 127 | static asn_TYPE_member_t asn_MBR_Bunch_1[] = { |
| 128 | { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_REAL), |
| 129 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), |
| 130 | .tag_mode = 0, |
| 131 | .type = &asn_DEF_Collection_16P0, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 132 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 133 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 134 | .default_value = 0, |
| 135 | .name = "field-REAL" |
| 136 | }, |
| 137 | { ATF_NOFLAGS, 0, offsetof(struct Bunch, field_IA5String), |
| 138 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), |
| 139 | .tag_mode = 0, |
| 140 | .type = &asn_DEF_Collection_16P1, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 141 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 142 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 143 | .default_value = 0, |
| 144 | .name = "field-IA5String" |
| 145 | }, |
| 146 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 147 | static const ber_tlv_tag_t asn_DEF_Bunch_tags_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 148 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 149 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 150 | static const asn_TYPE_tag2member_t asn_MAP_Bunch_tag2el_1[] = { |
Lev Walkin | 4062b01 | 2013-10-11 14:29:38 -0700 | [diff] [blame] | 151 | { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 1 }, /* field-REAL */ |
| 152 | { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, -1, 0 } /* field-IA5String */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 153 | }; |
| 154 | static asn_SEQUENCE_specifics_t asn_SPC_Bunch_specs_1 = { |
| 155 | sizeof(struct Bunch), |
| 156 | offsetof(struct Bunch, _asn_ctx), |
Lev Walkin | e391708 | 2017-08-23 10:29:38 -0700 | [diff] [blame] | 157 | .tag2el = asn_MAP_Bunch_tag2el_1, |
| 158 | .tag2el_count = 2, /* Count of tags in the map */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 159 | 0, 0, 0, /* Optional elements (not needed) */ |
| 160 | -1, /* Start extensions */ |
| 161 | -1 /* Stop extensions */ |
| 162 | }; |
| 163 | asn_TYPE_descriptor_t asn_DEF_Bunch = { |
| 164 | "Bunch", |
| 165 | "Bunch", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 166 | &asn_OP_SEQUENCE, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 167 | asn_DEF_Bunch_tags_1, |
| 168 | sizeof(asn_DEF_Bunch_tags_1) |
| 169 | /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */ |
| 170 | asn_DEF_Bunch_tags_1, /* Same as above */ |
| 171 | sizeof(asn_DEF_Bunch_tags_1) |
| 172 | /sizeof(asn_DEF_Bunch_tags_1[0]), /* 1 */ |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 173 | { 0, 0, SEQUENCE_constraint }, |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 174 | asn_MBR_Bunch_1, |
| 175 | 2, /* Elements count */ |
| 176 | &asn_SPC_Bunch_specs_1 /* Additional specs */ |
| 177 | }; |
| 178 | |