Version 1.8.0.0
[socat.git] / xio-tcpwrap.h
bloba7fa814d94b3d023bd0798cf177692d96df758f4
1 /* source: xio-tcpwrap.h */
2 /* Copyright Gerhard Rieger and contributors (see file CHANGES) */
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) */