summaryrefslogtreecommitdiff
path: root/clientloop.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-11-07 20:06:19 +1100
committerDarren Tucker <dtucker@zip.com.au>2004-11-07 20:06:19 +1100
commit7ebfc10884da0e430966cb323f57de17397f64bc (patch)
treecb4ab9a4f8cc8378a2c63ca3d46d2f94a2d5c724 /clientloop.h
parent2d963d87210c6a0c5eadfa5f02c808f6d983b47e (diff)
downloadopenssh-git-7ebfc10884da0e430966cb323f57de17397f64bc.tar.gz
- djm@cvs.openbsd.org 2004/11/07 00:01:46
[clientloop.c clientloop.h ssh.1 ssh.c] add basic control of a running multiplex master connection; including the ability to check its status and request it to exit; ok markus@
Diffstat (limited to 'clientloop.h')
-rw-r--r--clientloop.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/clientloop.h b/clientloop.h
index 9992d593..b23c111c 100644
--- a/clientloop.h
+++ b/clientloop.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: clientloop.h,v 1.11 2004/07/11 17:48:47 deraadt Exp $ */
+/* $OpenBSD: clientloop.h,v 1.12 2004/11/07 00:01:46 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -40,3 +40,11 @@ int client_loop(int, int, int);
void client_global_request_reply_fwd(int, u_int32_t, void *);
void client_session2_setup(int, int, int, const char *, struct termios *,
int, Buffer *, char **, dispatch_fn *);
+
+/* Multiplexing control protocol flags */
+#define SSHMUX_COMMAND_OPEN 1 /* Open new connection */
+#define SSHMUX_COMMAND_ALIVE_CHECK 2 /* Check master is alive */
+#define SSHMUX_COMMAND_TERMINATE 3 /* Ask master to exit */
+
+#define SSHMUX_FLAG_TTY (1) /* Request tty on open */
+#define SSHMUX_FLAG_SUBSYS (1<<1) /* Subsystem request on open */