aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-29 06:32:36 +0700
committerlaforge <laforge@osmocom.org>2020-11-02 11:16:59 +0000
commita72a0765a4687ba4c24a3b299768b7c87f97e1a2 (patch)
tree28ab15ddf569fe18852864b290a69b437010abaf /include
parent850607295ca451c7f68233f9a34d4b845b673e87 (diff)
main: register VTY commands before handle_options()
Otherwise only those commands that are registered by libosmocore appear in the generated XML VTY reference - change the order. Instead of a pointer to 'struct gsm_bts', pass the application's talloc context, as it's only used for dynamic command allocation. Change-Id: Ic356a950da85de02c82e9882a5fbadaaa6929680 Related: SYS#4937, OS#3036
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/vty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmo-bts/vty.h b/include/osmo-bts/vty.h
index b6e3f0d3..c9840d11 100644
--- a/include/osmo-bts/vty.h
+++ b/include/osmo-bts/vty.h
@@ -22,7 +22,7 @@ struct phy_instance *vty_get_phy_instance(struct vty *vty, int phy_nr, int inst_
int bts_vty_go_parent(struct vty *vty);
int bts_vty_is_config_node(struct vty *vty, int node);
-int bts_vty_init(struct gsm_bts *bts);
+int bts_vty_init(void *ctx);
struct gsm_network *gsmnet_from_vty(struct vty *v);