aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-09 21:18:08 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-26 02:25:46 +0200
commit663debcb90022f1ca53b0d947162774c8a1ec9c5 (patch)
tree83d47f42f9d10a730ac067b31d9c8dce3acc459c /openbsc/include
parent43d86bfc94969ac9738ce398d13bd0a974e90df0 (diff)
mscsplit: abis vty: decouple from global bsc_gsmnet variable
Publish gsmnet_from_vty() in openbsc/vty.h and use in the abis VTY functions. Change-Id: Ib65a18db06b8bc4fc7d56bf56dd64a52cc1cd253
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/vty.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/vty.h b/openbsc/include/openbsc/vty.h
index 78e87f04f..315db0d11 100644
--- a/openbsc/include/openbsc/vty.h
+++ b/openbsc/include/openbsc/vty.h
@@ -46,4 +46,6 @@ struct log_info;
int bsc_vty_init(const struct log_info *cat, struct gsm_network *network);
int bsc_vty_init_extra(void);
+struct gsm_network *gsmnet_from_vty(struct vty *vty);
+
#endif