aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/osmo_msc_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/include/openbsc/osmo_msc_data.h')
-rw-r--r--openbsc/include/openbsc/osmo_msc_data.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/openbsc/include/openbsc/osmo_msc_data.h b/openbsc/include/openbsc/osmo_msc_data.h
index 59b75c303..6f9f3a2b0 100644
--- a/openbsc/include/openbsc/osmo_msc_data.h
+++ b/openbsc/include/openbsc/osmo_msc_data.h
@@ -57,20 +57,30 @@ struct osmo_msc_data {
/* destinations */
struct llist_head dests;
+ /* ussd welcome text */
+ char *ussd_welcome_txt;
/* mgcp agent */
struct osmo_wqueue mgcp_agent;
+};
+
+/*
+ * Per BSC data.
+ */
+struct osmo_bsc_data {
+ struct gsm_network *network;
+
+ /* msc configuration */
+ struct osmo_msc_data msc;
/* rf ctl related bits */
char *mid_call_txt;
int mid_call_timeout;
char *rf_ctrl_name;
struct osmo_bsc_rf *rf_ctrl;
-
- /* ussd welcome text */
- char *ussd_welcome_txt;
};
+
int osmo_bsc_msc_init(struct gsm_network *network);
int osmo_bsc_sccp_init(struct gsm_network *gsmnet);
int msc_queue_write(struct bsc_msc_connection *conn, struct msgb *msg, int proto);