diff options
author | Colin Watson <cjwatson@debian.org> | 2010-03-31 00:48:57 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2010-03-31 00:48:57 +0100 |
commit | d1a87e462e1db89f19cd960588d0c6b287cb5ccc (patch) | |
tree | f0d13e1687800f36a3c4322b94ac5230ad17bdbf /clientloop.h | |
parent | 964476f91b66c475d5b8fa1e8b28d39a97a1b56e (diff) | |
parent | 004a7fb9c6a00b13dc98f56599918a54a3506d10 (diff) |
merge 5.4p1
Diffstat (limited to 'clientloop.h')
-rw-r--r-- | clientloop.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/clientloop.h b/clientloop.h index 8bb874b38..0b8257b99 100644 --- a/clientloop.h +++ b/clientloop.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.h,v 1.22 2008/06/12 15:19:17 djm Exp $ */ | 1 | /* $OpenBSD: clientloop.h,v 1.23 2010/01/26 01:28:35 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -56,18 +56,14 @@ typedef void global_confirm_cb(int, u_int32_t seq, void *); | |||
56 | void client_register_global_confirm(global_confirm_cb *, void *); | 56 | void client_register_global_confirm(global_confirm_cb *, void *); |
57 | 57 | ||
58 | /* Multiplexing protocol version */ | 58 | /* Multiplexing protocol version */ |
59 | #define SSHMUX_VER 2 | 59 | #define SSHMUX_VER 4 |
60 | 60 | ||
61 | /* Multiplexing control protocol flags */ | 61 | /* Multiplexing control protocol flags */ |
62 | #define SSHMUX_COMMAND_OPEN 1 /* Open new connection */ | 62 | #define SSHMUX_COMMAND_OPEN 1 /* Open new connection */ |
63 | #define SSHMUX_COMMAND_ALIVE_CHECK 2 /* Check master is alive */ | 63 | #define SSHMUX_COMMAND_ALIVE_CHECK 2 /* Check master is alive */ |
64 | #define SSHMUX_COMMAND_TERMINATE 3 /* Ask master to exit */ | 64 | #define SSHMUX_COMMAND_TERMINATE 3 /* Ask master to exit */ |
65 | 65 | #define SSHMUX_COMMAND_STDIO_FWD 4 /* Open stdio fwd (ssh -W) */ | |
66 | #define SSHMUX_FLAG_TTY (1) /* Request tty on open */ | ||
67 | #define SSHMUX_FLAG_SUBSYS (1<<1) /* Subsystem request on open */ | ||
68 | #define SSHMUX_FLAG_X11_FWD (1<<2) /* Request X11 forwarding */ | ||
69 | #define SSHMUX_FLAG_AGENT_FWD (1<<3) /* Request agent forwarding */ | ||
70 | 66 | ||
71 | void muxserver_listen(void); | 67 | void muxserver_listen(void); |
72 | int muxserver_accept_control(void); | ||
73 | void muxclient(const char *); | 68 | void muxclient(const char *); |
69 | void mux_exit_message(Channel *, int); | ||