diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-02-23 21:57:23 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-02-24 21:01:55 +0100 |
commit | a369e24cb9a583ef9906a8ef9125f6ca8c6f80bf (patch) | |
tree | 5bf4c8a82cfedf24d39fe63e4d0f0774361f7897 /openbsc/src/osmo-bsc/osmo_bsc_bssap.c | |
parent | a42855f09fc74bdc801fdd7adfef27e2cdf3f371 (diff) |
cosmetic: rename struct osmo_msc_data to bsc_msc_data
With the OsmoMSC program coming up, the name osmo_msc_data becomes even
more confusing than it already is. Clearly indicate it as libbsc's data of
a remote MSC by prefixing with bsc_.
Also, the Osmocom community has in the meantime agreed to have the osmo_
prefix only in libosmocore, to avoid naming conflicts in case things are
moved there. So while renaming anyway, also drop the osmo_ prefix.
Change-Id: I0dfbcb7d1a579211180f71319982820d8700afab
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_bssap.c')
-rw-r--r-- | openbsc/src/osmo-bsc/osmo_bsc_bssap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_bssap.c b/openbsc/src/osmo-bsc/osmo_bsc_bssap.c index 67325b3b3..dcfef4079 100644 --- a/openbsc/src/osmo-bsc/osmo_bsc_bssap.c +++ b/openbsc/src/osmo-bsc/osmo_bsc_bssap.c @@ -88,7 +88,7 @@ enum gsm48_chan_mode gsm88_to_chan_mode(enum gsm0808_permitted_speech speech) return GSM48_CMODE_SPEECH_AMR; } -static int bssmap_handle_reset_ack(struct osmo_msc_data *msc, +static int bssmap_handle_reset_ack(struct bsc_msc_data *msc, struct msgb *msg, unsigned int length) { LOGP(DMSC, LOGL_NOTICE, "Reset ACK from MSC\n"); @@ -96,7 +96,7 @@ static int bssmap_handle_reset_ack(struct osmo_msc_data *msc, } /* GSM 08.08 ยง 3.2.1.19 */ -static int bssmap_handle_paging(struct osmo_msc_data *msc, +static int bssmap_handle_paging(struct bsc_msc_data *msc, struct msgb *msg, unsigned int payload_length) { struct gsm_subscriber *subscr; @@ -286,7 +286,7 @@ static int bssmap_handle_assignm_req(struct osmo_bsc_sccp_con *conn, struct msgb *msg, unsigned int length) { struct msgb *resp; - struct osmo_msc_data *msc; + struct bsc_msc_data *msc; struct tlv_parsed tp; uint8_t *data; uint8_t timeslot; @@ -384,7 +384,7 @@ reject: return -1; } -static int bssmap_rcvmsg_udt(struct osmo_msc_data *msc, +static int bssmap_rcvmsg_udt(struct bsc_msc_data *msc, struct msgb *msg, unsigned int length) { int ret = 0; @@ -491,7 +491,7 @@ static int dtap_rcvmsg(struct osmo_bsc_sccp_con *conn, return dtap_rc; } -int bsc_handle_udt(struct osmo_msc_data *msc, +int bsc_handle_udt(struct bsc_msc_data *msc, struct msgb *msgb, unsigned int length) { struct bssmap_header *bs; |