aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/rua/RUA_Cause.h
blob: 860b7e1d5293080ca05d8f8065ecb5a140f2ed2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
 * From ASN.1 module "RUA-IEs"
 * 	found in "../../asn1/rua/RUA-IEs.asn"
 * 	`asn1c -R -fcompound-names`
 */

#ifndef	_RUA_Cause_H_
#define	_RUA_Cause_H_


#include <asn_application.h>

/* Including external dependencies */
#include <osmocom/rua/RUA_CauseRadioNetwork.h>
#include <osmocom/rua/RUA_CauseTransport.h>
#include <osmocom/rua/RUA_CauseProtocol.h>
#include <osmocom/rua/RUA_CauseMisc.h>
#include <constr_CHOICE.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Dependencies */
typedef enum RUA_Cause_PR {
	RUA_Cause_PR_NOTHING,	/* No components present */
	RUA_Cause_PR_radioNetwork,
	RUA_Cause_PR_transport,
	RUA_Cause_PR_protocol,
	RUA_Cause_PR_misc,
	/* Extensions may appear below */
	
} RUA_Cause_PR;

/* RUA_Cause */
typedef struct RUA_Cause {
	RUA_Cause_PR present;
	union RUA_Cause_u {
		RUA_CauseRadioNetwork_t	 radioNetwork;
		RUA_CauseTransport_t	 transport;
		RUA_CauseProtocol_t	 protocol;
		RUA_CauseMisc_t	 misc;
		/*
		 * This type is extensible,
		 * possible extensions are below.
		 */
	} choice;
	
	/* Context for parsing across buffer boundaries */
	asn_struct_ctx_t _asn_ctx;
} RUA_Cause_t;

/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_RUA_Cause;

#ifdef __cplusplus
}
#endif

#endif	/* _RUA_Cause_H_ */
#include <asn_internal.h>