From 9f407c4422a7f8283eda674e10755d0b4f1c2413 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 13 Jun 2008 04:50:27 +1000 Subject: - 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@ --- clientloop.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'clientloop.h') 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 @@ -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 -- cgit v1.2.3