Replacing E2AP v1.0 asn files with E2AP v2.0 files [Jira Id - ODUHIGH-409]
[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 "2022_E2AP.asn1"
5  *      `asn1c -D ./E2AP/ -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
14 /* Including external dependencies */
15 #include <constr_CHOICE.h>
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 /* Dependencies */
22 typedef enum E2AP_PDU_PR {
23         E2AP_PDU_PR_NOTHING,    /* No components present */
24         E2AP_PDU_PR_initiatingMessage,
25         E2AP_PDU_PR_successfulOutcome,
26         E2AP_PDU_PR_unsuccessfulOutcome
27         /* Extensions may appear below */
28         
29 } E2AP_PDU_PR;
30
31 /* Forward declarations */
32 struct InitiatingMessageE2;
33 struct SuccessfulOutcomeE2;
34 struct UnsuccessfulOutcomeE2;
35
36 /* E2AP-PDU */
37 typedef struct E2AP_PDU {
38         E2AP_PDU_PR present;
39         union E2AP_PDU_u {
40                 struct InitiatingMessageE2      *initiatingMessage;
41                 struct SuccessfulOutcomeE2      *successfulOutcome;
42                 struct UnsuccessfulOutcomeE2    *unsuccessfulOutcome;
43                 /*
44                  * This type is extensible,
45                  * possible extensions are below.
46                  */
47         } choice;
48         
49         /* Context for parsing across buffer boundaries */
50         asn_struct_ctx_t _asn_ctx;
51 } E2AP_PDU_t;
52
53 /* Implementation */
54 extern asn_TYPE_descriptor_t asn_DEF_E2AP_PDU;
55
56 #ifdef __cplusplus
57 }
58 #endif
59
60 #endif  /* _E2AP_PDU_H_ */
61 #include <asn_internal.h>