summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-10-18 04:22:57 +0200
committerLennart Poettering <lennart@poettering.net>2009-10-18 04:22:57 +0200
commit2db44abc79cf615cb47417e8706a148133a80808 (patch)
treece20fbd8783d81326e3ff2d438e2e8987fb1c08a
parent9a6070daa32be10cf342efb941b7a58aa53d9079 (diff)
dlog: introduce DAEMON_SET_VERBOSITY_AVAILABLE
-rw-r--r--libdaemon/dlog.h9
1 files 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