diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-08-10 17:09:52 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-08-10 17:09:52 +0000 |
commit | a712baa8e566bfd8403a3e2bfdf350a0dc50ea9f (patch) | |
tree | 87dd64b7ca8331c29936a32aab69e9f09f63dccf /tcp-accept.h | |
parent | 254e8e34524db48e5ad73d26a923d20b03dd8bf3 (diff) |
just checkpointing
--HG--
extra : convert_revision : fbbf404290f3fea3dfa9f6f53eba9389057e9044
Diffstat (limited to 'tcp-accept.h')
-rw-r--r-- | tcp-accept.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tcp-accept.h b/tcp-accept.h new file mode 100644 index 0000000..96ddb76 --- /dev/null +++ b/tcp-accept.h @@ -0,0 +1,19 @@ +#ifndef _REMOTETCPFWD_H +#define _REMOTETCPFWD_H + +struct TCPListener { + + /* Local ones */ + unsigned char *localaddr; /* Can be NULL */ + unsigned int localport; + /* Remote ones: */ + unsigned char *remoteaddr; + unsigned int remoteport; + const struct ChanType *chantype; + +}; + +void recv_msg_global_request_remotetcp(); +int listen_tcpfwd(struct TCPListener* tcpinfo); + +#endif /* _REMOTETCPFWD_H */ |