Generated C files for E2AP v2.0
[ric-plt/e2.git] / RIC-E2-TERMINATION / 3rdparty / oranE2 / RANfunction-Item.c
index 1f206b6..9b52991 100644 (file)
@@ -1,31 +1,13 @@
-/*
- *
- * Copyright 2020 AT&T Intellectual Property
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
 /*
  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
  * From ASN.1 module "E2AP-PDU-Contents"
- *     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 -no-gen-OER`
  */
 
 #include "RANfunction-Item.h"
 
-asn_TYPE_member_t asn_MBR_RANfunction_Item_1[] = {
+static asn_TYPE_member_t asn_MBR_RANfunction_Item_1[] = {
        { ATF_NOFLAGS, 0, offsetof(struct RANfunction_Item, ranFunctionID),
                (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
                -1,     /* IMPLICIT tag at current level */
@@ -53,7 +35,7 @@ asn_TYPE_member_t asn_MBR_RANfunction_Item_1[] = {
                0, 0, /* No default value */
                "ranFunctionRevision"
                },
-       { ATF_POINTER, 1, offsetof(struct RANfunction_Item, ranFunctionOID),
+       { ATF_NOFLAGS, 0, offsetof(struct RANfunction_Item, ranFunctionOID),
                (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
                -1,     /* IMPLICIT tag at current level */
                &asn_DEF_RANfunctionOID,
@@ -63,7 +45,6 @@ asn_TYPE_member_t asn_MBR_RANfunction_Item_1[] = {
                "ranFunctionOID"
                },
 };
-static const int asn_MAP_RANfunction_Item_oms_1[] = { 3 };
 static const ber_tlv_tag_t asn_DEF_RANfunction_Item_tags_1[] = {
        (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
 };
@@ -73,14 +54,13 @@ static const asn_TYPE_tag2member_t asn_MAP_RANfunction_Item_tag2el_1[] = {
     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ranFunctionRevision */
     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* ranFunctionOID */
 };
-asn_SEQUENCE_specifics_t asn_SPC_RANfunction_Item_specs_1 = {
+static asn_SEQUENCE_specifics_t asn_SPC_RANfunction_Item_specs_1 = {
        sizeof(struct RANfunction_Item),
        offsetof(struct RANfunction_Item, _asn_ctx),
        asn_MAP_RANfunction_Item_tag2el_1,
        4,      /* Count of tags in the map */
-       asn_MAP_RANfunction_Item_oms_1, /* Optional members */
-       0, 1,   /* Root/Additions */
-       3,      /* First extension addition */
+       0, 0, 0,        /* Optional elements (not needed) */
+       4,      /* First extension addition */
 };
 asn_TYPE_descriptor_t asn_DEF_RANfunction_Item = {
        "RANfunction-Item",