From 7a2c86b67d6df9bc0ff132211f4fc6608f44131b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 26 Aug 2010 15:38:42 +0800 Subject: vty: Provide a is_config_node for the VTY and use it for the bsc Right now only bsc_hack and osmo_bsc need to have a custom config handling as they use the subscr/oml nodes. --- openbsc/include/openbsc/vty.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/include/openbsc/vty.h') diff --git a/openbsc/include/openbsc/vty.h b/openbsc/include/openbsc/vty.h index 2b9fccc3f..8c75c5812 100644 --- a/openbsc/include/openbsc/vty.h +++ b/openbsc/include/openbsc/vty.h @@ -33,4 +33,6 @@ enum bsc_vty_node { NAT_BSC_NODE, }; +extern int bsc_vty_is_config_node(struct vty *vty, int node); + #endif -- cgit v1.2.3