aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-01-19 01:21:39 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-01-19 16:03:15 +0100
commit9af36d7844501206e1480eebc4c9a80e875c52b3 (patch)
tree4dd1054ff52534f6d55447363d56835ac1ad0a81 /include
parentb99e0251a1665ef33726f00d676cf135aabb5a8d (diff)
osmo_bsc_mgcp: cosmetic: introduce mgcp_init(), soak up fsm init
A subsequent patch will add registration of a signal; cosmetically prepare by creating a common mgcp_init() function. It makes sense for the FSM registration to move to it. Change-Id: I510e1081171706eb3d9fb2db50a9aa4f768929b5
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/osmo_bsc_mgcp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/bsc/osmo_bsc_mgcp.h b/include/osmocom/bsc/osmo_bsc_mgcp.h
index 7452513e1..1e0633170 100644
--- a/include/osmocom/bsc/osmo_bsc_mgcp.h
+++ b/include/osmocom/bsc/osmo_bsc_mgcp.h
@@ -52,6 +52,8 @@ struct mgcp_ctx {
mgcp_trans_id_t mgw_pending_trans;
};
+void mgcp_init(struct gsm_network *net);
+
struct mgcp_ctx *mgcp_assignm_req(void *ctx, struct mgcp_client *mgcp, struct osmo_bsc_sccp_con *conn,
enum gsm48_chan_mode chan_mode, bool full_rate);
void mgcp_clear_complete(struct mgcp_ctx *mgcp_ctx, struct msgb *resp);