summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-12-21 14:58:35 +1100
committerDamien Miller <djm@mindrot.org>2001-12-21 14:58:35 +1100
commite737856350287104a12f5a97c81fad1f7bcd7096 (patch)
tree7d65ebfd3156be17043fa01341feba379f8d10d2 /channels.h
parent5a6b4fe22583394886092aad5787b5fa8355276e (diff)
- markus@cvs.openbsd.org 2001/12/20 16:37:29
[channels.c channels.h session.c] setup x11 listen socket for just one connect if the client requests so. (v2 only, but the openssh client does not support this feature).
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/channels.h b/channels.h
index 840268fc..e994aaeb 100644
--- a/channels.h
+++ b/channels.h
@@ -32,7 +32,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* RCSID("$OpenBSD: channels.h,v 1.53 2001/11/29 21:10:51 stevesk Exp $"); */
+/* RCSID("$OpenBSD: channels.h,v 1.54 2001/12/20 16:37:29 markus Exp $"); */
#ifndef CHANNEL_H
#define CHANNEL_H
@@ -96,6 +96,7 @@ struct Channel {
int local_consumed;
int local_maxpacket;
int extended_usage;
+ int single_connection;
char *ctype; /* type */
@@ -197,9 +198,8 @@ channel_request_forwarding(const char *, u_short, const char *, u_short, int,
/* x11 forwarding */
int x11_connect_display(void);
-int x11_create_display_inet(int, int);
+int x11_create_display_inet(int, int, int);
void x11_input_open(int, int, void *);
-void x11_request_forwarding(void);
void x11_request_forwarding_with_spoofing(int, const char *, const char *);
void deny_input_open(int, int, void *);