/* * NeoIRCd: NeoStats Group. Based on Hybird7 * s_gline.h: A header for the gline functions. * * Copyright (C) 2002 by the past and present ircd coders, and others. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * * $Id: s_gline.h,v 1.5 2002/09/13 16:30:03 fishwaldo Exp $ */ #ifndef INCLUDED_s_gline_h #define INCLUDED_s_gline_h #include "config.h" #include "ircd_defs.h" struct Client; struct ConfItem; extern struct ConfItem* find_gkill(struct Client* client, char *); extern struct ConfItem* find_is_glined(const char* host, const char* name); extern int remove_gline_match(const char *user, const char *host); extern void cleanup_glines(); extern void add_gline(struct ConfItem *); extern void send_glines(struct Client *client_p); #define CLEANUP_GLINES_TIME 300 dlink_list pending_glines; extern dlink_list glines; #endif