summaryrefslogtreecommitdiff
path: root/usr.sbin/nsd/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/nsd/util.h')
-rw-r--r--usr.sbin/nsd/util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/nsd/util.h b/usr.sbin/nsd/util.h
index 89d4963a846..2e7ccf7bf48 100644
--- a/usr.sbin/nsd/util.h
+++ b/usr.sbin/nsd/util.h
@@ -75,6 +75,11 @@ log_function_type log_file;
log_function_type log_syslog;
/*
+ * The function used to log to syslog only.
+ */
+log_function_type log_only_syslog;
+
+/*
* Set the logging function to use (log_file or log_syslog).
*/
void log_set_log_function(log_function_type *log_function);