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 1b8d2142b..e3e328b06 100644
--- a/log.h
+++ b/log.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: log.h,v 1.18 2011/06/17 21:44:30 djm Exp $ */ 1/* $OpenBSD: log.h,v 1.19 2012/09/06 04:37:39 dtucker Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -49,6 +49,8 @@ typedef enum {
49typedef void (log_handler_fn)(LogLevel, const char *, void *); 49typedef void (log_handler_fn)(LogLevel, const char *, void *);
50 50
51void log_init(char *, LogLevel, SyslogFacility, int); 51void log_init(char *, LogLevel, SyslogFacility, int);
52void log_change_level(LogLevel);
53int log_is_on_stderr(void);
52 54
53SyslogFacility log_facility_number(char *); 55SyslogFacility log_facility_number(char *);
54const char * log_facility_name(SyslogFacility); 56const char * log_facility_name(SyslogFacility);