view tcp-accept.h @ 62:20563735e8b5

just checkpointing
author Matt Johnston <matt@ucc.asn.au>
date Tue, 10 Aug 2004 17:09:52 +0000
parents
children dcc43965928f
line wrap: on
line source
#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 */