diff options
author | Damien Miller <djm@mindrot.org> | 2000-04-20 07:42:21 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-04-20 07:42:21 +1000 |
commit | 166fca8894807de71b741a779330bd23edfec013 (patch) | |
tree | 387371567ce5b3c89c52e18f3a22348f1456af8d /ssh.h | |
parent | 3ef692aa05a4b0d94a114be0826d32d0c8f67f1b (diff) |
- Sync with OpenBSD CVS:
[clientloop.c login.c serverloop.c ssh-agent.c ssh.h sshconnect.c sshd.c]
- pid_t
[session.c]
- remove bogus chan_read_failed. this could cause data
corruption (missing data) at end of a SSH2 session.
Diffstat (limited to 'ssh.h')
-rw-r--r-- | ssh.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -13,7 +13,7 @@ | |||
13 | * | 13 | * |
14 | */ | 14 | */ |
15 | 15 | ||
16 | /* RCSID("$Id: ssh.h,v 1.32 2000/04/16 01:18:47 damien Exp $"); */ | 16 | /* RCSID("$Id: ssh.h,v 1.33 2000/04/19 21:42:22 damien Exp $"); */ |
17 | 17 | ||
18 | #ifndef SSH_H | 18 | #ifndef SSH_H |
19 | #define SSH_H | 19 | #define SSH_H |
@@ -288,14 +288,14 @@ get_last_login_time(uid_t uid, const char *logname, | |||
288 | * by login(1). | 288 | * by login(1). |
289 | */ | 289 | */ |
290 | void | 290 | void |
291 | record_login(int pid, const char *ttyname, const char *user, uid_t uid, | 291 | record_login(pid_t pid, const char *ttyname, const char *user, uid_t uid, |
292 | const char *host, struct sockaddr *addr); | 292 | const char *host, struct sockaddr *addr); |
293 | 293 | ||
294 | /* | 294 | /* |
295 | * Records that the user has logged out. This does many thigs normally done | 295 | * Records that the user has logged out. This does many thigs normally done |
296 | * by login(1) or init. | 296 | * by login(1) or init. |
297 | */ | 297 | */ |
298 | void record_logout(int pid, const char *ttyname); | 298 | void record_logout(pid_t pid, const char *ttyname); |
299 | 299 | ||
300 | /*------------ definitions for sshconnect.c ----------*/ | 300 | /*------------ definitions for sshconnect.c ----------*/ |
301 | 301 | ||
@@ -504,7 +504,7 @@ char *tilde_expand_filename(const char *filename, uid_t my_uid); | |||
504 | * (of the child program), and reads from stdout and stderr (of the child | 504 | * (of the child program), and reads from stdout and stderr (of the child |
505 | * program). | 505 | * program). |
506 | */ | 506 | */ |
507 | void server_loop(int pid, int fdin, int fdout, int fderr); | 507 | void server_loop(pid_t pid, int fdin, int fdout, int fderr); |
508 | void server_loop2(void); | 508 | void server_loop2(void); |
509 | 509 | ||
510 | /* Client side main loop for the interactive session. */ | 510 | /* Client side main loop for the interactive session. */ |