aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc/osmo_bsc_msc.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-16 02:22:20 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-16 02:22:20 +0800
commit60980389685a033a3a4369740516b5ebdb7d1e98 (patch)
treead66ef1eaa7a451bc85c475a9cd18b970d691d44 /openbsc/src/bsc/osmo_bsc_msc.c
parent5832b3e10832f0d3d208a6a6eefffd50486b822e (diff)
bsc: Make the write method public it will be used by other modules
Diffstat (limited to 'openbsc/src/bsc/osmo_bsc_msc.c')
-rw-r--r--openbsc/src/bsc/osmo_bsc_msc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsc/src/bsc/osmo_bsc_msc.c b/openbsc/src/bsc/osmo_bsc_msc.c
index 4b7035341..864b5d73d 100644
--- a/openbsc/src/bsc/osmo_bsc_msc.c
+++ b/openbsc/src/bsc/osmo_bsc_msc.c
@@ -36,7 +36,6 @@
#include <unistd.h>
-static int msc_queue_write(struct bsc_msc_connection *conn, struct msgb *msg, int proto);
static void initialize_if_needed(struct bsc_msc_connection *conn);
static void send_id_get_response(struct osmo_msc_data *data, int fd);
static void send_ping(struct osmo_msc_data *data);
@@ -163,7 +162,7 @@ static int mgcp_create_port(struct osmo_msc_data *data)
/*
* Send data to the network
*/
-static int msc_queue_write(struct bsc_msc_connection *conn, struct msgb *msg, int proto)
+int msc_queue_write(struct bsc_msc_connection *conn, struct msgb *msg, int proto)
{
ipaccess_prepend_header(msg, proto);
if (write_queue_enqueue(&conn->write_queue, msg) != 0) {