summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/monitor_wrap.h
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2003-09-23 20:17:12 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2003-09-23 20:17:12 +0000
commit2a189bfd0a5929ead66912f07789b8181460ec6c (patch)
treefb3806b30b6f7d9302a25f51952668806252810d /usr.bin/ssh/monitor_wrap.h
parent9c3c6364fdfeaa9e90ff68eab3b3b7d230517bbf (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/monitor_wrap.h')
-rw-r--r--usr.bin/ssh/monitor_wrap.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/ssh/monitor_wrap.h b/usr.bin/ssh/monitor_wrap.h
index 92f940a4a72..f03222aef73 100644
--- a/usr.bin/ssh/monitor_wrap.h
+++ b/usr.bin/ssh/monitor_wrap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor_wrap.h,v 1.11 2003/08/28 12:54:34 markus Exp $ */
+/* $OpenBSD: monitor_wrap.h,v 1.12 2003/09/23 20:17:11 markus Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
@@ -40,6 +40,7 @@ struct mm_master;
struct passwd;
struct Authctxt;
+int mm_is_monitor(void);
DH *mm_choose_dh(int, int, int);
int mm_key_sign(Key *, u_char **, u_int *, u_char *, u_int);
void mm_inform_authserv(char *, char *);
@@ -63,9 +64,10 @@ OM_uint32 mm_ssh_gssapi_accept_ctx(Gssctxt *ctxt,
int mm_ssh_gssapi_userok(char *user);
#endif
+struct Session;
void mm_terminate(void);
int mm_pty_allocate(int *, int *, char *, int);
-void mm_session_pty_cleanup2(void *);
+void mm_session_pty_cleanup2(struct Session *);
/* SSHv1 interfaces */
void mm_ssh1_session_id(u_char *);