aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-01-20 21:54:21 +0100
committerHarald Welte <laforge@gnumonks.org>2016-02-15 14:27:16 +0100
commit38933afdd95f9e809c2e3a15ff860d22b22f27c4 (patch)
treea90f70e2bf43158a5527b0965b6ad5dc724cb18d /include
parent6a0f0f9e21e46055dd8481036c75f49d89863639 (diff)
introduce + use new generic vty_get_phy_instance()
this function is intended to be used by VTY commands that need to resolve a given PHY interface.
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/vty.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmo-bts/vty.h b/include/osmo-bts/vty.h
index 5d8d4a73..f91f5e78 100644
--- a/include/osmo-bts/vty.h
+++ b/include/osmo-bts/vty.h
@@ -17,6 +17,8 @@ enum bts_vty_node {
extern struct cmd_element ournode_exit_cmd;
extern struct cmd_element ournode_end_cmd;
+struct phy_instance *vty_get_phy_instance(struct vty *vty, int phy_nr, int inst_nr);
+
int bts_vty_go_parent(struct vty *vty);
int bts_vty_is_config_node(struct vty *vty, int node);