From 82e52e0f21c12aa5b7270032c32b38e1fa33aa28 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Tue, 26 Mar 2024 19:24:45 +0200 Subject: lib: common debug config output Implement common code for debug config output and remove daemon-specific code that is duplicated everywhere. Signed-off-by: Igor Ryzhov --- lib/debug.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/debug.h') diff --git a/lib/debug.h b/lib/debug.h index 90385d87d9..60f42e3071 100644 --- a/lib/debug.h +++ b/lib/debug.h @@ -64,11 +64,15 @@ PREDECL_LIST(debug_list); * manipulate the flags field in a multithreaded environment results in * undefined behavior. * + * conf + * The configuration string that will be written to the config file. + * * desc * Human-readable description of this debugging record. */ struct debug { atomic_uint_fast32_t flags; + const char *conf; const char *desc; struct debug_list_item item; -- cgit v1.2.3