summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h
index 3c3c3ae370..8986703708 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -424,6 +424,8 @@ extern void cmd_terminate (void);
extern void cmd_exit (struct vty *vty);
extern int cmd_list_cmds (struct vty *vty, int do_permute);
+extern int cmd_hostname_set (const char *hostname);
+
/* NOT safe for general use; call this only if DEV_BUILD! */
extern void grammar_sandbox_init (void);