summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorhasso <hasso>2005-01-23 21:42:25 +0000
committerhasso <hasso>2005-01-23 21:42:25 +0000
commit13bfca7a1059a73a836f4813170f296a82266211 (patch)
treeb22e29cb43472038769502685209badf3302e7dd /lib/command.h
parent90b4214727b4e109a87bc99f9dfb4686e0c0a8b2 (diff)
* lib/command.[ch]: Make node_parent() function nonstatic. vtyh.c will
use it as well. * vtysh/vtysh.c: Implement walkup in node tree for vtysh as it already works in vty.
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h
index cb76896c..8fdec98f 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -329,6 +329,7 @@ vector cmd_describe_command ();
char **cmd_complete_command ();
const char *cmd_prompt (enum node_type);
int config_from_file (struct vty *, FILE *);
+enum node_type node_parent (enum node_type);
int cmd_execute_command (vector, struct vty *, struct cmd_element **, int);
int cmd_execute_command_strict (vector, struct vty *, struct cmd_element **);
void config_replace_string (struct cmd_element *, char *, ...);