add listen-timeout to function as an accept timeout
[socat/sam.git] / xio-tcpwrap.h
blob1a715b994555fb57afc12fa563ba9fa78d81fb98
1 /* source: xio-tcpwrap.h */
2 /* Copyright Gerhard Rieger 2006 */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 #ifndef __xio_tcpwrap_h_included
6 #define __xio_tcpwrap_h_included 1
8 #if (WITH_TCP || WITH_UDP) && WITH_LIBWRAP
10 extern const struct optdesc opt_tcpwrappers;
11 extern const struct optdesc opt_tcpwrap_etc;
12 extern const struct optdesc opt_tcpwrap_hosts_allow_table;
13 extern const struct optdesc opt_tcpwrap_hosts_deny_table;
15 extern int xio_retropt_tcpwrap(xiosingle_t *xfd, struct opt *opts);
16 extern
17 int xio_tcpwrap_check(xiosingle_t *xfd, union sockaddr_union *us,
18 union sockaddr_union *them);
20 #endif /* (WITH_TCP || WITH_UDP) && WITH_LIBWRAP */
22 #endif /* !defined(__xio_tcpwrap_h_included) */