diff options
Diffstat (limited to 'clientloop.h')
-rw-r--r-- | clientloop.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/clientloop.h b/clientloop.h index c7d2233d0..8bb874b38 100644 --- a/clientloop.h +++ b/clientloop.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.h,v 1.17 2007/08/07 07:32:53 djm Exp $ */ | 1 | /* $OpenBSD: clientloop.h,v 1.22 2008/06/12 15:19:17 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -43,11 +43,20 @@ void client_x11_get_proto(const char *, const char *, u_int, | |||
43 | char **, char **); | 43 | char **, char **); |
44 | void client_global_request_reply_fwd(int, u_int32_t, void *); | 44 | void client_global_request_reply_fwd(int, u_int32_t, void *); |
45 | void client_session2_setup(int, int, int, const char *, struct termios *, | 45 | void client_session2_setup(int, int, int, const char *, struct termios *, |
46 | int, Buffer *, char **, dispatch_fn *); | 46 | int, Buffer *, char **); |
47 | int client_request_tun_fwd(int, int, int); | 47 | int client_request_tun_fwd(int, int, int); |
48 | 48 | ||
49 | /* Escape filter for protocol 2 sessions */ | ||
50 | void *client_new_escape_filter_ctx(int); | ||
51 | void client_filter_cleanup(int, void *); | ||
52 | int client_simple_escape_filter(Channel *, char *, int); | ||
53 | |||
54 | /* Global request confirmation callbacks */ | ||
55 | typedef void global_confirm_cb(int, u_int32_t seq, void *); | ||
56 | void client_register_global_confirm(global_confirm_cb *, void *); | ||
57 | |||
49 | /* Multiplexing protocol version */ | 58 | /* Multiplexing protocol version */ |
50 | #define SSHMUX_VER 1 | 59 | #define SSHMUX_VER 2 |
51 | 60 | ||
52 | /* Multiplexing control protocol flags */ | 61 | /* Multiplexing control protocol flags */ |
53 | #define SSHMUX_COMMAND_OPEN 1 /* Open new connection */ | 62 | #define SSHMUX_COMMAND_OPEN 1 /* Open new connection */ |
@@ -58,3 +67,7 @@ int client_request_tun_fwd(int, int, int); | |||
58 | #define SSHMUX_FLAG_SUBSYS (1<<1) /* Subsystem request on open */ | 67 | #define SSHMUX_FLAG_SUBSYS (1<<1) /* Subsystem request on open */ |
59 | #define SSHMUX_FLAG_X11_FWD (1<<2) /* Request X11 forwarding */ | 68 | #define SSHMUX_FLAG_X11_FWD (1<<2) /* Request X11 forwarding */ |
60 | #define SSHMUX_FLAG_AGENT_FWD (1<<3) /* Request agent forwarding */ | 69 | #define SSHMUX_FLAG_AGENT_FWD (1<<3) /* Request agent forwarding */ |
70 | |||
71 | void muxserver_listen(void); | ||
72 | int muxserver_accept_control(void); | ||
73 | void muxclient(const char *); | ||