]> arthur.barton.de Git - ngircd-alex.git/blob - src/ngircd/lists.h
- New functions Channel_[Set]Key(), Channel_[Set]MaxUsers.
[ngircd-alex.git] / src / ngircd / lists.h
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.9 2002/12/12 12:23:43 alex Exp $
12  *
13  * Management of IRC lists: ban, invite, ... (header)
14  */
15
16
17 #ifndef __lists_h__
18 #define __lists_h__
19
20
21 GLOBAL VOID Lists_Init PARAMS(( VOID ));
22 GLOBAL VOID Lists_Exit PARAMS(( VOID ));
23
24 GLOBAL BOOLEAN Lists_CheckInvited PARAMS(( CLIENT *Client, CHANNEL *Chan ));
25 GLOBAL BOOLEAN Lists_AddInvited PARAMS(( CLIENT *From, 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
29 GLOBAL BOOLEAN Lists_CheckBanned PARAMS(( CLIENT *Client, CHANNEL *Chan ));
30 GLOBAL BOOLEAN Lists_AddBanned PARAMS(( CLIENT *From, CHAR *Mask, CHANNEL *Chan ));
31 GLOBAL VOID Lists_DelBanned PARAMS(( CHAR *Mask, CHANNEL *Chan ));
32 GLOBAL BOOLEAN Lists_ShowBans PARAMS(( CLIENT *Client, CHANNEL *Channel ));
33
34 GLOBAL VOID Lists_DeleteChannel PARAMS(( CHANNEL *Chan ));
35
36 GLOBAL CHAR *Lists_MakeMask PARAMS(( CHAR *Pattern ));
37
38
39 #endif
40
41
42 /* -eof- */