diff options
Diffstat (limited to 'tcpfwd.h')
-rw-r--r-- | tcpfwd.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -49,6 +49,8 @@ struct TCPFwdList { 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 @@ extern const struct ChanType svr_chan_tcpdirect; 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); |