diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2003-09-23 20:17:12 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2003-09-23 20:17:12 +0000 |
commit | 2a189bfd0a5929ead66912f07789b8181460ec6c (patch) | |
tree | fb3806b30b6f7d9302a25f51952668806252810d /usr.bin/ssh/session.h | |
parent | 9c3c6364fdfeaa9e90ff68eab3b3b7d230517bbf (diff) |
replace fatal_cleanup() and linked list of fatal callbacks with static
cleanup_exit() function. re-refine cleanup_exit() where appropriate,
allocate sshd's authctxt eary to allow simpler cleanup in sshd.
tested by many, ok deraadt@
Diffstat (limited to 'usr.bin/ssh/session.h')
-rw-r--r-- | usr.bin/ssh/session.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/session.h b/usr.bin/ssh/session.h index 525e47f64ec..405b8fe8a91 100644 --- a/usr.bin/ssh/session.h +++ b/usr.bin/ssh/session.h @@ -1,4 +1,4 @@ -/* $OpenBSD: session.h,v 1.20 2003/08/22 10:56:09 markus Exp $ */ +/* $OpenBSD: session.h,v 1.21 2003/09/23 20:17:11 markus Exp $ */ /* * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. @@ -56,13 +56,14 @@ struct Session { }; void do_authenticated(Authctxt *); +void do_cleanup(Authctxt *); int session_open(Authctxt *, int); int session_input_channel_req(Channel *, const char *); void session_close_by_pid(pid_t, int); void session_close_by_channel(int, void *); void session_destroy_all(void (*)(Session *)); -void session_pty_cleanup2(void *); +void session_pty_cleanup2(Session *); Session *session_new(void); Session *session_by_tty(char *); |