summaryrefslogtreecommitdiffhomepage
path: root/tcpfwd.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-08-26 13:16:40 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-08-26 13:16:40 +0000
commit51a74b47995cfe24ef190b7e254f768eb92735f5 (patch)
tree30a6f39236a025b53a33c3893c96e1669e5b7563 /tcpfwd.h
parent2dcd6b22d94755a4f328885f469908c441ac8534 (diff)
- added circular buffering for channels
- added stderr support for the client - cleaned up a bunch of "unused" warnings, duplicated header definitions - added exit-status support for the client --HG-- extra : convert_revision : 5bdf806d8b440c87f7235414662f4189195618f4
Diffstat (limited to 'tcpfwd.h')
-rw-r--r--tcpfwd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcpfwd.h b/tcpfwd.h
index 569d59d..504a8d3 100644
--- a/tcpfwd.h
+++ b/tcpfwd.h
@@ -47,7 +47,7 @@ struct TCPListener {
/* A link in a list of forwards */
struct TCPFwdList {
- char* connectaddr;
+ const unsigned char* connectaddr;
unsigned int connectport;
unsigned int listenport;
struct TCPFwdList * next;
@@ -60,6 +60,7 @@ extern const struct ChanType svr_chan_tcpdirect;
/* Client */
void setup_localtcp();
+void setup_remotetcp();
extern const struct ChanType cli_chan_tcpremote;
/* Common */