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_filter.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_filter.c')
-rw-r--r-- | openbsc/src/osmo-bsc/osmo_bsc_filter.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_filter.c b/openbsc/src/osmo-bsc/osmo_bsc_filter.c index 5925d115c..3443bbed4 100644 --- a/openbsc/src/osmo-bsc/osmo_bsc_filter.c +++ b/openbsc/src/osmo-bsc/osmo_bsc_filter.c @@ -122,14 +122,14 @@ static int is_cm_service_for_emerg(struct msgb *msg) return cm->cm_service_type == GSM48_CMSERV_EMERGENCY; } -struct osmo_msc_data *bsc_find_msc(struct gsm_subscriber_connection *conn, +struct bsc_msc_data *bsc_find_msc(struct gsm_subscriber_connection *conn, struct msgb *msg) { struct gsm48_hdr *gh; int8_t pdisc; uint8_t mtype; struct osmo_bsc_data *bsc; - struct osmo_msc_data *msc, *pag_msc; + struct bsc_msc_data *msc, *pag_msc; struct gsm_subscriber *subscr; int is_emerg = 0; @@ -315,7 +315,7 @@ static int bsc_patch_mm_info(struct gsm_subscriber_connection *conn, return 0; } -static int has_core_identity(struct osmo_msc_data *msc) +static int has_core_identity(struct bsc_msc_data *msc) { if (msc->core_mnc != -1) return 1; @@ -333,7 +333,7 @@ static int has_core_identity(struct osmo_msc_data *msc) */ int bsc_scan_msc_msg(struct gsm_subscriber_connection *conn, struct msgb *msg) { - struct osmo_msc_data *msc; + struct bsc_msc_data *msc; struct gsm_network *net; struct gsm48_loc_area_id *lai; struct gsm48_hdr *gh; |