diff options
author | 2004-06-13 15:03:02 +0000 | |
---|---|---|
committer | 2004-06-13 15:03:02 +0000 | |
commit | 29a3b2e231eaf9783ec87c86fc83cf1664181b7b (patch) | |
tree | 03db1e0b7f8b3525412e6e5a13b74fe184cd4cc0 /usr.bin/ssh/channels.h | |
parent | List supported ciphers in man pages, tidy up ssh -c; (diff) | |
download | wireguard-openbsd-29a3b2e231eaf9783ec87c86fc83cf1664181b7b.tar.xz wireguard-openbsd-29a3b2e231eaf9783ec87c86fc83cf1664181b7b.zip |
implement session multiplexing in the client (the server has supported this
since 2.0); ok markus@
Diffstat (limited to 'usr.bin/ssh/channels.h')
-rw-r--r-- | usr.bin/ssh/channels.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/ssh/channels.h b/usr.bin/ssh/channels.h index 90ac3de5c1a..eef72c2e1b8 100644 --- a/usr.bin/ssh/channels.h +++ b/usr.bin/ssh/channels.h @@ -1,4 +1,4 @@ -/* $OpenBSD: channels.h,v 1.72 2004/05/21 11:33:11 djm Exp $ */ +/* $OpenBSD: channels.h,v 1.73 2004/06/13 15:03:02 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -76,6 +76,7 @@ struct Channel { int wfd; /* write fd */ int efd; /* extended fd */ int sock; /* sock fd */ + int ctl_fd; /* control fd (client sharing) */ int isatty; /* rfd is a tty */ int force_drain; /* force close on iEOF */ int delayed; /* fdset hack */ @@ -104,6 +105,7 @@ struct Channel { /* callback */ channel_callback_fn *confirm; channel_callback_fn *detach_user; + void *confirm_ctx; /* filter */ channel_filter_fn *input_filter; @@ -160,10 +162,11 @@ void channel_stop_listening(void); void channel_send_open(int); void channel_request_start(int, char *, int); void channel_register_cleanup(int, channel_callback_fn *); -void channel_register_confirm(int, channel_callback_fn *); +void channel_register_confirm(int, channel_callback_fn *, void *); void channel_register_filter(int, channel_filter_fn *); void channel_cancel_cleanup(int); int channel_close_fd(int *); +void channel_send_window_changes(void); /* protocol handler */ |