Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 1 | |
| 2 | /*** <<< INCLUDES [Programming] >>> ***/ |
| 3 | |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 4 | #include <asn_SEQUENCE_OF.h> |
| 5 | #include <constr_SEQUENCE_OF.h> |
| 6 | |
Lev Walkin | c828571 | 2005-03-04 22:18:20 +0000 | [diff] [blame] | 7 | /*** <<< FWD-DECLS [Programming] >>> ***/ |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 8 | |
Lev Walkin | bf56d54 | 2005-03-04 23:50:56 +0000 | [diff] [blame] | 9 | struct Fault; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 10 | |
| 11 | /*** <<< TYPE-DECLS [Programming] >>> ***/ |
| 12 | |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 13 | typedef struct Programming { |
Lev Walkin | c828571 | 2005-03-04 22:18:20 +0000 | [diff] [blame] | 14 | A_SEQUENCE_OF(struct Fault) list; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 15 | |
| 16 | /* Context for parsing across buffer boundaries */ |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 17 | asn_struct_ctx_t _asn_ctx; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 18 | } Programming_t; |
| 19 | |
Lev Walkin | c828571 | 2005-03-04 22:18:20 +0000 | [diff] [blame] | 20 | /*** <<< FUNC-DECLS [Programming] >>> ***/ |
| 21 | |
| 22 | extern asn_TYPE_descriptor_t asn_DEF_Programming; |
| 23 | |
| 24 | /*** <<< POST-INCLUDE [Programming] >>> ***/ |
| 25 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 26 | #include "Fault.h" |
Lev Walkin | c828571 | 2005-03-04 22:18:20 +0000 | [diff] [blame] | 27 | |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 28 | /*** <<< STAT-DEFS [Programming] >>> ***/ |
| 29 | |
Lev Walkin | e0272aa | 2005-03-04 11:26:08 +0000 | [diff] [blame] | 30 | static asn_TYPE_member_t asn_MBR_Programming_1[] = { |
Lev Walkin | 8eb4b57 | 2005-08-16 16:57:17 +0000 | [diff] [blame] | 31 | { ATF_POINTER, 0, 0, |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 32 | .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 33 | .tag_mode = -1, /* IMPLICIT tag at current level */ |
Lev Walkin | ae7bf3f | 2005-08-29 10:31:14 +0000 | [diff] [blame] | 34 | .type = &asn_DEF_Fault, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 35 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 36 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame] | 37 | 0, 0, /* No default value */ |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 38 | .name = "" |
| 39 | }, |
| 40 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 41 | static const ber_tlv_tag_t asn_DEF_Programming_tags_1[] = { |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 42 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 43 | }; |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 44 | static asn_SET_OF_specifics_t asn_SPC_Programming_specs_1 = { |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 45 | sizeof(struct Programming), |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 46 | offsetof(struct Programming, _asn_ctx), |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 47 | 0, /* XER encoding is XMLDelimitedItemList */ |
| 48 | }; |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 49 | asn_TYPE_descriptor_t asn_DEF_Programming = { |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 50 | "Programming", |
Lev Walkin | dc06f6b | 2004-10-20 15:50:55 +0000 | [diff] [blame] | 51 | "Programming", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 52 | &asn_OP_SEQUENCE_OF, |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 53 | asn_DEF_Programming_tags_1, |
| 54 | sizeof(asn_DEF_Programming_tags_1) |
| 55 | /sizeof(asn_DEF_Programming_tags_1[0]), /* 1 */ |
| 56 | asn_DEF_Programming_tags_1, /* Same as above */ |
| 57 | sizeof(asn_DEF_Programming_tags_1) |
| 58 | /sizeof(asn_DEF_Programming_tags_1[0]), /* 1 */ |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 59 | { 0, 0, SEQUENCE_OF_constraint }, |
Lev Walkin | e0272aa | 2005-03-04 11:26:08 +0000 | [diff] [blame] | 60 | asn_MBR_Programming_1, |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 61 | 1, /* Single element */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 62 | &asn_SPC_Programming_specs_1 /* Additional specs */ |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 63 | }; |
| 64 | |
| 65 | |
| 66 | /*** <<< INCLUDES [Fault] >>> ***/ |
| 67 | |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 68 | #include <asn_SET_OF.h> |
| 69 | #include <constr_SET_OF.h> |
| 70 | |
Lev Walkin | c828571 | 2005-03-04 22:18:20 +0000 | [diff] [blame] | 71 | /*** <<< FWD-DECLS [Fault] >>> ***/ |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 72 | |
Lev Walkin | bf56d54 | 2005-03-04 23:50:56 +0000 | [diff] [blame] | 73 | struct Error; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 74 | |
| 75 | /*** <<< TYPE-DECLS [Fault] >>> ***/ |
| 76 | |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 77 | typedef struct Fault { |
Lev Walkin | c828571 | 2005-03-04 22:18:20 +0000 | [diff] [blame] | 78 | A_SET_OF(struct Error) list; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 79 | |
| 80 | /* Context for parsing across buffer boundaries */ |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 81 | asn_struct_ctx_t _asn_ctx; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 82 | } Fault_t; |
| 83 | |
Lev Walkin | c828571 | 2005-03-04 22:18:20 +0000 | [diff] [blame] | 84 | /*** <<< FUNC-DECLS [Fault] >>> ***/ |
| 85 | |
| 86 | extern asn_TYPE_descriptor_t asn_DEF_Fault; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 87 | extern asn_SET_OF_specifics_t asn_SPC_Fault_specs_1; |
| 88 | extern asn_TYPE_member_t asn_MBR_Fault_1[1]; |
Lev Walkin | c828571 | 2005-03-04 22:18:20 +0000 | [diff] [blame] | 89 | |
| 90 | /*** <<< POST-INCLUDE [Fault] >>> ***/ |
| 91 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 92 | #include "Error.h" |
Lev Walkin | c828571 | 2005-03-04 22:18:20 +0000 | [diff] [blame] | 93 | |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 94 | /*** <<< STAT-DEFS [Fault] >>> ***/ |
| 95 | |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 96 | asn_TYPE_member_t asn_MBR_Fault_1[] = { |
Lev Walkin | 8eb4b57 | 2005-08-16 16:57:17 +0000 | [diff] [blame] | 97 | { ATF_POINTER, 0, 0, |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 98 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 99 | .tag_mode = 0, |
Lev Walkin | ae7bf3f | 2005-08-29 10:31:14 +0000 | [diff] [blame] | 100 | .type = &asn_DEF_Error, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 101 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 102 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame] | 103 | 0, 0, /* No default value */ |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 104 | .name = "" |
| 105 | }, |
| 106 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 107 | static const ber_tlv_tag_t asn_DEF_Fault_tags_1[] = { |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 108 | (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)) |
| 109 | }; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 110 | asn_SET_OF_specifics_t asn_SPC_Fault_specs_1 = { |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 111 | sizeof(struct Fault), |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 112 | offsetof(struct Fault, _asn_ctx), |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 113 | 0, /* XER encoding is XMLDelimitedItemList */ |
| 114 | }; |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 115 | asn_TYPE_descriptor_t asn_DEF_Fault = { |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 116 | "Fault", |
Lev Walkin | dc06f6b | 2004-10-20 15:50:55 +0000 | [diff] [blame] | 117 | "Fault", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 118 | &asn_OP_SET_OF, |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 119 | asn_DEF_Fault_tags_1, |
| 120 | sizeof(asn_DEF_Fault_tags_1) |
| 121 | /sizeof(asn_DEF_Fault_tags_1[0]), /* 1 */ |
| 122 | asn_DEF_Fault_tags_1, /* Same as above */ |
| 123 | sizeof(asn_DEF_Fault_tags_1) |
| 124 | /sizeof(asn_DEF_Fault_tags_1[0]), /* 1 */ |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 125 | { 0, 0, SET_OF_constraint }, |
Lev Walkin | e0272aa | 2005-03-04 11:26:08 +0000 | [diff] [blame] | 126 | asn_MBR_Fault_1, |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 127 | 1, /* Single element */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 128 | &asn_SPC_Fault_specs_1 /* Additional specs */ |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 129 | }; |
| 130 | |
| 131 | |
| 132 | /*** <<< INCLUDES [Error] >>> ***/ |
| 133 | |
| 134 | #include <constr_SEQUENCE.h> |
| 135 | |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 136 | /*** <<< TYPE-DECLS [Error] >>> ***/ |
| 137 | |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 138 | typedef struct Error { |
| 139 | /* |
| 140 | * This type is extensible, |
| 141 | * possible extensions are below. |
| 142 | */ |
| 143 | |
| 144 | /* Context for parsing across buffer boundaries */ |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 145 | asn_struct_ctx_t _asn_ctx; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 146 | } Error_t; |
| 147 | |
Lev Walkin | c828571 | 2005-03-04 22:18:20 +0000 | [diff] [blame] | 148 | /*** <<< FUNC-DECLS [Error] >>> ***/ |
| 149 | |
| 150 | extern asn_TYPE_descriptor_t asn_DEF_Error; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 151 | extern asn_SEQUENCE_specifics_t asn_SPC_Error_specs_1; |
Lev Walkin | c828571 | 2005-03-04 22:18:20 +0000 | [diff] [blame] | 152 | |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 153 | /*** <<< STAT-DEFS [Error] >>> ***/ |
| 154 | |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 155 | static const ber_tlv_tag_t asn_DEF_Error_tags_1[] = { |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 156 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 157 | }; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 158 | asn_SEQUENCE_specifics_t asn_SPC_Error_specs_1 = { |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 159 | sizeof(struct Error), |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 160 | offsetof(struct Error, _asn_ctx), |
Lev Walkin | b3ee6a6 | 2005-05-27 21:58:41 +0000 | [diff] [blame] | 161 | 0, /* No top level tags */ |
| 162 | 0, /* No tags in the map */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 163 | 0, 0, 0, /* Optional elements (not needed) */ |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 164 | -1, /* Start extensions */ |
| 165 | -1 /* Stop extensions */ |
| 166 | }; |
Lev Walkin | dfae975 | 2004-09-29 13:19:37 +0000 | [diff] [blame] | 167 | asn_TYPE_descriptor_t asn_DEF_Error = { |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 168 | "Error", |
Lev Walkin | dc06f6b | 2004-10-20 15:50:55 +0000 | [diff] [blame] | 169 | "Error", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 170 | &asn_OP_SEQUENCE, |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 171 | asn_DEF_Error_tags_1, |
| 172 | sizeof(asn_DEF_Error_tags_1) |
| 173 | /sizeof(asn_DEF_Error_tags_1[0]), /* 1 */ |
| 174 | asn_DEF_Error_tags_1, /* Same as above */ |
| 175 | sizeof(asn_DEF_Error_tags_1) |
| 176 | /sizeof(asn_DEF_Error_tags_1[0]), /* 1 */ |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 177 | { 0, 0, SEQUENCE_constraint }, |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 178 | 0, 0, /* No members */ |
Lev Walkin | 59b176e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 179 | &asn_SPC_Error_specs_1 /* Additional specs */ |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 180 | }; |
| 181 | |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 182 | |
| 183 | /*** <<< INCLUDES [SeqWithMandatory] >>> ***/ |
| 184 | |
| 185 | #include <UTF8String.h> |
| 186 | #include <asn_SEQUENCE_OF.h> |
| 187 | #include <constr_SEQUENCE_OF.h> |
| 188 | #include <constr_SEQUENCE.h> |
| 189 | |
| 190 | /*** <<< FWD-DECLS [SeqWithMandatory] >>> ***/ |
| 191 | |
| 192 | struct Error; |
| 193 | |
| 194 | /*** <<< TYPE-DECLS [SeqWithMandatory] >>> ***/ |
| 195 | |
| 196 | typedef struct SeqWithMandatory { |
| 197 | UTF8String_t someString; |
| 198 | struct seqOfMan { |
| 199 | A_SEQUENCE_OF(struct Error) list; |
| 200 | |
| 201 | /* Context for parsing across buffer boundaries */ |
| 202 | asn_struct_ctx_t _asn_ctx; |
| 203 | } seqOfMan; |
| 204 | |
| 205 | /* Context for parsing across buffer boundaries */ |
| 206 | asn_struct_ctx_t _asn_ctx; |
| 207 | } SeqWithMandatory_t; |
| 208 | |
| 209 | /*** <<< FUNC-DECLS [SeqWithMandatory] >>> ***/ |
| 210 | |
| 211 | extern asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory; |
| 212 | |
| 213 | /*** <<< POST-INCLUDE [SeqWithMandatory] >>> ***/ |
| 214 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 215 | #include "Error.h" |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 216 | |
| 217 | /*** <<< STAT-DEFS [SeqWithMandatory] >>> ***/ |
| 218 | |
| 219 | static asn_TYPE_member_t asn_MBR_seqOfMan_3[] = { |
| 220 | { ATF_POINTER, 0, 0, |
| 221 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 222 | .tag_mode = 0, |
| 223 | .type = &asn_DEF_Error, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 224 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 225 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame] | 226 | 0, 0, /* No default value */ |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 227 | .name = "" |
| 228 | }, |
| 229 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 230 | static const ber_tlv_tag_t asn_DEF_seqOfMan_tags_3[] = { |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 231 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 232 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 233 | }; |
| 234 | static asn_SET_OF_specifics_t asn_SPC_seqOfMan_specs_3 = { |
| 235 | sizeof(struct seqOfMan), |
| 236 | offsetof(struct seqOfMan, _asn_ctx), |
| 237 | 0, /* XER encoding is XMLDelimitedItemList */ |
| 238 | }; |
| 239 | static /* Use -fall-defs-global to expose */ |
| 240 | asn_TYPE_descriptor_t asn_DEF_seqOfMan_3 = { |
| 241 | "seqOfMan", |
| 242 | "seqOfMan", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 243 | &asn_OP_SEQUENCE_OF, |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 244 | asn_DEF_seqOfMan_tags_3, |
| 245 | sizeof(asn_DEF_seqOfMan_tags_3) |
| 246 | /sizeof(asn_DEF_seqOfMan_tags_3[0]), /* 2 */ |
| 247 | asn_DEF_seqOfMan_tags_3, /* Same as above */ |
| 248 | sizeof(asn_DEF_seqOfMan_tags_3) |
| 249 | /sizeof(asn_DEF_seqOfMan_tags_3[0]), /* 2 */ |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 250 | { 0, 0, SEQUENCE_OF_constraint }, |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 251 | asn_MBR_seqOfMan_3, |
| 252 | 1, /* Single element */ |
| 253 | &asn_SPC_seqOfMan_specs_3 /* Additional specs */ |
| 254 | }; |
| 255 | |
| 256 | static asn_TYPE_member_t asn_MBR_SeqWithMandatory_1[] = { |
| 257 | { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, someString), |
| 258 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), |
| 259 | .tag_mode = 0, |
| 260 | .type = &asn_DEF_UTF8String, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 261 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 262 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame] | 263 | 0, 0, /* No default value */ |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 264 | .name = "someString" |
| 265 | }, |
| 266 | { ATF_NOFLAGS, 0, offsetof(struct SeqWithMandatory, seqOfMan), |
| 267 | .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
Lev Walkin | 9ab21b8 | 2006-10-19 02:46:01 +0000 | [diff] [blame] | 268 | .tag_mode = 0, |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 269 | .type = &asn_DEF_seqOfMan_3, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 270 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 271 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame] | 272 | 0, 0, /* No default value */ |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 273 | .name = "seqOfMan" |
| 274 | }, |
| 275 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 276 | static const ber_tlv_tag_t asn_DEF_SeqWithMandatory_tags_1[] = { |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 277 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 278 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 279 | static const asn_TYPE_tag2member_t asn_MAP_SeqWithMandatory_tag2el_1[] = { |
Lev Walkin | 4062b01 | 2013-10-11 14:29:38 -0700 | [diff] [blame] | 280 | { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */ |
| 281 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfMan */ |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 282 | }; |
| 283 | static asn_SEQUENCE_specifics_t asn_SPC_SeqWithMandatory_specs_1 = { |
| 284 | sizeof(struct SeqWithMandatory), |
| 285 | offsetof(struct SeqWithMandatory, _asn_ctx), |
Lev Walkin | e391708 | 2017-08-23 10:29:38 -0700 | [diff] [blame] | 286 | .tag2el = asn_MAP_SeqWithMandatory_tag2el_1, |
| 287 | .tag2el_count = 2, /* Count of tags in the map */ |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 288 | 0, 0, 0, /* Optional elements (not needed) */ |
| 289 | -1, /* Start extensions */ |
| 290 | -1 /* Stop extensions */ |
| 291 | }; |
| 292 | asn_TYPE_descriptor_t asn_DEF_SeqWithMandatory = { |
| 293 | "SeqWithMandatory", |
| 294 | "SeqWithMandatory", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 295 | &asn_OP_SEQUENCE, |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 296 | asn_DEF_SeqWithMandatory_tags_1, |
| 297 | sizeof(asn_DEF_SeqWithMandatory_tags_1) |
| 298 | /sizeof(asn_DEF_SeqWithMandatory_tags_1[0]), /* 1 */ |
| 299 | asn_DEF_SeqWithMandatory_tags_1, /* Same as above */ |
| 300 | sizeof(asn_DEF_SeqWithMandatory_tags_1) |
| 301 | /sizeof(asn_DEF_SeqWithMandatory_tags_1[0]), /* 1 */ |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 302 | { 0, 0, SEQUENCE_constraint }, |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 303 | asn_MBR_SeqWithMandatory_1, |
| 304 | 2, /* Elements count */ |
| 305 | &asn_SPC_SeqWithMandatory_specs_1 /* Additional specs */ |
| 306 | }; |
| 307 | |
| 308 | |
| 309 | /*** <<< INCLUDES [SeqWithOptional] >>> ***/ |
| 310 | |
| 311 | #include <UTF8String.h> |
| 312 | #include <asn_SEQUENCE_OF.h> |
| 313 | #include <constr_SEQUENCE_OF.h> |
| 314 | #include <constr_SEQUENCE.h> |
| 315 | |
| 316 | /*** <<< FWD-DECLS [SeqWithOptional] >>> ***/ |
| 317 | |
| 318 | struct Error; |
| 319 | |
| 320 | /*** <<< TYPE-DECLS [SeqWithOptional] >>> ***/ |
| 321 | |
| 322 | typedef struct SeqWithOptional { |
| 323 | UTF8String_t someString; |
| 324 | struct seqOfOpt { |
| 325 | A_SEQUENCE_OF(struct Error) list; |
| 326 | |
| 327 | /* Context for parsing across buffer boundaries */ |
| 328 | asn_struct_ctx_t _asn_ctx; |
| 329 | } *seqOfOpt; |
| 330 | |
| 331 | /* Context for parsing across buffer boundaries */ |
| 332 | asn_struct_ctx_t _asn_ctx; |
| 333 | } SeqWithOptional_t; |
| 334 | |
| 335 | /*** <<< FUNC-DECLS [SeqWithOptional] >>> ***/ |
| 336 | |
| 337 | extern asn_TYPE_descriptor_t asn_DEF_SeqWithOptional; |
| 338 | |
| 339 | /*** <<< POST-INCLUDE [SeqWithOptional] >>> ***/ |
| 340 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 341 | #include "Error.h" |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 342 | |
| 343 | /*** <<< STAT-DEFS [SeqWithOptional] >>> ***/ |
| 344 | |
| 345 | static asn_TYPE_member_t asn_MBR_seqOfOpt_3[] = { |
| 346 | { ATF_POINTER, 0, 0, |
| 347 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 348 | .tag_mode = 0, |
| 349 | .type = &asn_DEF_Error, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 350 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 351 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame] | 352 | 0, 0, /* No default value */ |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 353 | .name = "" |
| 354 | }, |
| 355 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 356 | static const ber_tlv_tag_t asn_DEF_seqOfOpt_tags_3[] = { |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 357 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 358 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 359 | }; |
| 360 | static asn_SET_OF_specifics_t asn_SPC_seqOfOpt_specs_3 = { |
| 361 | sizeof(struct seqOfOpt), |
| 362 | offsetof(struct seqOfOpt, _asn_ctx), |
| 363 | 0, /* XER encoding is XMLDelimitedItemList */ |
| 364 | }; |
| 365 | static /* Use -fall-defs-global to expose */ |
| 366 | asn_TYPE_descriptor_t asn_DEF_seqOfOpt_3 = { |
| 367 | "seqOfOpt", |
| 368 | "seqOfOpt", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 369 | &asn_OP_SEQUENCE_OF, |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 370 | asn_DEF_seqOfOpt_tags_3, |
| 371 | sizeof(asn_DEF_seqOfOpt_tags_3) |
| 372 | /sizeof(asn_DEF_seqOfOpt_tags_3[0]), /* 2 */ |
| 373 | asn_DEF_seqOfOpt_tags_3, /* Same as above */ |
| 374 | sizeof(asn_DEF_seqOfOpt_tags_3) |
| 375 | /sizeof(asn_DEF_seqOfOpt_tags_3[0]), /* 2 */ |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 376 | { 0, 0, SEQUENCE_OF_constraint }, |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 377 | asn_MBR_seqOfOpt_3, |
| 378 | 1, /* Single element */ |
| 379 | &asn_SPC_seqOfOpt_specs_3 /* Additional specs */ |
| 380 | }; |
| 381 | |
| 382 | static asn_TYPE_member_t asn_MBR_SeqWithOptional_1[] = { |
| 383 | { ATF_NOFLAGS, 0, offsetof(struct SeqWithOptional, someString), |
| 384 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), |
| 385 | .tag_mode = 0, |
| 386 | .type = &asn_DEF_UTF8String, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 387 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 388 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame] | 389 | 0, 0, /* No default value */ |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 390 | .name = "someString" |
| 391 | }, |
| 392 | { ATF_POINTER, 1, offsetof(struct SeqWithOptional, seqOfOpt), |
| 393 | .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
Lev Walkin | 9ab21b8 | 2006-10-19 02:46:01 +0000 | [diff] [blame] | 394 | .tag_mode = 0, |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 395 | .type = &asn_DEF_seqOfOpt_3, |
Lev Walkin | 67a3012 | 2017-08-10 05:48:54 -0700 | [diff] [blame] | 396 | .type_selector = 0, |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 397 | { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame] | 398 | 0, 0, /* No default value */ |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 399 | .name = "seqOfOpt" |
| 400 | }, |
| 401 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 402 | static const ber_tlv_tag_t asn_DEF_SeqWithOptional_tags_1[] = { |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 403 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 404 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 405 | static const asn_TYPE_tag2member_t asn_MAP_SeqWithOptional_tag2el_1[] = { |
Lev Walkin | 4062b01 | 2013-10-11 14:29:38 -0700 | [diff] [blame] | 406 | { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */ |
| 407 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfOpt */ |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 408 | }; |
| 409 | static asn_SEQUENCE_specifics_t asn_SPC_SeqWithOptional_specs_1 = { |
| 410 | sizeof(struct SeqWithOptional), |
| 411 | offsetof(struct SeqWithOptional, _asn_ctx), |
Lev Walkin | e391708 | 2017-08-23 10:29:38 -0700 | [diff] [blame] | 412 | .tag2el = asn_MAP_SeqWithOptional_tag2el_1, |
| 413 | .tag2el_count = 2, /* Count of tags in the map */ |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 414 | 0, 0, 0, /* Optional elements (not needed) */ |
| 415 | -1, /* Start extensions */ |
| 416 | -1 /* Stop extensions */ |
| 417 | }; |
| 418 | asn_TYPE_descriptor_t asn_DEF_SeqWithOptional = { |
| 419 | "SeqWithOptional", |
| 420 | "SeqWithOptional", |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 421 | &asn_OP_SEQUENCE, |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 422 | asn_DEF_SeqWithOptional_tags_1, |
| 423 | sizeof(asn_DEF_SeqWithOptional_tags_1) |
| 424 | /sizeof(asn_DEF_SeqWithOptional_tags_1[0]), /* 1 */ |
| 425 | asn_DEF_SeqWithOptional_tags_1, /* Same as above */ |
| 426 | sizeof(asn_DEF_SeqWithOptional_tags_1) |
| 427 | /sizeof(asn_DEF_SeqWithOptional_tags_1[0]), /* 1 */ |
Lev Walkin | 0bfea56 | 2017-09-29 23:16:48 -0700 | [diff] [blame] | 428 | { 0, 0, SEQUENCE_constraint }, |
Lev Walkin | 1eded35 | 2006-07-13 11:19:01 +0000 | [diff] [blame] | 429 | asn_MBR_SeqWithOptional_1, |
| 430 | 2, /* Elements count */ |
| 431 | &asn_SPC_SeqWithOptional_specs_1 /* Additional specs */ |
| 432 | }; |
| 433 | |