a71a642848db6e00eb33634af62c80e52dd663f6
[ric-plt/resource-status-manager.git] / RSM / asn1codec / e2ap_engine / E2AP-PDU.h
1 /*
2  *
3  * Copyright 2019 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 /*
21  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
22  * From ASN.1 module "E2AP-PDU-Descriptions"
23  *      found in "../../asnFiles/e2ap-v031.asn"
24  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
25  */
26
27 #ifndef _E2AP_PDU_H_
28 #define _E2AP_PDU_H_
29
30
31 #include "asn_application.h"
32
33 /* Including external dependencies */
34 #include "constr_CHOICE.h"
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39
40 /* Dependencies */
41 typedef enum E2AP_PDU_PR {
42         E2AP_PDU_PR_NOTHING,    /* No components present */
43         E2AP_PDU_PR_initiatingMessage,
44         E2AP_PDU_PR_successfulOutcome,
45         E2AP_PDU_PR_unsuccessfulOutcome
46         /* Extensions may appear below */
47         
48 } E2AP_PDU_PR;
49
50 /* Forward declarations */
51 struct InitiatingMessage;
52 struct SuccessfulOutcome;
53 struct UnsuccessfulOutcome;
54
55 /* E2AP-PDU */
56 typedef struct E2AP_PDU {
57         E2AP_PDU_PR present;
58         union E2AP_PDU_u {
59                 struct InitiatingMessage        *initiatingMessage;
60                 struct SuccessfulOutcome        *successfulOutcome;
61                 struct UnsuccessfulOutcome      *unsuccessfulOutcome;
62                 /*
63                  * This type is extensible,
64                  * possible extensions are below.
65                  */
66         } choice;
67         
68         /* Context for parsing across buffer boundaries */
69         asn_struct_ctx_t _asn_ctx;
70 } E2AP_PDU_t;
71
72 /* Implementation */
73 extern asn_TYPE_descriptor_t asn_DEF_E2AP_PDU;
74
75 #ifdef __cplusplus
76 }
77 #endif
78
79 #endif  /* _E2AP_PDU_H_ */
80 #include "asn_internal.h"