summaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2012-09-06 21:25:37 +1000
committerDarren Tucker <dtucker@zip.com.au>2012-09-06 21:25:37 +1000
commit50a48d025ffc961c3f5e48f521b406d7c49681bb (patch)
tree03407276678e5a2e9b4e5a9a21ce73c1a6857e07 /log.h
parent00c1518a4d0e610e319433fa588cc1fbdfbff0b1 (diff)
- dtucker@cvs.openbsd.org 2012/09/06 04:37:39
[clientloop.c log.c ssh.1 log.h] Add ~v and ~V escape sequences to raise and lower the logging level respectively. Man page help from jmc, ok deraadt jmc
Diffstat (limited to 'log.h')
-rw-r--r--log.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/log.h b/log.h
index 1b8d2142..e3e328b0 100644
--- a/log.h
+++ b/log.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.h,v 1.18 2011/06/17 21:44:30 djm Exp $ */
+/* $OpenBSD: log.h,v 1.19 2012/09/06 04:37:39 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -49,6 +49,8 @@ typedef enum {
typedef void (log_handler_fn)(LogLevel, const char *, void *);
void log_init(char *, LogLevel, SyslogFacility, int);
+void log_change_level(LogLevel);
+int log_is_on_stderr(void);
SyslogFacility log_facility_number(char *);
const char * log_facility_name(SyslogFacility);