43 int client_loop(
struct ssh *,
int,
int,
int);
44 int client_x11_get_proto(
struct ssh *,
const char *,
const char *,
45 u_int, u_int,
char **,
char **);
46 void client_global_request_reply_fwd(
int, u_int32_t,
void *);
47 void client_session2_setup(
struct ssh *,
int,
int,
int,
48 const char *,
struct termios *,
int,
struct sshbuf *,
char **);
49 char *client_request_tun_fwd(
struct ssh *,
int,
int,
int,
50 channel_open_fn *,
void *);
51 void client_stop_mux(
void);
54 void *client_new_escape_filter_ctx(
int);
55 void client_filter_cleanup(
struct ssh *,
int,
void *);
56 int client_simple_escape_filter(
struct ssh *, Channel *,
char *,
int);
59 typedef void global_confirm_cb(
struct ssh *,
int, u_int32_t,
void *);
60 void client_register_global_confirm(global_confirm_cb *,
void *);
63 enum confirm_action { CONFIRM_WARN = 0, CONFIRM_CLOSE, CONFIRM_TTY };
64 void client_expect_confirm(
struct ssh *,
int,
const char *,
71 #define SSHMUX_COMMAND_OPEN 1
72 #define SSHMUX_COMMAND_ALIVE_CHECK 2
73 #define SSHMUX_COMMAND_TERMINATE 3
74 #define SSHMUX_COMMAND_STDIO_FWD 4
75 #define SSHMUX_COMMAND_FORWARD 5
76 #define SSHMUX_COMMAND_STOP 6
77 #define SSHMUX_COMMAND_CANCEL_FWD 7
78 #define SSHMUX_COMMAND_PROXY 8
80 void muxserver_listen(
struct ssh *);
81 int muxclient(
const char *);
82 void mux_exit_message(
struct ssh *, Channel *,
int);
83 void mux_tty_alloc_failed(
struct ssh *ssh, Channel *);