Enhanced SIM for E2AP v1 for TS UC
[sim/e2-interface.git] / e2sim / e2apv1sim / ASN1c / E2AP-PDU.h
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-Descriptions"
22  *      found in "../asnTextFiles/e2ap-v01.00.00.asn"
23  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
24  */
25
26 #ifndef _E2AP_PDU_H_
27 #define _E2AP_PDU_H_
28
29
30 #include "asn_application.h"
31
32 /* Including external dependencies */
33 #include "constr_CHOICE.h"
34
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38
39 /* Dependencies */
40 typedef enum E2AP_PDU_PR {
41         E2AP_PDU_PR_NOTHING,    /* No components present */
42         E2AP_PDU_PR_initiatingMessage,
43         E2AP_PDU_PR_successfulOutcome,
44         E2AP_PDU_PR_unsuccessfulOutcome
45         /* Extensions may appear below */
46         
47 } E2AP_PDU_PR;
48
49 /* Forward declarations */
50 struct InitiatingMessage;
51 struct SuccessfulOutcome;
52 struct UnsuccessfulOutcome;
53
54 /* E2AP-PDU */
55 typedef struct E2AP_PDU {
56         E2AP_PDU_PR present;
57         union E2AP_PDU_u {
58                 struct InitiatingMessage        *initiatingMessage;
59                 struct SuccessfulOutcome        *successfulOutcome;
60                 struct UnsuccessfulOutcome      *unsuccessfulOutcome;
61                 /*
62                  * This type is extensible,
63                  * possible extensions are below.
64                  */
65         } choice;
66         
67         /* Context for parsing across buffer boundaries */
68         asn_struct_ctx_t _asn_ctx;
69 } E2AP_PDU_t;
70
71 /* Implementation */
72 extern asn_TYPE_descriptor_t asn_DEF_E2AP_PDU;
73
74 #ifdef __cplusplus
75 }
76 #endif
77
78 #endif  /* _E2AP_PDU_H_ */
79 #include "asn_internal.h"