summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6d/log.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-11-02 20:24:59 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-11-02 20:24:59 +0000
commit21fd201e17b979e77710deeb3abb54c7a2d911ce (patch)
tree7a843a499ad92a431f6fc67b1b08944f15d57869 /usr.sbin/ospf6d/log.h
parent5dfb6db929c9e9f9ca4cb190f229e5748e0c0d74 (diff)
Add IMSG_CTL_LOG_VERBOSE similar to ospfd it allows to toggle debug logging.
henning, sthen, michele like the idea
Diffstat (limited to 'usr.sbin/ospf6d/log.h')
-rw-r--r--usr.sbin/ospf6d/log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ospf6d/log.h b/usr.sbin/ospf6d/log.h
index 6d5c59cdbe4..456b0aec324 100644
--- a/usr.sbin/ospf6d/log.h
+++ b/usr.sbin/ospf6d/log.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.h,v 1.3 2009/03/29 19:07:56 stsp Exp $ */
+/* $OpenBSD: log.h,v 1.4 2009/11/02 20:24:58 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -22,6 +22,7 @@
#include <stdarg.h>
void log_init(int);
+void log_verbose(int);
void vlog(int, const char *, va_list);
void log_warn(const char *, ...);
void log_warnx(const char *, ...);