diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-11-07 20:06:19 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-11-07 20:06:19 +1100 |
commit | 7ebfc10884da0e430966cb323f57de17397f64bc (patch) | |
tree | cb4ab9a4f8cc8378a2c63ca3d46d2f94a2d5c724 /clientloop.h | |
parent | 2d963d87210c6a0c5eadfa5f02c808f6d983b47e (diff) |
- 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.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/clientloop.h b/clientloop.h index 9992d5938..b23c111cb 100644 --- a/clientloop.h +++ b/clientloop.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.h,v 1.11 2004/07/11 17:48:47 deraadt Exp $ */ | 1 | /* $OpenBSD: clientloop.h,v 1.12 2004/11/07 00:01:46 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -40,3 +40,11 @@ int client_loop(int, int, int); | |||
40 | void client_global_request_reply_fwd(int, u_int32_t, void *); | 40 | void client_global_request_reply_fwd(int, u_int32_t, void *); |
41 | void client_session2_setup(int, int, int, const char *, struct termios *, | 41 | void client_session2_setup(int, int, int, const char *, struct termios *, |
42 | int, Buffer *, char **, dispatch_fn *); | 42 | int, Buffer *, char **, dispatch_fn *); |
43 | |||
44 | /* Multiplexing control protocol flags */ | ||
45 | #define SSHMUX_COMMAND_OPEN 1 /* Open new connection */ | ||
46 | #define SSHMUX_COMMAND_ALIVE_CHECK 2 /* Check master is alive */ | ||
47 | #define SSHMUX_COMMAND_TERMINATE 3 /* Ask master to exit */ | ||
48 | |||
49 | #define SSHMUX_FLAG_TTY (1) /* Request tty on open */ | ||
50 | #define SSHMUX_FLAG_SUBSYS (1<<1) /* Subsystem request on open */ | ||