X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=e2sm%2Flib%2FE2SM-RC-ControlMessage.c;h=52f42efa425e67f3c27663f2ac0ae4b5a60c793c;hb=refs%2Fchanges%2F99%2F9899%2F1;hp=295c133e1098454b5d0a289b47e923fb444c1c64;hpb=5cb831298a1866a9800ce235f5486075e83ae85f;p=ric-app%2Frc.git diff --git a/e2sm/lib/E2SM-RC-ControlMessage.c b/e2sm/lib/E2SM-RC-ControlMessage.c index 295c133..52f42ef 100644 --- a/e2sm/lib/E2SM-RC-ControlMessage.c +++ b/e2sm/lib/E2SM-RC-ControlMessage.c @@ -1,13 +1,14 @@ /* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "E2SM-RC-IEs" - * found in "e2sm-rc-nov2021.asn" - * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .` + * found in "e2sm_rc.asn" + * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example` */ #include "E2SM-RC-ControlMessage.h" #include "E2SM-RC-ControlMessage-Format1.h" +#include "E2SM-RC-ControlMessage-Format2.h" static asn_oer_constraints_t asn_OER_type_ric_controlMessage_formats_constr_2 CC_NOTUSED = { { 0, 0 }, -1}; @@ -26,9 +27,19 @@ static asn_TYPE_member_t asn_MBR_ric_controlMessage_formats_2[] = { 0, 0, /* No default value */ "controlMessage-Format1" }, + { ATF_POINTER, 0, offsetof(struct E2SM_RC_ControlMessage__ric_controlMessage_formats, choice.controlMessage_Format2), + (ASN_TAG_CLASS_CONTEXT | (1 << 2)), + -1, /* IMPLICIT tag at current level */ + &asn_DEF_E2SM_RC_ControlMessage_Format2, + 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ + "controlMessage-Format2" + }, }; static const asn_TYPE_tag2member_t asn_MAP_ric_controlMessage_formats_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* controlMessage-Format1 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* controlMessage-Format1 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* controlMessage-Format2 */ }; static asn_CHOICE_specifics_t asn_SPC_ric_controlMessage_formats_specs_2 = { sizeof(struct E2SM_RC_ControlMessage__ric_controlMessage_formats), @@ -36,7 +47,7 @@ static asn_CHOICE_specifics_t asn_SPC_ric_controlMessage_formats_specs_2 = { offsetof(struct E2SM_RC_ControlMessage__ric_controlMessage_formats, present), sizeof(((struct E2SM_RC_ControlMessage__ric_controlMessage_formats *)0)->present), asn_MAP_ric_controlMessage_formats_tag2el_2, - 1, /* Count of tags in the map */ + 2, /* Count of tags in the map */ 0, 0, 1 /* Extensions start */ }; @@ -51,7 +62,7 @@ asn_TYPE_descriptor_t asn_DEF_ric_controlMessage_formats_2 = { 0, /* No tags (count) */ { &asn_OER_type_ric_controlMessage_formats_constr_2, &asn_PER_type_ric_controlMessage_formats_constr_2, CHOICE_constraint }, asn_MBR_ric_controlMessage_formats_2, - 1, /* Elements count */ + 2, /* Elements count */ &asn_SPC_ric_controlMessage_formats_specs_2 /* Additional specs */ };