diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-04 11:48:49 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-15 20:06:47 +0100 |
commit | 4582586e248c35324c6c6fa0f3546be1dd70a599 (patch) | |
tree | c243429c7a9e73ac48d93e328a39f1d7adce6e39 | |
parent | 7225fd18e07d28f3df2816d571f7368f3fe6fd7c (diff) |
bsc: Add a method that will queue the message on a MSC connection.
-rw-r--r-- | openbsc/include/openbsc/osmo_bsc.h | 2 | ||||
-rw-r--r-- | openbsc/src/bsc/osmo_bsc_sccp.c | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/osmo_bsc.h b/openbsc/include/openbsc/osmo_bsc.h index 8bfd3c04a..4ad94b51b 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 8df3c208b..5ffbde0cb 100644 --- a/openbsc/src/bsc/osmo_bsc_sccp.c +++ b/openbsc/src/bsc/osmo_bsc_sccp.c @@ -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); |