aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-02-23 21:57:23 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-02-24 21:01:55 +0100
commita369e24cb9a583ef9906a8ef9125f6ca8c6f80bf (patch)
tree5bf4c8a82cfedf24d39fe63e4d0f0774361f7897 /openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
parenta42855f09fc74bdc801fdd7adfef27e2cdf3f371 (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_ctrl.c')
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_ctrl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c b/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
index ffde1b82d..c23ed2187 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
@@ -40,9 +40,9 @@ void osmo_bsc_send_trap(struct ctrl_cmd *cmd, struct bsc_msc_connection *msc_con
{
struct ctrl_cmd *trap;
struct ctrl_handle *ctrl;
- struct osmo_msc_data *msc_data;
+ struct bsc_msc_data *msc_data;
- msc_data = (struct osmo_msc_data *) msc_con->write_queue.bfd.data;
+ msc_data = (struct bsc_msc_data *) msc_con->write_queue.bfd.data;
ctrl = msc_data->network->ctrl;
trap = ctrl_cmd_trap(cmd);
@@ -197,7 +197,7 @@ static void generate_location_state_trap(struct gsm_bts *bts, struct bsc_msc_con
void bsc_gen_location_state_trap(struct gsm_bts *bts)
{
- struct osmo_msc_data *msc;
+ struct bsc_msc_data *msc;
llist_for_each_entry(msc, &bts->network->bsc_data->mscs, entry)
generate_location_state_trap(bts, msc->msc_con);
@@ -517,7 +517,7 @@ static int get_net_inform_msc(struct ctrl_cmd *cmd, void *data)
static int set_net_inform_msc(struct ctrl_cmd *cmd, void *data)
{
struct gsm_network *net;
- struct osmo_msc_data *msc;
+ struct bsc_msc_data *msc;
net = cmd->node;
llist_for_each_entry(msc, &net->bsc_data->mscs, entry) {