summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/log.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-11-02 20:20:55 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-11-02 20:20:55 +0000
commitaa53dd77fecb39b8af5c2ae7d479db56e491f531 (patch)
tree499a42441af206e972343fcc21f513936283c24e /usr.sbin/ospfd/log.h
parent1adab4b79b2c73776ff153349b667ef99008fbd8 (diff)
Implement IMSG_CTL_LOG_VERBOSE to enable or disable debug logging on runtime.
It always annoyed me that in case of a problem I had to restart the ospf in forground debug mode and by doing so losing all routes at least twice. OK henning, sthen, michele
Diffstat (limited to 'usr.sbin/ospfd/log.h')
-rw-r--r--usr.sbin/ospfd/log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ospfd/log.h b/usr.sbin/ospfd/log.h
index ea96b9c0cc9..ff5ef25a428 100644
--- a/usr.sbin/ospfd/log.h
+++ b/usr.sbin/ospfd/log.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.h,v 1.4 2007/09/28 18:46:56 claudio Exp $ */
+/* $OpenBSD: log.h,v 1.5 2009/11/02 20:20:54 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 *, ...);