1f206b6a8389b3d97406c01e8d216db4c684c303
[ric-plt/e2.git] / RIC-E2-TERMINATION / 3rdparty / oranE2 / RANfunction-Item.c
1 /*
2  *
3  * Copyright 2020 AT&T Intellectual Property
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18
19 /*
20  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
21  * From ASN.1 module "E2AP-PDU-Contents"
22  *      found in "e2ap-v01.01.00.asn"
23  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
24  */
25
26 #include "RANfunction-Item.h"
27
28 asn_TYPE_member_t asn_MBR_RANfunction_Item_1[] = {
29         { ATF_NOFLAGS, 0, offsetof(struct RANfunction_Item, ranFunctionID),
30                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
31                 -1,     /* IMPLICIT tag at current level */
32                 &asn_DEF_RANfunctionID,
33                 0,
34                 { 0, 0, 0 },
35                 0, 0, /* No default value */
36                 "ranFunctionID"
37                 },
38         { ATF_NOFLAGS, 0, offsetof(struct RANfunction_Item, ranFunctionDefinition),
39                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
40                 -1,     /* IMPLICIT tag at current level */
41                 &asn_DEF_RANfunctionDefinition,
42                 0,
43                 { 0, 0, 0 },
44                 0, 0, /* No default value */
45                 "ranFunctionDefinition"
46                 },
47         { ATF_NOFLAGS, 0, offsetof(struct RANfunction_Item, ranFunctionRevision),
48                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
49                 -1,     /* IMPLICIT tag at current level */
50                 &asn_DEF_RANfunctionRevision,
51                 0,
52                 { 0, 0, 0 },
53                 0, 0, /* No default value */
54                 "ranFunctionRevision"
55                 },
56         { ATF_POINTER, 1, offsetof(struct RANfunction_Item, ranFunctionOID),
57                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
58                 -1,     /* IMPLICIT tag at current level */
59                 &asn_DEF_RANfunctionOID,
60                 0,
61                 { 0, 0, 0 },
62                 0, 0, /* No default value */
63                 "ranFunctionOID"
64                 },
65 };
66 static const int asn_MAP_RANfunction_Item_oms_1[] = { 3 };
67 static const ber_tlv_tag_t asn_DEF_RANfunction_Item_tags_1[] = {
68         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
69 };
70 static const asn_TYPE_tag2member_t asn_MAP_RANfunction_Item_tag2el_1[] = {
71     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ranFunctionID */
72     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ranFunctionDefinition */
73     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ranFunctionRevision */
74     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* ranFunctionOID */
75 };
76 asn_SEQUENCE_specifics_t asn_SPC_RANfunction_Item_specs_1 = {
77         sizeof(struct RANfunction_Item),
78         offsetof(struct RANfunction_Item, _asn_ctx),
79         asn_MAP_RANfunction_Item_tag2el_1,
80         4,      /* Count of tags in the map */
81         asn_MAP_RANfunction_Item_oms_1, /* Optional members */
82         0, 1,   /* Root/Additions */
83         3,      /* First extension addition */
84 };
85 asn_TYPE_descriptor_t asn_DEF_RANfunction_Item = {
86         "RANfunction-Item",
87         "RANfunction-Item",
88         &asn_OP_SEQUENCE,
89         asn_DEF_RANfunction_Item_tags_1,
90         sizeof(asn_DEF_RANfunction_Item_tags_1)
91                 /sizeof(asn_DEF_RANfunction_Item_tags_1[0]), /* 1 */
92         asn_DEF_RANfunction_Item_tags_1,        /* Same as above */
93         sizeof(asn_DEF_RANfunction_Item_tags_1)
94                 /sizeof(asn_DEF_RANfunction_Item_tags_1[0]), /* 1 */
95         { 0, 0, SEQUENCE_constraint },
96         asn_MBR_RANfunction_Item_1,
97         4,      /* Elements count */
98         &asn_SPC_RANfunction_Item_specs_1       /* Additional specs */
99 };
100