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