Enhanced SIM for E2AP v1 for TS UC
[sim/e2-interface.git] / e2sim / e2apv1sim / ASN1c / Cause.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-IEs"
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 _Cause_H_
27 #define _Cause_H_
28
29
30 #include "asn_application.h"
31
32 /* Including external dependencies */
33 #include "CauseRIC.h"
34 #include "CauseRICservice.h"
35 #include "CauseTransport.h"
36 #include "CauseProtocol.h"
37 #include "CauseMisc.h"
38 #include "constr_CHOICE.h"
39
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43
44 /* Dependencies */
45 typedef enum Cause_PR {
46         Cause_PR_NOTHING,       /* No components present */
47         Cause_PR_ricRequest,
48         Cause_PR_ricService,
49         Cause_PR_transport,
50         Cause_PR_protocol,
51         Cause_PR_misc
52         /* Extensions may appear below */
53         
54 } Cause_PR;
55
56 /* Cause */
57 typedef struct Cause {
58         Cause_PR present;
59         union Cause_u {
60                 CauseRIC_t       ricRequest;
61                 CauseRICservice_t        ricService;
62                 CauseTransport_t         transport;
63                 CauseProtocol_t  protocol;
64                 CauseMisc_t      misc;
65                 /*
66                  * This type is extensible,
67                  * possible extensions are below.
68                  */
69         } choice;
70         
71         /* Context for parsing across buffer boundaries */
72         asn_struct_ctx_t _asn_ctx;
73 } Cause_t;
74
75 /* Implementation */
76 extern asn_TYPE_descriptor_t asn_DEF_Cause;
77 extern asn_CHOICE_specifics_t asn_SPC_Cause_specs_1;
78 extern asn_TYPE_member_t asn_MBR_Cause_1[5];
79 extern asn_per_constraints_t asn_PER_type_Cause_constr_1;
80
81 #ifdef __cplusplus
82 }
83 #endif
84
85 #endif  /* _Cause_H_ */
86 #include "asn_internal.h"