04086642d626fd5289363e12409b6b838dc9ec4d
[o-du/l2.git] / src / codec_utils / E2AP / E2AP-PDU.h
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-PDU-Descriptions"
4  *      found in "E2AP.asn1"
5  *      `asn1c -D ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #ifndef _E2AP_PDU_H_
9 #define _E2AP_PDU_H_
10
11
12 #include <asn_application.h>
13 #include <InitiatingMessageE2.h>
14 #include <SuccessfulOutcomeE2.h>
15 #include <UnsuccessfulOutcomeE2.h>
16
17 /* Including external dependencies */
18 #include <constr_CHOICE.h>
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24 /* Dependencies */
25 typedef enum E2AP_PDU_PR {
26         E2AP_PDU_PR_NOTHING,    /* No components present */
27         E2AP_PDU_PR_initiatingMessage,
28         E2AP_PDU_PR_successfulOutcome,
29         E2AP_PDU_PR_unsuccessfulOutcome
30         /* Extensions may appear below */
31         
32 } E2AP_PDU_PR;
33
34 /* Forward declarations */
35 struct InitiatingMessageE2;
36 struct SuccessfulOutcomeE2;
37 struct UnsuccessfulOutcomeE2;
38
39 /* E2AP-PDU */
40 typedef struct E2AP_PDU {
41         E2AP_PDU_PR present;
42         union E2AP_PDU_u {
43                 struct InitiatingMessageE2      *initiatingMessage;
44                 struct SuccessfulOutcomeE2      *successfulOutcome;
45                 struct UnsuccessfulOutcomeE2    *unsuccessfulOutcome;
46                 /*
47                  * This type is extensible,
48                  * possible extensions are below.
49                  */
50         } choice;
51         
52         /* Context for parsing across buffer boundaries */
53         asn_struct_ctx_t _asn_ctx;
54 } E2AP_PDU_t;
55
56 /* Implementation */
57 extern asn_TYPE_descriptor_t asn_DEF_E2AP_PDU;
58
59 #ifdef __cplusplus
60 }
61 #endif
62
63 #endif  /* _E2AP_PDU_H_ */
64 #include <asn_internal.h>