From 2db44abc79cf615cb47417e8706a148133a80808 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 18 Oct 2009 04:22:57 +0200 Subject: dlog: introduce DAEMON_SET_VERBOSITY_AVAILABLE --- libdaemon/dlog.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libdaemon/dlog.h b/libdaemon/dlog.h index 0803d36..def000d 100644 --- a/libdaemon/dlog.h +++ b/libdaemon/dlog.h @@ -85,8 +85,13 @@ void daemon_logv(int prio, const char* t, va_list ap); */ char *daemon_ident_from_argv0(char *argv0); -/** - * @brief Setter for the verbosity level of standard output. +/** This variable is defined to 1 iff daemon_set_verbosity() is available. + * @since 0.14 + * @see daemon_set_verbosity() + */ +#define DAEMON_SET_VERBOSITY_AVAILABLE 1 + +/** Setter for the verbosity level of standard output. * * @param verbosity_prio Minimum priority level for messages to output * on standard output/error -- cgit