Peter Szilagyi | fbc56f9 | 2019-07-23 19:29:46 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "X2AP-IEs" |
| 4 | * found in "Spec/e2ap-v031ex.asn" |
| 5 | * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER` |
| 6 | */ |
| 7 | |
| 8 | #ifndef _Cause_H_ |
| 9 | #define _Cause_H_ |
| 10 | |
| 11 | |
| 12 | #include <asn_application.h> |
| 13 | |
| 14 | /* Including external dependencies */ |
| 15 | #include "CauseRadioNetwork.h" |
| 16 | #include "CauseTransport.h" |
| 17 | #include "CauseProtocol.h" |
| 18 | #include "CauseMisc.h" |
| 19 | #include <constr_CHOICE.h> |
| 20 | |
| 21 | #ifdef __cplusplus |
| 22 | extern "C" { |
| 23 | #endif |
| 24 | |
| 25 | /* Dependencies */ |
| 26 | typedef enum Cause_PR { |
| 27 | Cause_PR_NOTHING, /* No components present */ |
| 28 | Cause_PR_radioNetwork, |
| 29 | Cause_PR_transport, |
| 30 | Cause_PR_protocol, |
| 31 | Cause_PR_misc |
| 32 | /* Extensions may appear below */ |
| 33 | |
| 34 | } Cause_PR; |
| 35 | |
| 36 | /* Cause */ |
| 37 | typedef struct Cause { |
| 38 | Cause_PR present; |
| 39 | union Cause_u { |
| 40 | CauseRadioNetwork_t radioNetwork; |
| 41 | CauseTransport_t transport; |
| 42 | CauseProtocol_t protocol; |
| 43 | CauseMisc_t misc; |
| 44 | /* |
| 45 | * This type is extensible, |
| 46 | * possible extensions are below. |
| 47 | */ |
| 48 | } choice; |
| 49 | |
| 50 | /* Context for parsing across buffer boundaries */ |
| 51 | asn_struct_ctx_t _asn_ctx; |
| 52 | } Cause_t; |
| 53 | |
| 54 | /* Implementation */ |
| 55 | extern asn_TYPE_descriptor_t asn_DEF_Cause; |
| 56 | extern asn_CHOICE_specifics_t asn_SPC_Cause_specs_1; |
| 57 | extern asn_TYPE_member_t asn_MBR_Cause_1[4]; |
| 58 | extern asn_per_constraints_t asn_PER_type_Cause_constr_1; |
| 59 | |
| 60 | #ifdef __cplusplus |
| 61 | } |
| 62 | #endif |
| 63 | |
| 64 | #endif /* _Cause_H_ */ |
| 65 | #include <asn_internal.h> |