diff options
author | Damien Miller <djm@mindrot.org> | 2011-06-23 08:31:57 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2011-06-23 08:31:57 +1000 |
commit | 6d7b4377dd740a215ded149b5ffbc871ba7891f8 (patch) | |
tree | dbde34093e0e630dbaf229294855b2bee108b039 /clientloop.h | |
parent | 69ff1df952eebf0489b775a60ede094eaf596a05 (diff) |
- djm@cvs.openbsd.org 2011/06/22 22:08:42
[channels.c channels.h clientloop.c clientloop.h mux.c ssh.c]
hook up a channel confirm callback to warn the user then requested X11
forwarding was refused by the server; ok markus@
Diffstat (limited to 'clientloop.h')
-rw-r--r-- | clientloop.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/clientloop.h b/clientloop.h index ad588d14d..a259b5e14 100644 --- a/clientloop.h +++ b/clientloop.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.h,v 1.27 2011/05/08 12:52:01 djm Exp $ */ | 1 | /* $OpenBSD: clientloop.h,v 1.28 2011/06/22 22:08:42 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -56,6 +56,10 @@ int client_simple_escape_filter(Channel *, char *, int); | |||
56 | typedef void global_confirm_cb(int, u_int32_t seq, void *); | 56 | typedef void global_confirm_cb(int, u_int32_t seq, void *); |
57 | void client_register_global_confirm(global_confirm_cb *, void *); | 57 | void client_register_global_confirm(global_confirm_cb *, void *); |
58 | 58 | ||
59 | /* Channel request confirmation callbacks */ | ||
60 | enum confirm_action { CONFIRM_WARN = 0, CONFIRM_CLOSE, CONFIRM_TTY }; | ||
61 | void client_expect_confirm(int, const char *, enum confirm_action); | ||
62 | |||
59 | /* Multiplexing protocol version */ | 63 | /* Multiplexing protocol version */ |
60 | #define SSHMUX_VER 4 | 64 | #define SSHMUX_VER 4 |
61 | 65 | ||