bsc: Add a method that will queue the message on a MSC connection.

This commit is contained in:
Holger Hans Peter Freyther 2010-11-04 11:48:49 +01:00
parent 7225fd18e0
commit 4582586e24
2 changed files with 9 additions and 0 deletions

View File

@ -7,4 +7,6 @@
struct bsc_api *osmo_bsc_api();
int bsc_queue_for_msc(struct gsm_subscriber_connection *conn, struct msgb *msg);
#endif

View File

@ -68,6 +68,13 @@ static int msc_sccp_read(struct msgb *msgb, unsigned int length, void *data)
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);