Adding new comments for Oran in all files with licenses
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / RANfunctionIDcause-Item.c
1 /*
2  * Copyright 2019 AT&T Intellectual Property
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 /*
18  * This source code is part of the near-RT RIC (RAN Intelligent Controller)
19  * platform project (RICP).
20  */
21
22
23
24 /*
25  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
26  * From ASN.1 module "E2AP-PDU-Contents"
27  *      found in "../../asnFiles/e2ap-v031.asn"
28  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
29  */
30
31 #include "RANfunctionIDcause-Item.h"
32
33 static asn_TYPE_member_t asn_MBR_RANfunctionIDcause_Item_1[] = {
34         { ATF_NOFLAGS, 0, offsetof(struct RANfunctionIDcause_Item, ranFunctionID),
35                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
36                 -1,     /* IMPLICIT tag at current level */
37                 &asn_DEF_RANfunctionID,
38                 0,
39                 { 0, 0, 0 },
40                 0, 0, /* No default value */
41                 "ranFunctionID"
42                 },
43         { ATF_NOFLAGS, 0, offsetof(struct RANfunctionIDcause_Item, ricCause),
44                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
45                 +1,     /* EXPLICIT tag at current level */
46                 &asn_DEF_RICcause,
47                 0,
48                 { 0, 0, 0 },
49                 0, 0, /* No default value */
50                 "ricCause"
51                 },
52 };
53 static const ber_tlv_tag_t asn_DEF_RANfunctionIDcause_Item_tags_1[] = {
54         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
55 };
56 static const asn_TYPE_tag2member_t asn_MAP_RANfunctionIDcause_Item_tag2el_1[] = {
57     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ranFunctionID */
58     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ricCause */
59 };
60 static asn_SEQUENCE_specifics_t asn_SPC_RANfunctionIDcause_Item_specs_1 = {
61         sizeof(struct RANfunctionIDcause_Item),
62         offsetof(struct RANfunctionIDcause_Item, _asn_ctx),
63         asn_MAP_RANfunctionIDcause_Item_tag2el_1,
64         2,      /* Count of tags in the map */
65         0, 0, 0,        /* Optional elements (not needed) */
66         2,      /* First extension addition */
67 };
68 asn_TYPE_descriptor_t asn_DEF_RANfunctionIDcause_Item = {
69         "RANfunctionIDcause-Item",
70         "RANfunctionIDcause-Item",
71         &asn_OP_SEQUENCE,
72         asn_DEF_RANfunctionIDcause_Item_tags_1,
73         sizeof(asn_DEF_RANfunctionIDcause_Item_tags_1)
74                 /sizeof(asn_DEF_RANfunctionIDcause_Item_tags_1[0]), /* 1 */
75         asn_DEF_RANfunctionIDcause_Item_tags_1, /* Same as above */
76         sizeof(asn_DEF_RANfunctionIDcause_Item_tags_1)
77                 /sizeof(asn_DEF_RANfunctionIDcause_Item_tags_1[0]), /* 1 */
78         { 0, 0, SEQUENCE_constraint },
79         asn_MBR_RANfunctionIDcause_Item_1,
80         2,      /* Elements count */
81         &asn_SPC_RANfunctionIDcause_Item_specs_1        /* Additional specs */
82 };
83