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.11 2004/04/25 15:40:19 alex 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 BOOLEAN Lists_CheckInvited PARAMS(( CLIENT *Client, CHANNEL *Chan ));
25 GLOBAL BOOLEAN Lists_AddInvited PARAMS(( CHAR *Mask, CHANNEL *Chan, BOOLEAN OnlyOnce ));
26 GLOBAL VOID Lists_DelInvited PARAMS(( CHAR *Mask, CHANNEL *Chan ));
27 GLOBAL BOOLEAN Lists_ShowInvites PARAMS(( CLIENT *Client, CHANNEL *Channel ));
28 GLOBAL BOOLEAN Lists_SendInvites PARAMS(( CLIENT *Client ));
29 GLOBAL BOOLEAN Lists_IsInviteEntry PARAMS(( CHAR *Mask, CHANNEL *Chan ));
31 GLOBAL BOOLEAN Lists_CheckBanned PARAMS(( CLIENT *Client, CHANNEL *Chan ));
32 GLOBAL BOOLEAN Lists_AddBanned PARAMS(( CHAR *Mask, CHANNEL *Chan ));
33 GLOBAL VOID Lists_DelBanned PARAMS(( CHAR *Mask, CHANNEL *Chan ));
34 GLOBAL BOOLEAN Lists_ShowBans PARAMS(( CLIENT *Client, CHANNEL *Channel ));
35 GLOBAL BOOLEAN Lists_SendBans PARAMS(( CLIENT *Client ));
36 GLOBAL BOOLEAN 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- */