Merge commit 'af5ee34c353ea2868a4b04b227bc1b511e1ac42b'
[osmocom-bb.git] / src / shared / libosmocore / include / osmocom / vty / vty.h
index e7399ba..8035585 100644 (file)
@@ -133,6 +133,7 @@ struct vty_app_info {
        const char *copyright;
        void *tall_ctx;
        enum node_type (*go_parent_cb)(struct vty *vty);
+       int (*is_config_node)(struct vty *vty, int node);
 };
 
 /* Prototypes. */
@@ -154,6 +155,8 @@ int vty_config_unlock (struct vty *);
 int vty_shell (struct vty *);
 int vty_shell_serv (struct vty *);
 void vty_hello (struct vty *);
+void *vty_current_index(struct vty *);
+int vty_current_node(struct vty *vty);
 
-void *tall_vty_ctx;
+extern void *tall_vty_ctx;
 #endif