diff options
author | Darren Tucker <dtucker@zip.com.au> | 2012-09-06 21:25:37 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2012-09-06 21:25:37 +1000 |
commit | 50a48d025ffc961c3f5e48f521b406d7c49681bb (patch) | |
tree | 03407276678e5a2e9b4e5a9a21ce73c1a6857e07 /log.h | |
parent | 00c1518a4d0e610e319433fa588cc1fbdfbff0b1 (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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 { | |||
49 | typedef void (log_handler_fn)(LogLevel, const char *, void *); | 49 | typedef void (log_handler_fn)(LogLevel, const char *, void *); |
50 | 50 | ||
51 | void log_init(char *, LogLevel, SyslogFacility, int); | 51 | void log_init(char *, LogLevel, SyslogFacility, int); |
52 | void log_change_level(LogLevel); | ||
53 | int log_is_on_stderr(void); | ||
52 | 54 | ||
53 | SyslogFacility log_facility_number(char *); | 55 | SyslogFacility log_facility_number(char *); |
54 | const char * log_facility_name(SyslogFacility); | 56 | const char * log_facility_name(SyslogFacility); |