summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-10-12 10:38:21 +0300
committerGitHub <noreply@github.com>2022-10-12 10:38:21 +0300
commit69c736ec06c30cfb474800cb2116998c362547a7 (patch)
tree7a92fede1baffbd5830f716407b14951a7bb6203 /lib/command.h
parent4b7ad630e0bfaf5b3a04eac62ba235a909ae561e (diff)
parentcf00164b69743b541505da8301a340d5dd9154ce (diff)
Merge pull request #12074 from donaldsharp/lib_debugs
*: Create and use infrastructure to show debugs in lib
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 70e52708a7..ca49efd262 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -649,6 +649,12 @@ extern char *cmd_variable_comp2str(vector comps, unsigned short cols);
extern void command_setup_early_logging(const char *dest, const char *level);
+/*
+ * Allow a mechanism for `debug XXX` commands that live
+ * under the lib directory to output their debug status
+ */
+extern void cmd_show_lib_debugs(struct vty *vty);
+
#ifdef __cplusplus
}
#endif