diff options
author | Damien Miller <djm@mindrot.org> | 1999-11-21 13:23:52 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-11-21 13:23:52 +1100 |
commit | 6162d1215bbff30cf0c4c19368dc85ae570d44ca (patch) | |
tree | f82956b4429cad04a2296a1ede65e147bafb92f4 /ssh.h | |
parent | f58db38f8d396ee5ea42975d9409a644e01cede8 (diff) |
- OpenBSD CVS Changes
- [channels.c]
make this compile, bad markus
- [log.c readconf.c servconf.c ssh.h]
bugfix: loglevels are per host in clientconfig,
factor out common log-level parsing code.
- [servconf.c]
remove unused index (-Wall)
- [ssh-agent.c]
only one 'extern char *__progname'
- [sshd.8]
document SIGHUP, -Q to synopsis
- [sshconnect.c serverloop.c sshd.c packet.c packet.h]
[channels.c clientloop.c]
SSH_CMSG_MAX_PACKET_SIZE, some clients use this, some need this, niels@
[hope this time my ISP stays alive during commit]
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, ...); |