Mercurial > dropbear
diff tcpfwd.h @ 505:805e557fdff7
Report errors if a remote request fails
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 02 Nov 2008 12:25:08 +0000 |
parents | 52a644e7b8e1 |
children | c3f2ec71e3d4 69e98c45db7c |
line wrap: on
line diff
--- a/tcpfwd.h Sun Nov 02 12:01:39 2008 +0000 +++ b/tcpfwd.h Sun Nov 02 12:25:08 2008 +0000 @@ -49,6 +49,8 @@ const unsigned char* connectaddr; unsigned int connectport; unsigned int listenport; + unsigned int have_reply; /* is set to 1 after a reply has been received + when setting up the forwarding */ struct TCPFwdList * next; }; @@ -62,6 +64,8 @@ void setup_localtcp(); void setup_remotetcp(); extern const struct ChanType cli_chan_tcpremote; +void cli_recv_msg_request_success(); +void cli_recv_msg_request_failure(); /* Common */ int listen_tcpfwd(struct TCPListener* tcpinfo);