summaryrefslogtreecommitdiffhomepage
path: root/tcpfwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcpfwd.h')
-rw-r--r--tcpfwd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tcpfwd.h b/tcpfwd.h
index f50515c..251612e 100644
--- a/tcpfwd.h
+++ b/tcpfwd.h
@@ -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);