diff options
Diffstat (limited to 'ssh.h')
-rw-r--r-- | ssh.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -13,7 +13,7 @@ Generic header file for ssh. | |||
13 | 13 | ||
14 | */ | 14 | */ |
15 | 15 | ||
16 | /* RCSID("$Id: ssh.h,v 1.13 1999/11/16 02:37:17 damien Exp $"); */ | 16 | /* RCSID("$Id: ssh.h,v 1.14 1999/11/21 02:23:53 damien Exp $"); */ |
17 | 17 | ||
18 | #ifndef SSH_H | 18 | #ifndef SSH_H |
19 | #define SSH_H | 19 | #define SSH_H |
@@ -392,6 +392,10 @@ void log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) | |||
392 | /* Logging implementation, depending on server or client */ | 392 | /* Logging implementation, depending on server or client */ |
393 | void do_log(LogLevel level, const char *fmt, va_list args); | 393 | void do_log(LogLevel level, const char *fmt, va_list args); |
394 | 394 | ||
395 | /* name to facility/level */ | ||
396 | SyslogFacility log_facility_number(char *name); | ||
397 | LogLevel log_level_number(char *name); | ||
398 | |||
395 | /* Output a message to syslog or stderr */ | 399 | /* Output a message to syslog or stderr */ |
396 | void fatal(const char *fmt, ...); | 400 | void fatal(const char *fmt, ...); |
397 | void error(const char *fmt, ...); | 401 | void error(const char *fmt, ...); |