2002-08-13 14:34:25 +00:00
|
|
|
/*
|
2002-09-13 06:50:09 +00:00
|
|
|
* NeoIRCd: NeoStats Group. Based on Hybird7
|
2002-08-13 14:34:25 +00:00
|
|
|
* 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
|
|
|
|
*
|
2002-09-13 16:30:05 +00:00
|
|
|
* $Id: s_gline.h,v 1.5 2002/09/13 16:30:03 fishwaldo Exp $
|
2002-08-13 14:34:25 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#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 *);
|
2002-09-13 16:30:05 +00:00
|
|
|
extern void send_glines(struct Client *client_p);
|
2002-08-13 14:34:25 +00:00
|
|
|
|
|
|
|
#define CLEANUP_GLINES_TIME 300
|
|
|
|
|
|
|
|
dlink_list pending_glines;
|
|
|
|
extern dlink_list glines;
|
|
|
|
|
|
|
|
#endif
|