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