1#ifndef MY_LIBWRAP_INCLUDED
2#define MY_LIBWRAP_INCLUDED
3
4/* Copyright (c) 2000, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
5 Use is subject to license terms.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; version 2 of the License.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
19
20#ifdef HAVE_LIBWRAP
21#include <tcpd.h>
22#include <syslog.h>
23#ifdef NEED_SYS_SYSLOG_H
24#include <sys/syslog.h>
25#endif /* NEED_SYS_SYSLOG_H */
26
27extern void my_fromhost(struct request_info *req);
28extern int my_hosts_access(struct request_info *req);
29extern char *my_eval_client(struct request_info *req);
30
31#endif /* HAVE_LIBWRAP */
32#endif /* MY_LIBWRAP_INCLUDED */
33