aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Huemer <alexander.huemer@xx.vu>2011-09-06 00:09:48 +0200
committerHarald Welte <laforge@gnumonks.org>2011-09-06 09:32:13 +0200
commit59947a0329628792e3eb8ea349ee359a37026022 (patch)
treec8965726e9b8c6bea6178556f7961c980ca2b75e
parent135a6bd3c66a827a5481cc35e05234081ec3b46b (diff)
fix some "implicit declaration" warnings in osmo-nitb
-rw-r--r--openbsc/include/openbsc/control_if.h13
-rw-r--r--openbsc/include/openbsc/handover_decision.h7
-rw-r--r--openbsc/include/openbsc/rrlp.h7
-rw-r--r--openbsc/include/openbsc/token_auth.h7
-rw-r--r--openbsc/src/osmo-nitb/bsc_hack.c4
5 files changed, 38 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/control_if.h b/openbsc/include/openbsc/control_if.h
new file mode 100644
index 000000000..96fbf6bff
--- /dev/null
+++ b/openbsc/include/openbsc/control_if.h
@@ -0,0 +1,13 @@
+#ifndef _CONTROL_IF_H
+#define _CONTROL_IF_H
+
+#include <osmocom/core/write_queue.h>
+#include <openbsc/control_cmd.h>
+#include <openbsc/gsm_data.h>
+
+int ctrl_cmd_send(struct osmo_wqueue *queue, struct ctrl_cmd *cmd);
+int ctrl_cmd_handle(struct ctrl_cmd *cmd, void *data);
+int controlif_setup(struct gsm_network *gsmnet, uint16_t port);
+
+#endif /* _CONTROL_IF_H */
+
diff --git a/openbsc/include/openbsc/handover_decision.h b/openbsc/include/openbsc/handover_decision.h
new file mode 100644
index 000000000..81078b05d
--- /dev/null
+++ b/openbsc/include/openbsc/handover_decision.h
@@ -0,0 +1,7 @@
+#ifndef _HANDOVER_DECISION_H
+#define _HANDOVER_DECISION_H
+
+void on_dso_load_ho_dec(void);
+
+#endif /* _HANDOVER_DECISION_H */
+
diff --git a/openbsc/include/openbsc/rrlp.h b/openbsc/include/openbsc/rrlp.h
new file mode 100644
index 000000000..c89402a2d
--- /dev/null
+++ b/openbsc/include/openbsc/rrlp.h
@@ -0,0 +1,7 @@
+#ifndef _RRLP_H
+#define _RRLP_H
+
+void on_dso_load_rrlp(void);
+
+#endif /* _RRLP_H */
+
diff --git a/openbsc/include/openbsc/token_auth.h b/openbsc/include/openbsc/token_auth.h
new file mode 100644
index 000000000..47dc7aa94
--- /dev/null
+++ b/openbsc/include/openbsc/token_auth.h
@@ -0,0 +1,7 @@
+#ifndef _TOKEN_AUTH_H
+#define _TOKEN_AUTH_H
+
+void on_dso_load_token(void);
+
+#endif /* _TOKEN_AUTH_H */
+
diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c
index b41b80807..001d8f9a4 100644
--- a/openbsc/src/osmo-nitb/bsc_hack.c
+++ b/openbsc/src/osmo-nitb/bsc_hack.c
@@ -42,6 +42,10 @@
#include <openbsc/vty.h>
#include <openbsc/bss.h>
#include <openbsc/mncc.h>
+#include <openbsc/token_auth.h>
+#include <openbsc/handover_decision.h>
+#include <openbsc/rrlp.h>
+#include <openbsc/control_if.h>
#include "../../bscconfig.h"