1c9f197215caf76b07b29d4fc87166867a942c56
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / Cause.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 "X2AP-IEs"
27  *      found in "../../asnFiles/X2AP-IEs.asn"
28  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
29  */
30
31 #ifndef _Cause_H_
32 #define _Cause_H_
33
34
35 #include "asn_application.h"
36
37 /* Including external dependencies */
38 #include "CauseRadioNetwork.h"
39 #include "CauseTransport.h"
40 #include "CauseProtocol.h"
41 #include "CauseMisc.h"
42 #include "constr_CHOICE.h"
43
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47
48 /* Dependencies */
49 typedef enum Cause_PR {
50         Cause_PR_NOTHING,       /* No components present */
51         Cause_PR_radioNetwork,
52         Cause_PR_transport,
53         Cause_PR_protocol,
54         Cause_PR_misc
55         /* Extensions may appear below */
56         
57 } Cause_PR;
58
59 /* Cause */
60 typedef struct Cause {
61         Cause_PR present;
62         union Cause_u {
63                 CauseRadioNetwork_t      radioNetwork;
64                 CauseTransport_t         transport;
65                 CauseProtocol_t  protocol;
66                 CauseMisc_t      misc;
67                 /*
68                  * This type is extensible,
69                  * possible extensions are below.
70                  */
71         } choice;
72         
73         /* Context for parsing across buffer boundaries */
74         asn_struct_ctx_t _asn_ctx;
75 } Cause_t;
76
77 /* Implementation */
78 extern asn_TYPE_descriptor_t asn_DEF_Cause;
79 extern asn_CHOICE_specifics_t asn_SPC_Cause_specs_1;
80 extern asn_TYPE_member_t asn_MBR_Cause_1[4];
81 extern asn_per_constraints_t asn_PER_type_Cause_constr_1;
82
83 #ifdef __cplusplus
84 }
85 #endif
86
87 #endif  /* _Cause_H_ */
88 #include "asn_internal.h"