Generated C files for E2AP v2.0
[sim/e2-interface.git] / e2sim / e2sm_examples / kpm_e2sm / src / ASN1c / SuccessfulOutcome.c
index fe59400..2992230 100644 (file)
@@ -1,8 +1,8 @@
 /*
  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
  * From ASN.1 module "E2AP-PDU-Descriptions"
- *     found in "e2ap-v01.01.00.asn"
- *     `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
+ *     found in "e2ap-v2.asn"
+ *     `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-example`
  */
 
 #include "SuccessfulOutcome.h"
@@ -29,6 +29,8 @@ static const long asn_VAL_10_id_RICserviceQuery = 6;
 static const long asn_VAL_10_ignore = 1;
 static const long asn_VAL_11_id_ErrorIndication = 2;
 static const long asn_VAL_11_ignore = 1;
+static const long asn_VAL_12_id_RICsubscriptionDeleteRequired = 12;
+static const long asn_VAL_12_ignore = 1;
 static const asn_ioc_cell_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows[] = {
        { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionRequest },
        { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionResponse },
@@ -84,10 +86,15 @@ static const asn_ioc_cell_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows[] = {
        { "&SuccessfulOutcome",  },
        { "&UnsuccessfulOutcome",  },
        { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_11_id_ErrorIndication },
-       { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_11_ignore }
+       { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_11_ignore },
+       { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionDeleteRequired },
+       { "&SuccessfulOutcome",  },
+       { "&UnsuccessfulOutcome",  },
+       { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_12_id_RICsubscriptionDeleteRequired },
+       { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_12_ignore }
 };
 static const asn_ioc_set_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1[] = {
-       { 11, 5, asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows }
+       { 12, 5, asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows }
 };
 static int
 memb_procedureCode_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
@@ -206,16 +213,25 @@ memb_value_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
        return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
 }
 
+static asn_oer_constraints_t asn_OER_memb_procedureCode_constr_2 CC_NOTUSED = {
+       { 1, 1 }        /* (0..255) */,
+       -1};
 static asn_per_constraints_t asn_PER_memb_procedureCode_constr_2 CC_NOTUSED = {
        { APC_CONSTRAINED,       8,  8,  0,  255 }      /* (0..255) */,
        { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
        0, 0    /* No PER value map */
 };
+static asn_oer_constraints_t asn_OER_memb_criticality_constr_3 CC_NOTUSED = {
+       { 0, 0 },
+       -1};
 static asn_per_constraints_t asn_PER_memb_criticality_constr_3 CC_NOTUSED = {
        { APC_CONSTRAINED,       2,  2,  0,  2 }        /* (0..2) */,
        { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
        0, 0    /* No PER value map */
 };
+static asn_oer_constraints_t asn_OER_memb_value_constr_4 CC_NOTUSED = {
+       { 0, 0 },
+       -1};
 static asn_per_constraints_t asn_PER_memb_value_constr_4 CC_NOTUSED = {
        { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
        { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
@@ -336,7 +352,7 @@ asn_TYPE_member_t asn_MBR_SuccessfulOutcome_1[] = {
                -1,     /* IMPLICIT tag at current level */
                &asn_DEF_ProcedureCode,
                0,
-               { 0, &asn_PER_memb_procedureCode_constr_2,  memb_procedureCode_constraint_1 },
+               { &asn_OER_memb_procedureCode_constr_2, &asn_PER_memb_procedureCode_constr_2,  memb_procedureCode_constraint_1 },
                0, 0, /* No default value */
                "procedureCode"
                },
@@ -345,7 +361,7 @@ asn_TYPE_member_t asn_MBR_SuccessfulOutcome_1[] = {
                -1,     /* IMPLICIT tag at current level */
                &asn_DEF_Criticality,
                select_SuccessfulOutcome_criticality_type,
-               { 0, &asn_PER_memb_criticality_constr_3,  memb_criticality_constraint_1 },
+               { &asn_OER_memb_criticality_constr_3, &asn_PER_memb_criticality_constr_3,  memb_criticality_constraint_1 },
                0, 0, /* No default value */
                "criticality"
                },
@@ -354,7 +370,7 @@ asn_TYPE_member_t asn_MBR_SuccessfulOutcome_1[] = {
                +1,     /* EXPLICIT tag at current level */
                &asn_DEF_value_4,
                select_SuccessfulOutcome_value_type,
-               { 0, &asn_PER_memb_value_constr_4,  memb_value_constraint_1 },
+               { &asn_OER_memb_value_constr_4, &asn_PER_memb_value_constr_4,  memb_value_constraint_1 },
                0, 0, /* No default value */
                "value"
                },