/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "IEEE1609dot2BaseTypes" * found in "../asn1/1609Dot2-ASN1/asn1c/IEEE1609dot2BaseTypes.asn" * `asn1c -S ../../asn1c/skeletons -fcompound-names -no-gen-PER -gen-autotools -pdu=EtsiTs103097Data -pdu=EnrolmentRequestMessage -pdu=EnrolmentResponseMessage -pdu=AuthorizationRequestMessage -pdu=AuthorizationRequestMessageWithPop -pdu=AuthorizationResponseMessage -pdu=CertificateRevocationListMessage -pdu=TlmCertificateTrustListMessage -pdu=RcaCertificateTrustListMessage -pdu=AuthorizationValidationRequestMessage -pdu=AuthorizationValidationResponseMessage -pdu=CaCertificateRequestMessage` */ #include "PsidSspRange.h" asn_TYPE_member_t asn_MBR_PsidSspRange_1[] = { { ATF_NOFLAGS, 0, offsetof(struct PsidSspRange, psid), (ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_Psid, 0, { 0, 0, 0 }, 0, 0, /* No default value */ "psid" }, { ATF_POINTER, 1, offsetof(struct PsidSspRange, sspRange), (ASN_TAG_CLASS_CONTEXT | (1 << 2)), +1, /* EXPLICIT tag at current level */ &asn_DEF_SspRange, 0, { 0, 0, 0 }, 0, 0, /* No default value */ "sspRange" }, }; static const int asn_MAP_PsidSspRange_oms_1[] = { 1 }; static const ber_tlv_tag_t asn_DEF_PsidSspRange_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static const asn_TYPE_tag2member_t asn_MAP_PsidSspRange_tag2el_1[] = { { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* psid */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* sspRange */ }; asn_SEQUENCE_specifics_t asn_SPC_PsidSspRange_specs_1 = { sizeof(struct PsidSspRange), offsetof(struct PsidSspRange, _asn_ctx), asn_MAP_PsidSspRange_tag2el_1, 2, /* Count of tags in the map */ asn_MAP_PsidSspRange_oms_1, /* Optional members */ 1, 0, /* Root/Additions */ -1, /* First extension addition */ }; static int PsidSspRange_print(const asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, asn_app_consume_bytes_f *cb, void *app_key); Psid_t _global_psid_value = 0; static asn_TYPE_operation_t asn_OP_PsidSspRange = { SEQUENCE_free, PsidSspRange_print, SEQUENCE_compare, SEQUENCE_decode_ber, SEQUENCE_encode_der, SEQUENCE_decode_xer, SEQUENCE_encode_xer, #ifdef ASN_DISABLE_OER_SUPPORT 0, 0, #else SEQUENCE_decode_oer, SEQUENCE_encode_oer, #endif /* ASN_DISABLE_OER_SUPPORT */ #ifdef ASN_DISABLE_PER_SUPPORT 0, 0, #else SEQUENCE_decode_uper, SEQUENCE_encode_uper, #endif /* ASN_DISABLE_PER_SUPPORT */ SEQUENCE_random_fill, 0 /* Use generic outmost tag fetcher */ }; asn_TYPE_descriptor_t asn_DEF_PsidSspRange = { "PsidSspRange", "PsidSspRange", &asn_OP_PsidSspRange, asn_DEF_PsidSspRange_tags_1, sizeof(asn_DEF_PsidSspRange_tags_1) /sizeof(asn_DEF_PsidSspRange_tags_1[0]), /* 1 */ asn_DEF_PsidSspRange_tags_1, /* Same as above */ sizeof(asn_DEF_PsidSspRange_tags_1) /sizeof(asn_DEF_PsidSspRange_tags_1[0]), /* 1 */ { 0, 0, SEQUENCE_constraint }, asn_MBR_PsidSspRange_1, 2, /* Elements count */ &asn_SPC_PsidSspRange_specs_1 /* Additional specs */ }; static int PsidSspRange_print(const asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { PsidSspRange_t * s = (PsidSspRange_t *)sptr; _global_psid_value = s->psid; return SEQUENCE_print(td, sptr, ilevel, cb, app_key); }