bsc: Add a method that will queue the message on a MSC connection.
diff --git a/openbsc/include/openbsc/osmo_bsc.h b/openbsc/include/openbsc/osmo_bsc.h
index 8bfd3c0..4ad94b5 100644
--- a/openbsc/include/openbsc/osmo_bsc.h
+++ b/openbsc/include/openbsc/osmo_bsc.h
@@ -7,4 +7,6 @@
struct bsc_api *osmo_bsc_api();
+int bsc_queue_for_msc(struct gsm_subscriber_connection *conn, struct msgb *msg);
+
#endif
diff --git a/openbsc/src/bsc/osmo_bsc_sccp.c b/openbsc/src/bsc/osmo_bsc_sccp.c
index 8df3c20..5ffbde0 100644
--- a/openbsc/src/bsc/osmo_bsc_sccp.c
+++ b/openbsc/src/bsc/osmo_bsc_sccp.c
@@ -68,6 +68,13 @@
return 0;
}
+int bsc_queue_for_msc(struct gsm_subscriber_connection *conn, struct msgb *msg)
+{
+ LOGP(DMSC, LOGL_ERROR, "Sending SCCP messages is not yet implemented.\n");
+ msgb_free(msg);
+ return 0;
+}
+
int osmo_bsc_sccp_init(struct gsm_network *gsmnet)
{
sccp_set_log_area(DSCCP);