summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/session.h
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2003-09-23 20:17:11 +0000
committermarkus <markus@openbsd.org>2003-09-23 20:17:11 +0000
commitb8b8936d994927e3a0afdbb493b901039038a5d1 (patch)
treecb294d035132ecd2afeb1ba6a2bf6281efd34944 /usr.bin/ssh/session.h
parentsimplify by using getifaddrs. cedric@ ok (diff)
downloadwireguard-openbsd-b8b8936d994927e3a0afdbb493b901039038a5d1.tar.xz
wireguard-openbsd-b8b8936d994927e3a0afdbb493b901039038a5d1.zip
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.h5
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 *);