Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "HNBAP-IEs" |
| 4 | * found in "../../asn1/hnbap/HNBAP-IEs.asn" |
Harald Welte | ff4750f | 2015-08-31 09:55:28 +0200 | [diff] [blame] | 5 | * `asn1c -gen-PER` |
Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 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 | |
| 57 | #ifdef __cplusplus |
| 58 | } |
| 59 | #endif |
| 60 | |
| 61 | #endif /* _Cause_H_ */ |
| 62 | #include <asn_internal.h> |