summaryrefslogtreecommitdiffstats
path: root/mgmtd/mgmt_be_adapter.h
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-11-30 04:29:14 +0100
committerChristian Hopps <chopps@labn.net>2023-12-05 19:39:40 +0100
commit71ede2db9ee298fbc96ad7310a9e7e1cad4a417c (patch)
treea885c30ad765f40877a919abe995d5107fd0f01e /mgmtd/mgmt_be_adapter.h
parentlib: mgmtd: enable conn debugs when user enables client debug (diff)
downloadfrr-71ede2db9ee298fbc96ad7310a9e7e1cad4a417c.tar.xz
frr-71ede2db9ee298fbc96ad7310a9e7e1cad4a417c.zip
mgmtd: enable conn debug when user enables mgmtd debugs
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'mgmtd/mgmt_be_adapter.h')
-rw-r--r--mgmtd/mgmt_be_adapter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mgmtd/mgmt_be_adapter.h b/mgmtd/mgmt_be_adapter.h
index a818d658a..e06ee115f 100644
--- a/mgmtd/mgmt_be_adapter.h
+++ b/mgmtd/mgmt_be_adapter.h
@@ -149,6 +149,9 @@ mgmt_be_get_adapter_by_name(const char *name);
extern struct mgmt_be_client_adapter *
mgmt_be_get_adapter_by_id(enum mgmt_be_client_id id);
+/* Toggle debug on or off for connected clients. */
+extern void mgmt_be_adapter_toggle_client_debug(bool set);
+
/* Fetch backend adapter config. */
extern int mgmt_be_get_adapter_config(struct mgmt_be_client_adapter *adapter,
struct nb_config_cbs **cfg_chgs);