52c8e1ecddd4934a9e16524946db3d52a84cb282
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / E2AP-PDU.h
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 #ifndef _E2AP_PDU_H_
32 #define _E2AP_PDU_H_
33
34
35 #include "asn_application.h"
36
37 /* Including external dependencies */
38 #include "constr_CHOICE.h"
39
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43
44 /* Dependencies */
45 typedef enum E2AP_PDU_PR {
46         E2AP_PDU_PR_NOTHING,    /* No components present */
47         E2AP_PDU_PR_initiatingMessage,
48         E2AP_PDU_PR_successfulOutcome,
49         E2AP_PDU_PR_unsuccessfulOutcome
50         /* Extensions may appear below */
51         
52 } E2AP_PDU_PR;
53
54 /* Forward declarations */
55 struct InitiatingMessage;
56 struct SuccessfulOutcome;
57 struct UnsuccessfulOutcome;
58
59 /* E2AP-PDU */
60 typedef struct E2AP_PDU {
61         E2AP_PDU_PR present;
62         union E2AP_PDU_u {
63                 struct InitiatingMessage        *initiatingMessage;
64                 struct SuccessfulOutcome        *successfulOutcome;
65                 struct UnsuccessfulOutcome      *unsuccessfulOutcome;
66                 /*
67                  * This type is extensible,
68                  * possible extensions are below.
69                  */
70         } choice;
71         
72         /* Context for parsing across buffer boundaries */
73         asn_struct_ctx_t _asn_ctx;
74 } E2AP_PDU_t;
75
76 /* Implementation */
77 extern asn_TYPE_descriptor_t asn_DEF_E2AP_PDU;
78
79 #ifdef __cplusplus
80 }
81 #endif
82
83 #endif  /* _E2AP_PDU_H_ */
84 #include "asn_internal.h"