X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Bouncer%2Fe2sm_rc%2Flib%2FMessageType-Choice-NI.c;fp=Bouncer%2Fe2sm_rc%2Flib%2FMessageType-Choice-NI.c;h=622d5ce7dd83468d9b01c1cd731a788a92da528a;hb=fbc7e3ad84fc7269233a2f0b5d416cb1c6f8a6ea;hp=0000000000000000000000000000000000000000;hpb=eb27c05c05b5042d115480c40cffa16e7d473d80;p=ric-app%2Fbouncer.git diff --git a/Bouncer/e2sm_rc/lib/MessageType-Choice-NI.c b/Bouncer/e2sm_rc/lib/MessageType-Choice-NI.c new file mode 100644 index 0000000..622d5ce --- /dev/null +++ b/Bouncer/e2sm_rc/lib/MessageType-Choice-NI.c @@ -0,0 +1,74 @@ +/* + * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) + * From ASN.1 module "E2SM-RC-IEs" + * found in "e2sm_rc.asn" + * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example` + */ + +#include "MessageType-Choice-NI.h" + +#include "InterfaceIdentifier.h" +#include "Interface-MessageID.h" +asn_TYPE_member_t asn_MBR_MessageType_Choice_NI_1[] = { + { ATF_NOFLAGS, 0, offsetof(struct MessageType_Choice_NI, nI_Type), + (ASN_TAG_CLASS_CONTEXT | (0 << 2)), + -1, /* IMPLICIT tag at current level */ + &asn_DEF_InterfaceType, + 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ + "nI-Type" + }, + { ATF_POINTER, 2, offsetof(struct MessageType_Choice_NI, nI_Identifier), + (ASN_TAG_CLASS_CONTEXT | (1 << 2)), + +1, /* EXPLICIT tag at current level */ + &asn_DEF_InterfaceIdentifier, + 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ + "nI-Identifier" + }, + { ATF_POINTER, 1, offsetof(struct MessageType_Choice_NI, nI_Message), + (ASN_TAG_CLASS_CONTEXT | (2 << 2)), + -1, /* IMPLICIT tag at current level */ + &asn_DEF_Interface_MessageID, + 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ + "nI-Message" + }, +}; +static const int asn_MAP_MessageType_Choice_NI_oms_1[] = { 1, 2 }; +static const ber_tlv_tag_t asn_DEF_MessageType_Choice_NI_tags_1[] = { + (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) +}; +static const asn_TYPE_tag2member_t asn_MAP_MessageType_Choice_NI_tag2el_1[] = { + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nI-Type */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nI-Identifier */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nI-Message */ +}; +asn_SEQUENCE_specifics_t asn_SPC_MessageType_Choice_NI_specs_1 = { + sizeof(struct MessageType_Choice_NI), + offsetof(struct MessageType_Choice_NI, _asn_ctx), + asn_MAP_MessageType_Choice_NI_tag2el_1, + 3, /* Count of tags in the map */ + asn_MAP_MessageType_Choice_NI_oms_1, /* Optional members */ + 2, 0, /* Root/Additions */ + 3, /* First extension addition */ +}; +asn_TYPE_descriptor_t asn_DEF_MessageType_Choice_NI = { + "MessageType-Choice-NI", + "MessageType-Choice-NI", + &asn_OP_SEQUENCE, + asn_DEF_MessageType_Choice_NI_tags_1, + sizeof(asn_DEF_MessageType_Choice_NI_tags_1) + /sizeof(asn_DEF_MessageType_Choice_NI_tags_1[0]), /* 1 */ + asn_DEF_MessageType_Choice_NI_tags_1, /* Same as above */ + sizeof(asn_DEF_MessageType_Choice_NI_tags_1) + /sizeof(asn_DEF_MessageType_Choice_NI_tags_1[0]), /* 1 */ + { 0, 0, SEQUENCE_constraint }, + asn_MBR_MessageType_Choice_NI_1, + 3, /* Elements count */ + &asn_SPC_MessageType_Choice_NI_specs_1 /* Additional specs */ +}; +