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 _HNB_GWResponse_H_ |
| 9 | #define _HNB_GWResponse_H_ |
| 10 | |
| 11 | |
| 12 | #include <asn_application.h> |
| 13 | |
| 14 | /* Including external dependencies */ |
Neels Hofmeyr | f1f2d7c | 2016-01-05 12:00:06 +0100 | [diff] [blame] | 15 | #include <osmocom/hnbap/HNBConfigInfo.h> |
| 16 | #include <osmocom/hnbap/RNC-ID.h> |
| 17 | #include <osmocom/hnbap/UnknownU-RNTIIndication.h> |
Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 18 | #include <constr_CHOICE.h> |
| 19 | |
| 20 | #ifdef __cplusplus |
| 21 | extern "C" { |
| 22 | #endif |
| 23 | |
| 24 | /* Dependencies */ |
| 25 | typedef enum HNB_GWResponse_PR { |
| 26 | HNB_GWResponse_PR_NOTHING, /* No components present */ |
| 27 | HNB_GWResponse_PR_hNB, |
| 28 | HNB_GWResponse_PR_macroRNC, |
| 29 | HNB_GWResponse_PR_unknownU_RNTIIndication, |
| 30 | /* Extensions may appear below */ |
| 31 | |
| 32 | } HNB_GWResponse_PR; |
| 33 | |
| 34 | /* HNB-GWResponse */ |
| 35 | typedef struct HNB_GWResponse { |
| 36 | HNB_GWResponse_PR present; |
| 37 | union HNB_GWResponse_u { |
| 38 | HNBConfigInfo_t hNB; |
| 39 | RNC_ID_t macroRNC; |
| 40 | UnknownU_RNTIIndication_t unknownU_RNTIIndication; |
| 41 | /* |
| 42 | * This type is extensible, |
| 43 | * possible extensions are below. |
| 44 | */ |
| 45 | } choice; |
| 46 | |
| 47 | /* Context for parsing across buffer boundaries */ |
| 48 | asn_struct_ctx_t _asn_ctx; |
| 49 | } HNB_GWResponse_t; |
| 50 | |
| 51 | /* Implementation */ |
| 52 | extern asn_TYPE_descriptor_t asn_DEF_HNB_GWResponse; |
| 53 | |
| 54 | #ifdef __cplusplus |
| 55 | } |
| 56 | #endif |
| 57 | |
| 58 | #endif /* _HNB_GWResponse_H_ */ |
| 59 | #include <asn_internal.h> |