summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2004-06-15 10:34:08 +1000
committerDamien Miller <djm@mindrot.org>2004-06-15 10:34:08 +1000
commit0e220dbfbcc9fe252e8f1f4890dbfa415aad35db (patch)
treeb78bab0c628cd5bdb0ec95340f533a1be2fae75f /channels.h
parent05202ffe214115afa24bf6e7a6d8c8457e6759bb (diff)
- djm@cvs.openbsd.org 2004/06/13 15:03:02
[channels.c channels.h clientloop.c clientloop.h includes.h readconf.c] [readconf.h scp.1 sftp.1 ssh.1 ssh.c ssh_config.5] implement session multiplexing in the client (the server has supported this since 2.0); ok markus@
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/channels.h b/channels.h
index 0a49c55ea..41f3cedd3 100644
--- a/channels.h
+++ b/channels.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: channels.h,v 1.72 2004/05/21 11:33:11 djm Exp $ */ 1/* $OpenBSD: channels.h,v 1.73 2004/06/13 15:03:02 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -76,6 +76,7 @@ struct Channel {
76 int wfd; /* write fd */ 76 int wfd; /* write fd */
77 int efd; /* extended fd */ 77 int efd; /* extended fd */
78 int sock; /* sock fd */ 78 int sock; /* sock fd */
79 int ctl_fd; /* control fd (client sharing) */
79 int isatty; /* rfd is a tty */ 80 int isatty; /* rfd is a tty */
80 int wfd_isatty; /* wfd is a tty */ 81 int wfd_isatty; /* wfd is a tty */
81 int force_drain; /* force close on iEOF */ 82 int force_drain; /* force close on iEOF */
@@ -105,6 +106,7 @@ struct Channel {
105 /* callback */ 106 /* callback */
106 channel_callback_fn *confirm; 107 channel_callback_fn *confirm;
107 channel_callback_fn *detach_user; 108 channel_callback_fn *detach_user;
109 void *confirm_ctx;
108 110
109 /* filter */ 111 /* filter */
110 channel_filter_fn *input_filter; 112 channel_filter_fn *input_filter;
@@ -161,10 +163,11 @@ void channel_stop_listening(void);
161void channel_send_open(int); 163void channel_send_open(int);
162void channel_request_start(int, char *, int); 164void channel_request_start(int, char *, int);
163void channel_register_cleanup(int, channel_callback_fn *); 165void channel_register_cleanup(int, channel_callback_fn *);
164void channel_register_confirm(int, channel_callback_fn *); 166void channel_register_confirm(int, channel_callback_fn *, void *);
165void channel_register_filter(int, channel_filter_fn *); 167void channel_register_filter(int, channel_filter_fn *);
166void channel_cancel_cleanup(int); 168void channel_cancel_cleanup(int);
167int channel_close_fd(int *); 169int channel_close_fd(int *);
170void channel_send_window_changes(void);
168 171
169/* protocol handler */ 172/* protocol handler */
170 173