/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "ASN1C-UsefulInformationObjectClasses" * found in "/home/pespin/dev/sysmocom/build/new/out/share/asn1c/standard-modules/ASN1C-UsefulInformationObjectClasses.asn1" * `asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example` */ #include #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) static asn_per_constraints_t asn_PER_type_SBcAP_encoding_constr_5 CC_NOTUSED = { { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ static asn_TYPE_member_t asn_MBR_SBcAP_encoding_5[] = { { ATF_NOFLAGS, 0, offsetof(struct SBcAP_EXTERNAL__encoding, choice.single_ASN1_type), (ASN_TAG_CLASS_CONTEXT | (0 << 2)), +1, /* EXPLICIT tag at current level */ &asn_DEF_ANY, 0, { #if !defined(ASN_DISABLE_OER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ 0 }, 0, 0, /* No default value */ "single-ASN1-type" }, { ATF_NOFLAGS, 0, offsetof(struct SBcAP_EXTERNAL__encoding, choice.octet_aligned), (ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_OCTET_STRING, 0, { #if !defined(ASN_DISABLE_OER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ 0 }, 0, 0, /* No default value */ "octet-aligned" }, { ATF_NOFLAGS, 0, offsetof(struct SBcAP_EXTERNAL__encoding, choice.arbitrary), (ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_BIT_STRING, 0, { #if !defined(ASN_DISABLE_OER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ 0 }, 0, 0, /* No default value */ "arbitrary" }, }; static const asn_TYPE_tag2member_t asn_MAP_SBcAP_encoding_tag2el_5[] = { { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* single-ASN1-type */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* octet-aligned */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* arbitrary */ }; static asn_CHOICE_specifics_t asn_SPC_SBcAP_encoding_specs_5 = { sizeof(struct SBcAP_EXTERNAL__encoding), offsetof(struct SBcAP_EXTERNAL__encoding, _asn_ctx), offsetof(struct SBcAP_EXTERNAL__encoding, present), sizeof(((struct SBcAP_EXTERNAL__encoding *)0)->present), asn_MAP_SBcAP_encoding_tag2el_5, 3, /* Count of tags in the map */ 0, 0, -1 /* Extensions start */ }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_SBcAP_encoding_5 = { "encoding", "encoding", &asn_OP_CHOICE, 0, /* No effective tags (pointer) */ 0, /* No effective tags (count) */ 0, /* No tags (pointer) */ 0, /* No tags (count) */ { #if !defined(ASN_DISABLE_OER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) &asn_PER_type_SBcAP_encoding_constr_5, #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ CHOICE_constraint }, asn_MBR_SBcAP_encoding_5, 3, /* Elements count */ &asn_SPC_SBcAP_encoding_specs_5 /* Additional specs */ }; static asn_TYPE_member_t asn_MBR_SBcAP_EXTERNAL_1[] = { { ATF_POINTER, 3, offsetof(struct SBcAP_EXTERNAL, direct_reference), (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 0, &asn_DEF_OBJECT_IDENTIFIER, 0, { #if !defined(ASN_DISABLE_OER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ 0 }, 0, 0, /* No default value */ "direct-reference" }, { ATF_POINTER, 2, offsetof(struct SBcAP_EXTERNAL, indirect_reference), (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, &asn_DEF_NativeInteger, 0, { #if !defined(ASN_DISABLE_OER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ 0 }, 0, 0, /* No default value */ "indirect-reference" }, { ATF_POINTER, 1, offsetof(struct SBcAP_EXTERNAL, data_value_descriptor), (ASN_TAG_CLASS_UNIVERSAL | (7 << 2)), 0, &asn_DEF_ObjectDescriptor, 0, { #if !defined(ASN_DISABLE_OER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ 0 }, 0, 0, /* No default value */ "data-value-descriptor" }, { ATF_NOFLAGS, 0, offsetof(struct SBcAP_EXTERNAL, encoding), -1 /* Ambiguous tag (CHOICE?) */, 0, &asn_DEF_SBcAP_encoding_5, 0, { #if !defined(ASN_DISABLE_OER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ 0 }, 0, 0, /* No default value */ "encoding" }, }; static const int asn_MAP_SBcAP_EXTERNAL_oms_1[] = { 0, 1, 2 }; static const ber_tlv_tag_t asn_DEF_SBcAP_EXTERNAL_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (8 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static const asn_TYPE_tag2member_t asn_MAP_SBcAP_EXTERNAL_tag2el_1[] = { { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* indirect-reference */ { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 0, 0, 0 }, /* direct-reference */ { (ASN_TAG_CLASS_UNIVERSAL | (7 << 2)), 2, 0, 0 }, /* data-value-descriptor */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 3, 0, 0 }, /* single-ASN1-type */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 3, 0, 0 }, /* octet-aligned */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 3, 0, 0 } /* arbitrary */ }; static asn_SEQUENCE_specifics_t asn_SPC_SBcAP_EXTERNAL_specs_1 = { sizeof(struct SBcAP_EXTERNAL), offsetof(struct SBcAP_EXTERNAL, _asn_ctx), asn_MAP_SBcAP_EXTERNAL_tag2el_1, 6, /* Count of tags in the map */ asn_MAP_SBcAP_EXTERNAL_oms_1, /* Optional members */ 3, 0, /* Root/Additions */ -1, /* First extension addition */ }; asn_TYPE_descriptor_t asn_DEF_SBcAP_EXTERNAL = { "EXTERNAL", "EXTERNAL", &asn_OP_SEQUENCE, asn_DEF_SBcAP_EXTERNAL_tags_1, sizeof(asn_DEF_SBcAP_EXTERNAL_tags_1) /sizeof(asn_DEF_SBcAP_EXTERNAL_tags_1[0]) - 1, /* 1 */ asn_DEF_SBcAP_EXTERNAL_tags_1, /* Same as above */ sizeof(asn_DEF_SBcAP_EXTERNAL_tags_1) /sizeof(asn_DEF_SBcAP_EXTERNAL_tags_1[0]), /* 2 */ { #if !defined(ASN_DISABLE_OER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) 0, #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ SEQUENCE_constraint }, asn_MBR_SBcAP_EXTERNAL_1, 4, /* Elements count */ &asn_SPC_SBcAP_EXTERNAL_specs_1 /* Additional specs */ };