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-11-12 15:50:36 +0100
commitb8d11ed1c0ba2681786ca27d67f83d9875eff8f5 (patch)
tree587b2772f44c899305f3c6436a0d3b08b39dd658 /openbsc/include
parentf0773e14f861d4e26985c380865438fa34c34617 (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);