diff options
author | Darren Tucker <dtucker@zip.com.au> | 2008-06-13 04:50:27 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2008-06-13 04:50:27 +1000 |
commit | 9f407c4422a7f8283eda674e10755d0b4f1c2413 (patch) | |
tree | 64b489e36a0e022ecd27b87c19d7529bf3733464 /clientloop.h | |
parent | 2fb66caca2c9e69c6a0584060114fcd52e59d5ff (diff) |
- djm@cvs.openbsd.org 2008/06/12 04:06:00
[clientloop.h ssh.c clientloop.c]
maintain an ordered queue of outstanding global requests that we
expect replies to, similar to the per-channel confirmation queue.
Use this queue to verify success or failure for remote forward
establishment in a race free way.
ok dtucker@
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 cecbfb1a..3353a9a8 100644 --- a/clientloop.h +++ b/clientloop.h @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.h,v 1.20 2008/06/12 03:40:52 djm Exp $ */ +/* $OpenBSD: clientloop.h,v 1.21 2008/06/12 04:06:00 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -50,6 +50,10 @@ int client_request_tun_fwd(int, int, int); void *client_new_escape_filter_ctx(int); int client_simple_escape_filter(Channel *, char *, int); +/* Global request confirmation callbacks */ +typedef void global_confirm_cb(int, u_int32_t seq, void *); +void client_register_global_confirm(global_confirm_cb *, void *); + /* Multiplexing protocol version */ #define SSHMUX_VER 2 |