aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/hnbap/Cause.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/hnbap/Cause.h')
-rw-r--r--include/osmocom/hnbap/Cause.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/include/osmocom/hnbap/Cause.h b/include/osmocom/hnbap/Cause.h
new file mode 100644
index 0000000..549cc79
--- /dev/null
+++ b/include/osmocom/hnbap/Cause.h
@@ -0,0 +1,62 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "HNBAP-IEs"
+ * found in "../../asn1/hnbap/HNBAP-IEs.asn"
+ * `asn1c -gen-PER`
+ */
+
+#ifndef _Cause_H_
+#define _Cause_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/osmo-iuh/hnbap/CauseRadioNetwork.h>
+#include <osmocom/osmo-iuh/hnbap/CauseTransport.h>
+#include <osmocom/osmo-iuh/hnbap/CauseProtocol.h>
+#include <osmocom/osmo-iuh/hnbap/CauseMisc.h>
+#include <constr_CHOICE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum Cause_PR {
+ Cause_PR_NOTHING, /* No components present */
+ Cause_PR_radioNetwork,
+ Cause_PR_transport,
+ Cause_PR_protocol,
+ Cause_PR_misc,
+ /* Extensions may appear below */
+
+} Cause_PR;
+
+/* Cause */
+typedef struct Cause {
+ Cause_PR present;
+ union Cause_u {
+ CauseRadioNetwork_t radioNetwork;
+ CauseTransport_t transport;
+ CauseProtocol_t protocol;
+ CauseMisc_t misc;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+ } choice;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} Cause_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_Cause;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _Cause_H_ */
+#include <asn_internal.h>