aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-12 01:16:58 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-29 13:15:35 +0200
commit3aa96c7e14e818b6146e2fc5374fedaa3e4a29cf (patch)
treefd4d39ee4cc800baaf00ed6e78f95b6ad7c13b2a /openbsc/include
parentb18b7fb660c3182f4890e3d0461a2efeea395676 (diff)
move to libxsc: network VTY that isn't BSC-specific
Keep only BSC specific bits of the 'network' VTY node in bsc_vty.c, move more general VTY commands to xsc_vty.c. Add arg to xsc_vty_init() to pass a config_write_net() function. Pass a libbsc specific config_write_net() function. Future: upcoming omso-cscn will re-use the VTY bits moved to libxsc and pass a different config_write_net() function. Change-Id: I871b7b32a0c56fdce983e409cf244ec487d24e71
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/xsc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/xsc.h b/openbsc/include/openbsc/xsc.h
index a2f43eb7d..643285758 100644
--- a/openbsc/include/openbsc/xsc.h
+++ b/openbsc/include/openbsc/xsc.h
@@ -22,5 +22,6 @@ struct gsm_network *gsm_network_init(void *ctx,
uint16_t network_code,
mncc_recv_cb_t mncc_recv);
-int xsc_vty_init(struct gsm_network *network);
+int xsc_vty_init(struct gsm_network *network,
+ int (* config_write_net )(struct vty *));
struct gsm_network *gsmnet_from_vty(struct vty *v);