blob: 1ce4c2329e84e06b1f3f8a13f31ac78d42b5a57e [file] [log] [blame]
Harald Welted523a692015-08-30 23:11:19 +02001/*
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 Welteff4750f2015-08-31 09:55:28 +02005 * `asn1c -gen-PER`
Harald Welted523a692015-08-30 23:11:19 +02006 */
7
8#ifndef _Cause_H_
9#define _Cause_H_
10
11
12#include <asn_application.h>
13
14/* Including external dependencies */
Neels Hofmeyrf1f2d7c2016-01-05 12:00:06 +010015#include <osmocom/hnbap/CauseRadioNetwork.h>
16#include <osmocom/hnbap/CauseTransport.h>
17#include <osmocom/hnbap/CauseProtocol.h>
18#include <osmocom/hnbap/CauseMisc.h>
Harald Welted523a692015-08-30 23:11:19 +020019#include <constr_CHOICE.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/* Dependencies */
26typedef 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 */
37typedef 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 */
55extern asn_TYPE_descriptor_t asn_DEF_Cause;
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif /* _Cause_H_ */
62#include <asn_internal.h>