diff options
Diffstat (limited to 'log.h')
-rw-r--r-- | log.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: log.h,v 1.15 2006/08/18 09:13:25 deraadt Exp $ */ | 1 | /* $OpenBSD: log.h,v 1.16 2008/06/10 04:50:25 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -49,7 +49,9 @@ typedef enum { | |||
49 | void log_init(char *, LogLevel, SyslogFacility, int); | 49 | void log_init(char *, LogLevel, SyslogFacility, int); |
50 | 50 | ||
51 | SyslogFacility log_facility_number(char *); | 51 | SyslogFacility log_facility_number(char *); |
52 | LogLevel log_level_number(char *); | 52 | const char * log_facility_name(SyslogFacility); |
53 | LogLevel log_level_number(char *); | ||
54 | const char * log_level_name(LogLevel); | ||
53 | 55 | ||
54 | void fatal(const char *, ...) __dead __attribute__((format(printf, 1, 2))); | 56 | void fatal(const char *, ...) __dead __attribute__((format(printf, 1, 2))); |
55 | void error(const char *, ...) __attribute__((format(printf, 1, 2))); | 57 | void error(const char *, ...) __attribute__((format(printf, 1, 2))); |