]> jfr.im git - irc/rqf/shadowircd.git/blame - include/reject.h
[svn] DNSBL keyword substitution is available as of 2.1.3.
[irc/rqf/shadowircd.git] / include / reject.h
CommitLineData
212380e3 1/*
2 * ircd-ratbox: A slightly useful ircd
3 * reject.h: header to a file which rejects users with prejudice
4 *
5 * Copyright (C) 2003 Aaron Sethman <androsyn@ratbox.org>
6 * Copyright (C) 2003-2004 ircd-ratbox development team
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21 * USA
22 *
23 *
24 * $Id: reject.h 6 2005-09-10 01:02:21Z nenolod $
25 */
26#ifndef INCLUDED_reject_h
27#define INCLUDED_reject_h
28
29/* amount of time to delay a rejected clients exit */
30#define DELAYED_EXIT_TIME 10
31
32extern dlink_list delay_exit;
33
34void init_reject(void);
35int check_reject(struct Client *);
36void add_reject(struct Client *);
37void flush_reject(void);
38int remove_reject(const char *ip);
39#endif
40