summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh.h
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>1999-11-19 16:04:18 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>1999-11-19 16:04:18 +0000
commitddf3d725d299d119ca439c72b169b56b24453671 (patch)
tree0c9e14fffb5a30bff2fcc9f6bb7f0b65135c7dc9 /usr.bin/ssh/ssh.h
parent9cec6e8177be909a054ef58bd3ba8ff69888236b (diff)
bugfix: loglevels are per host in clientconfig,
factor out common log-level parsing code.
Diffstat (limited to 'usr.bin/ssh/ssh.h')
-rw-r--r--usr.bin/ssh/ssh.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh.h b/usr.bin/ssh/ssh.h
index b8d103de333..b1de3d26564 100644
--- a/usr.bin/ssh/ssh.h
+++ b/usr.bin/ssh/ssh.h
@@ -13,7 +13,7 @@ Generic header file for ssh.
*/
-/* RCSID("$Id: ssh.h,v 1.21 1999/11/15 20:53:25 markus Exp $"); */
+/* RCSID("$Id: ssh.h,v 1.22 1999/11/19 16:04:17 markus Exp $"); */
#ifndef SSH_H
#define SSH_H
@@ -375,6 +375,10 @@ void log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr)
/* Logging implementation, depending on server or client */
void do_log(LogLevel level, const char *fmt, va_list args);
+/* name to facility/level */
+SyslogFacility log_facility_number(char *name);
+LogLevel log_level_number(char *name);
+
/* Output a message to syslog or stderr */
void fatal(const char *fmt, ...);
void error(const char *fmt, ...);