aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/iuh/hnbgw_rua.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2016-08-18 13:13:55 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-08-29 15:56:20 +0200
commit9337472153b2346acf0d005a10561b9f3c703efe (patch)
tree5db33c6684787e74026d920d85b63dade15bd905 /include/osmocom/iuh/hnbgw_rua.h
parent0dc70e12d8c0e5f2b00442d63813a149e7350976 (diff)
build: move headers to include/osmocom/*
This came up while fixing 'make distcheck'; this is certainly not the easiest way but it makes sense to have the headers in include/, like we do in openbsc. The easy alternative might be to add -I$(top_srcdir)/src to the Makefile.am. Change-Id: I5a82e029dcdc4df0a60a31271a4883393fe59234
Diffstat (limited to 'include/osmocom/iuh/hnbgw_rua.h')
-rw-r--r--include/osmocom/iuh/hnbgw_rua.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/osmocom/iuh/hnbgw_rua.h b/include/osmocom/iuh/hnbgw_rua.h
new file mode 100644
index 0000000..6a890b7
--- /dev/null
+++ b/include/osmocom/iuh/hnbgw_rua.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include <osmocom/iuh/hnbgw.h>
+#include <osmocom/rua/RUA_Cause.h>
+
+int hnbgw_rua_rx(struct hnb_context *hnb, struct msgb *msg);
+int hnbgw_rua_init(void);
+
+int rua_tx_udt(struct hnb_context *hnb, const uint8_t *data, unsigned int len);
+int rua_tx_dt(struct hnb_context *hnb, int is_ps, uint32_t context_id,
+ const uint8_t *data, unsigned int len);
+int rua_tx_disc(struct hnb_context *hnb, int is_ps, uint32_t context_id,
+ const RUA_Cause_t *cause, const uint8_t *data, unsigned int len);