summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h
index c1ef0e55bd..9a77d3b87c 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -571,6 +571,12 @@ extern int cmd_execute_command_strict (vector, struct vty *, struct cmd_element
extern void cmd_init (int);
extern void cmd_terminate (void);
+/* memory management for cmd_element */
+void
+free_cmd_element(struct cmd_element *);
+struct cmd_element *
+copy_cmd_element(struct cmd_element *cmd);
+
/* Export typical functions. */
extern struct cmd_element config_end_cmd;
extern struct cmd_element config_exit_cmd;