summaryrefslogtreecommitdiff
path: root/lib/log_vty.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-04-08 14:29:18 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2021-06-18 20:56:53 +0200
commitba9256d2d089034e66d7c06734a4495afba9513d (patch)
tree485b0cd3c2425fdcfef5d454f092930d8c842aad /lib/log_vty.h
parent9c2aa9192198769264df3d127332358b73983aed (diff)
lib: add hook for `show logging` CLI
... so additional targets can print their state. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/log_vty.h')
-rw-r--r--lib/log_vty.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/log_vty.h b/lib/log_vty.h
index f0fb7d3dba..913ff5f88e 100644
--- a/lib/log_vty.h
+++ b/lib/log_vty.h
@@ -37,6 +37,8 @@ extern void log_show_syslog(struct vty *vty);
DECLARE_HOOK(zlog_rotate, (), ());
extern void zlog_rotate(void);
+DECLARE_HOOK(zlog_cli_show, (struct vty * vty), (vty));
+
#ifdef __cplusplus
}
#endif