Blob


1 /*
2 * ngIRCd -- The Next Generation IRC Daemon
3 * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 * Please read the file COPYING, README and AUTHORS for more information.
10 *
11 * $Id: lists.h,v 1.12 2005/03/19 18:43:49 fw Exp $
12 *
13 * Management of IRC lists: ban, invite, ... (header)
14 */
17 #ifndef __lists_h__
18 #define __lists_h__
21 GLOBAL void Lists_Init PARAMS(( void ));
22 GLOBAL void Lists_Exit PARAMS(( void ));
24 GLOBAL bool Lists_CheckInvited PARAMS(( CLIENT *Client, CHANNEL *Chan ));
25 GLOBAL bool Lists_AddInvited PARAMS(( char *Mask, CHANNEL *Chan, bool OnlyOnce ));
26 GLOBAL void Lists_DelInvited PARAMS(( char *Mask, CHANNEL *Chan ));
27 GLOBAL bool Lists_ShowInvites PARAMS(( CLIENT *Client, CHANNEL *Channel ));
28 GLOBAL bool Lists_SendInvites PARAMS(( CLIENT *Client ));
29 GLOBAL bool Lists_IsInviteEntry PARAMS(( char *Mask, CHANNEL *Chan ));
31 GLOBAL bool Lists_CheckBanned PARAMS(( CLIENT *Client, CHANNEL *Chan ));
32 GLOBAL bool Lists_AddBanned PARAMS(( char *Mask, CHANNEL *Chan ));
33 GLOBAL void Lists_DelBanned PARAMS(( char *Mask, CHANNEL *Chan ));
34 GLOBAL bool Lists_ShowBans PARAMS(( CLIENT *Client, CHANNEL *Channel ));
35 GLOBAL bool Lists_SendBans PARAMS(( CLIENT *Client ));
36 GLOBAL bool Lists_IsBanEntry PARAMS(( char *Mask, CHANNEL *Chan ));
38 GLOBAL void Lists_DeleteChannel PARAMS(( CHANNEL *Chan ));
40 GLOBAL char *Lists_MakeMask PARAMS(( char *Pattern ));
43 #endif
46 /* -eof- */