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