Adding new comments for Oran in all files with licenses
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / E2AP-PDU.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-Descriptions"
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 "E2AP-PDU.h"
32
33 #include "InitiatingMessage.h"
34 #include "SuccessfulOutcome.h"
35 #include "UnsuccessfulOutcome.h"
36 static asn_per_constraints_t asn_PER_type_E2AP_PDU_constr_1 CC_NOTUSED = {
37         { APC_CONSTRAINED | APC_EXTENSIBLE,  2,  2,  0,  2 }    /* (0..2,...) */,
38         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
39         0, 0    /* No PER value map */
40 };
41 static asn_TYPE_member_t asn_MBR_E2AP_PDU_1[] = {
42         { ATF_POINTER, 0, offsetof(struct E2AP_PDU, choice.initiatingMessage),
43                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
44                 -1,     /* IMPLICIT tag at current level */
45                 &asn_DEF_InitiatingMessage,
46                 0,
47                 { 0, 0, 0 },
48                 0, 0, /* No default value */
49                 "initiatingMessage"
50                 },
51         { ATF_POINTER, 0, offsetof(struct E2AP_PDU, choice.successfulOutcome),
52                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
53                 -1,     /* IMPLICIT tag at current level */
54                 &asn_DEF_SuccessfulOutcome,
55                 0,
56                 { 0, 0, 0 },
57                 0, 0, /* No default value */
58                 "successfulOutcome"
59                 },
60         { ATF_POINTER, 0, offsetof(struct E2AP_PDU, choice.unsuccessfulOutcome),
61                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
62                 -1,     /* IMPLICIT tag at current level */
63                 &asn_DEF_UnsuccessfulOutcome,
64                 0,
65                 { 0, 0, 0 },
66                 0, 0, /* No default value */
67                 "unsuccessfulOutcome"
68                 },
69 };
70 static const asn_TYPE_tag2member_t asn_MAP_E2AP_PDU_tag2el_1[] = {
71     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* initiatingMessage */
72     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* successfulOutcome */
73     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* unsuccessfulOutcome */
74 };
75 static asn_CHOICE_specifics_t asn_SPC_E2AP_PDU_specs_1 = {
76         sizeof(struct E2AP_PDU),
77         offsetof(struct E2AP_PDU, _asn_ctx),
78         offsetof(struct E2AP_PDU, present),
79         sizeof(((struct E2AP_PDU *)0)->present),
80         asn_MAP_E2AP_PDU_tag2el_1,
81         3,      /* Count of tags in the map */
82         0, 0,
83         3       /* Extensions start */
84 };
85 asn_TYPE_descriptor_t asn_DEF_E2AP_PDU = {
86         "E2AP-PDU",
87         "E2AP-PDU",
88         &asn_OP_CHOICE,
89         0,      /* No effective tags (pointer) */
90         0,      /* No effective tags (count) */
91         0,      /* No tags (pointer) */
92         0,      /* No tags (count) */
93         { 0, &asn_PER_type_E2AP_PDU_constr_1, CHOICE_constraint },
94         asn_MBR_E2AP_PDU_1,
95         3,      /* Elements count */
96         &asn_SPC_E2AP_PDU_specs_1       /* Additional specs */
97 };
98