Adding initial code jy.oak@samsung.com
[ric-app/kpimon.git] / asn1c_defs / all-defs / EN-DC-ResourceConfiguration.c
diff --git a/asn1c_defs/all-defs/EN-DC-ResourceConfiguration.c b/asn1c_defs/all-defs/EN-DC-ResourceConfiguration.c
new file mode 100755 (executable)
index 0000000..f8124c3
--- /dev/null
@@ -0,0 +1,227 @@
+/*\r
+ * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)\r
+ * From ASN.1 module "X2AP-IEs"\r
+ *     found in "../../asn_defs/asn1/x2ap-modified-15-05.asn"\r
+ *     `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`\r
+ */\r
+\r
+#include "EN-DC-ResourceConfiguration.h"\r
+\r
+#include "ProtocolExtensionContainer.h"\r
+/*\r
+ * This type is implemented using NativeEnumerated,\r
+ * so here we adjust the DEF accordingly.\r
+ */\r
+/*\r
+ * This type is implemented using NativeEnumerated,\r
+ * so here we adjust the DEF accordingly.\r
+ */\r
+/*\r
+ * This type is implemented using NativeEnumerated,\r
+ * so here we adjust the DEF accordingly.\r
+ */\r
+static asn_per_constraints_t asn_PER_type_pDCPatSgNB_constr_2 CC_NOTUSED = {\r
+       { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,\r
+       { APC_UNCONSTRAINED,    -1, -1,  0,  0 },\r
+       0, 0    /* No PER value map */\r
+};\r
+static asn_per_constraints_t asn_PER_type_mCGresources_constr_6 CC_NOTUSED = {\r
+       { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,\r
+       { APC_UNCONSTRAINED,    -1, -1,  0,  0 },\r
+       0, 0    /* No PER value map */\r
+};\r
+static asn_per_constraints_t asn_PER_type_sCGresources_constr_10 CC_NOTUSED = {\r
+       { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,\r
+       { APC_UNCONSTRAINED,    -1, -1,  0,  0 },\r
+       0, 0    /* No PER value map */\r
+};\r
+static const asn_INTEGER_enum_map_t asn_MAP_pDCPatSgNB_value2enum_2[] = {\r
+       { 0,    7,      "present" },\r
+       { 1,    11,     "not-present" }\r
+       /* This list is extensible */\r
+};\r
+static const unsigned int asn_MAP_pDCPatSgNB_enum2value_2[] = {\r
+       1,      /* not-present(1) */\r
+       0       /* present(0) */\r
+       /* This list is extensible */\r
+};\r
+static const asn_INTEGER_specifics_t asn_SPC_pDCPatSgNB_specs_2 = {\r
+       asn_MAP_pDCPatSgNB_value2enum_2,        /* "tag" => N; sorted by tag */\r
+       asn_MAP_pDCPatSgNB_enum2value_2,        /* N => "tag"; sorted by N */\r
+       2,      /* Number of elements in the maps */\r
+       3,      /* Extensions before this member */\r
+       1,      /* Strict enumeration */\r
+       0,      /* Native long size */\r
+       0\r
+};\r
+static const ber_tlv_tag_t asn_DEF_pDCPatSgNB_tags_2[] = {\r
+       (ASN_TAG_CLASS_CONTEXT | (0 << 2)),\r
+       (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))\r
+};\r
+static /* Use -fall-defs-global to expose */\r
+asn_TYPE_descriptor_t asn_DEF_pDCPatSgNB_2 = {\r
+       "pDCPatSgNB",\r
+       "pDCPatSgNB",\r
+       &asn_OP_NativeEnumerated,\r
+       asn_DEF_pDCPatSgNB_tags_2,\r
+       sizeof(asn_DEF_pDCPatSgNB_tags_2)\r
+               /sizeof(asn_DEF_pDCPatSgNB_tags_2[0]) - 1, /* 1 */\r
+       asn_DEF_pDCPatSgNB_tags_2,      /* Same as above */\r
+       sizeof(asn_DEF_pDCPatSgNB_tags_2)\r
+               /sizeof(asn_DEF_pDCPatSgNB_tags_2[0]), /* 2 */\r
+       { 0, &asn_PER_type_pDCPatSgNB_constr_2, NativeEnumerated_constraint },\r
+       0, 0,   /* Defined elsewhere */\r
+       &asn_SPC_pDCPatSgNB_specs_2     /* Additional specs */\r
+};\r
+\r
+static const asn_INTEGER_enum_map_t asn_MAP_mCGresources_value2enum_6[] = {\r
+       { 0,    7,      "present" },\r
+       { 1,    11,     "not-present" }\r
+       /* This list is extensible */\r
+};\r
+static const unsigned int asn_MAP_mCGresources_enum2value_6[] = {\r
+       1,      /* not-present(1) */\r
+       0       /* present(0) */\r
+       /* This list is extensible */\r
+};\r
+static const asn_INTEGER_specifics_t asn_SPC_mCGresources_specs_6 = {\r
+       asn_MAP_mCGresources_value2enum_6,      /* "tag" => N; sorted by tag */\r
+       asn_MAP_mCGresources_enum2value_6,      /* N => "tag"; sorted by N */\r
+       2,      /* Number of elements in the maps */\r
+       3,      /* Extensions before this member */\r
+       1,      /* Strict enumeration */\r
+       0,      /* Native long size */\r
+       0\r
+};\r
+static const ber_tlv_tag_t asn_DEF_mCGresources_tags_6[] = {\r
+       (ASN_TAG_CLASS_CONTEXT | (1 << 2)),\r
+       (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))\r
+};\r
+static /* Use -fall-defs-global to expose */\r
+asn_TYPE_descriptor_t asn_DEF_mCGresources_6 = {\r
+       "mCGresources",\r
+       "mCGresources",\r
+       &asn_OP_NativeEnumerated,\r
+       asn_DEF_mCGresources_tags_6,\r
+       sizeof(asn_DEF_mCGresources_tags_6)\r
+               /sizeof(asn_DEF_mCGresources_tags_6[0]) - 1, /* 1 */\r
+       asn_DEF_mCGresources_tags_6,    /* Same as above */\r
+       sizeof(asn_DEF_mCGresources_tags_6)\r
+               /sizeof(asn_DEF_mCGresources_tags_6[0]), /* 2 */\r
+       { 0, &asn_PER_type_mCGresources_constr_6, NativeEnumerated_constraint },\r
+       0, 0,   /* Defined elsewhere */\r
+       &asn_SPC_mCGresources_specs_6   /* Additional specs */\r
+};\r
+\r
+static const asn_INTEGER_enum_map_t asn_MAP_sCGresources_value2enum_10[] = {\r
+       { 0,    7,      "present" },\r
+       { 1,    11,     "not-present" }\r
+       /* This list is extensible */\r
+};\r
+static const unsigned int asn_MAP_sCGresources_enum2value_10[] = {\r
+       1,      /* not-present(1) */\r
+       0       /* present(0) */\r
+       /* This list is extensible */\r
+};\r
+static const asn_INTEGER_specifics_t asn_SPC_sCGresources_specs_10 = {\r
+       asn_MAP_sCGresources_value2enum_10,     /* "tag" => N; sorted by tag */\r
+       asn_MAP_sCGresources_enum2value_10,     /* N => "tag"; sorted by N */\r
+       2,      /* Number of elements in the maps */\r
+       3,      /* Extensions before this member */\r
+       1,      /* Strict enumeration */\r
+       0,      /* Native long size */\r
+       0\r
+};\r
+static const ber_tlv_tag_t asn_DEF_sCGresources_tags_10[] = {\r
+       (ASN_TAG_CLASS_CONTEXT | (2 << 2)),\r
+       (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))\r
+};\r
+static /* Use -fall-defs-global to expose */\r
+asn_TYPE_descriptor_t asn_DEF_sCGresources_10 = {\r
+       "sCGresources",\r
+       "sCGresources",\r
+       &asn_OP_NativeEnumerated,\r
+       asn_DEF_sCGresources_tags_10,\r
+       sizeof(asn_DEF_sCGresources_tags_10)\r
+               /sizeof(asn_DEF_sCGresources_tags_10[0]) - 1, /* 1 */\r
+       asn_DEF_sCGresources_tags_10,   /* Same as above */\r
+       sizeof(asn_DEF_sCGresources_tags_10)\r
+               /sizeof(asn_DEF_sCGresources_tags_10[0]), /* 2 */\r
+       { 0, &asn_PER_type_sCGresources_constr_10, NativeEnumerated_constraint },\r
+       0, 0,   /* Defined elsewhere */\r
+       &asn_SPC_sCGresources_specs_10  /* Additional specs */\r
+};\r
+\r
+asn_TYPE_member_t asn_MBR_EN_DC_ResourceConfiguration_1[] = {\r
+       { ATF_NOFLAGS, 0, offsetof(struct EN_DC_ResourceConfiguration, pDCPatSgNB),\r
+               (ASN_TAG_CLASS_CONTEXT | (0 << 2)),\r
+               -1,     /* IMPLICIT tag at current level */\r
+               &asn_DEF_pDCPatSgNB_2,\r
+               0,\r
+               { 0, 0, 0 },\r
+               0, 0, /* No default value */\r
+               "pDCPatSgNB"\r
+               },\r
+       { ATF_NOFLAGS, 0, offsetof(struct EN_DC_ResourceConfiguration, mCGresources),\r
+               (ASN_TAG_CLASS_CONTEXT | (1 << 2)),\r
+               -1,     /* IMPLICIT tag at current level */\r
+               &asn_DEF_mCGresources_6,\r
+               0,\r
+               { 0, 0, 0 },\r
+               0, 0, /* No default value */\r
+               "mCGresources"\r
+               },\r
+       { ATF_NOFLAGS, 0, offsetof(struct EN_DC_ResourceConfiguration, sCGresources),\r
+               (ASN_TAG_CLASS_CONTEXT | (2 << 2)),\r
+               -1,     /* IMPLICIT tag at current level */\r
+               &asn_DEF_sCGresources_10,\r
+               0,\r
+               { 0, 0, 0 },\r
+               0, 0, /* No default value */\r
+               "sCGresources"\r
+               },\r
+       { ATF_POINTER, 1, offsetof(struct EN_DC_ResourceConfiguration, iE_Extensions),\r
+               (ASN_TAG_CLASS_CONTEXT | (3 << 2)),\r
+               -1,     /* IMPLICIT tag at current level */\r
+               &asn_DEF_ProtocolExtensionContainer_8231P137,\r
+               0,\r
+               { 0, 0, 0 },\r
+               0, 0, /* No default value */\r
+               "iE-Extensions"\r
+               },\r
+};\r
+static const int asn_MAP_EN_DC_ResourceConfiguration_oms_1[] = { 3 };\r
+static const ber_tlv_tag_t asn_DEF_EN_DC_ResourceConfiguration_tags_1[] = {\r
+       (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))\r
+};\r
+static const asn_TYPE_tag2member_t asn_MAP_EN_DC_ResourceConfiguration_tag2el_1[] = {\r
+    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pDCPatSgNB */\r
+    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* mCGresources */\r
+    { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sCGresources */\r
+    { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */\r
+};\r
+asn_SEQUENCE_specifics_t asn_SPC_EN_DC_ResourceConfiguration_specs_1 = {\r
+       sizeof(struct EN_DC_ResourceConfiguration),\r
+       offsetof(struct EN_DC_ResourceConfiguration, _asn_ctx),\r
+       asn_MAP_EN_DC_ResourceConfiguration_tag2el_1,\r
+       4,      /* Count of tags in the map */\r
+       asn_MAP_EN_DC_ResourceConfiguration_oms_1,      /* Optional members */\r
+       1, 0,   /* Root/Additions */\r
+       4,      /* First extension addition */\r
+};\r
+asn_TYPE_descriptor_t asn_DEF_EN_DC_ResourceConfiguration = {\r
+       "EN-DC-ResourceConfiguration",\r
+       "EN-DC-ResourceConfiguration",\r
+       &asn_OP_SEQUENCE,\r
+       asn_DEF_EN_DC_ResourceConfiguration_tags_1,\r
+       sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1)\r
+               /sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1[0]), /* 1 */\r
+       asn_DEF_EN_DC_ResourceConfiguration_tags_1,     /* Same as above */\r
+       sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1)\r
+               /sizeof(asn_DEF_EN_DC_ResourceConfiguration_tags_1[0]), /* 1 */\r
+       { 0, 0, SEQUENCE_constraint },\r
+       asn_MBR_EN_DC_ResourceConfiguration_1,\r
+       4,      /* Elements count */\r
+       &asn_SPC_EN_DC_ResourceConfiguration_specs_1    /* Additional specs */\r
+};\r
+\r