diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-06-03 00:29:51 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-06-03 02:03:15 +0300 |
| commit | c22789620db38f388e5800d6d0e3b708b44be2f5 (patch) | |
| tree | a64027d2ac901f11326511fc7c972d309c8cf5c1 /lib/command.h | |
| parent | d532d1092e165dc9b7164039c0366c4f2856c9f9 (diff) | |
lib, vtysh: reduce code duplication
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/command.h')
| -rw-r--r-- | lib/command.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h index 51da4c52e6..1536bb1449 100644 --- a/lib/command.h +++ b/lib/command.h @@ -574,6 +574,7 @@ extern void cmd_init_config_callbacks(void (*start_config_cb)(void), 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_find_cmds(struct vty *vty, struct cmd_token **argv, int argc); extern int cmd_domainname_set(const char *domainname); extern int cmd_hostname_set(const char *hostname); |
