EPIC ID: RICAPP-200 Upgrading rc version to 1.0.3 and fixing E2SM RC control structure
[ric-app/rc.git] / e2sm / lib / E2SM-RC-ControlHeader.c
index 0a3ff61..a789e08 100644 (file)
@@ -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-ControlHeader.h"
 
 #include "E2SM-RC-ControlHeader-Format1.h"
+#include "E2SM-RC-ControlHeader-Format2.h"
 static asn_oer_constraints_t asn_OER_type_ric_controlHeader_formats_constr_2 CC_NOTUSED = {
        { 0, 0 },
        -1};
@@ -26,9 +27,19 @@ static asn_TYPE_member_t asn_MBR_ric_controlHeader_formats_2[] = {
                0, 0, /* No default value */
                "controlHeader-Format1"
                },
+       { ATF_POINTER, 0, offsetof(struct E2SM_RC_ControlHeader__ric_controlHeader_formats, choice.controlHeader_Format2),
+               (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
+               -1,     /* IMPLICIT tag at current level */
+               &asn_DEF_E2SM_RC_ControlHeader_Format2,
+               0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
+               "controlHeader-Format2"
+               },
 };
 static const asn_TYPE_tag2member_t asn_MAP_ric_controlHeader_formats_tag2el_2[] = {
-    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* controlHeader-Format1 */
+    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* controlHeader-Format1 */
+    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* controlHeader-Format2 */
 };
 static asn_CHOICE_specifics_t asn_SPC_ric_controlHeader_formats_specs_2 = {
        sizeof(struct E2SM_RC_ControlHeader__ric_controlHeader_formats),
@@ -36,7 +47,7 @@ static asn_CHOICE_specifics_t asn_SPC_ric_controlHeader_formats_specs_2 = {
        offsetof(struct E2SM_RC_ControlHeader__ric_controlHeader_formats, present),
        sizeof(((struct E2SM_RC_ControlHeader__ric_controlHeader_formats *)0)->present),
        asn_MAP_ric_controlHeader_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_controlHeader_formats_2 = {
        0,      /* No tags (count) */
        { &asn_OER_type_ric_controlHeader_formats_constr_2, &asn_PER_type_ric_controlHeader_formats_constr_2, CHOICE_constraint },
        asn_MBR_ric_controlHeader_formats_2,
-       1,      /* Elements count */
+       2,      /* Elements count */
        &asn_SPC_ric_controlHeader_formats_specs_2      /* Additional specs */
 };