2 * ngIRCd -- The Next Generation IRC Daemon
3 * Copyright (c)2001-2011 Alexander Barton (alex@barton.de) and Contributors.
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.
17 * Management of IRC lists (header)
26 struct list_elem *first;
29 GLOBAL struct list_elem *Lists_GetFirst PARAMS((const struct list_head *));
30 GLOBAL struct list_elem *Lists_GetNext PARAMS((const struct list_elem *));
32 GLOBAL bool Lists_Check PARAMS((struct list_head *head, CLIENT *client));
33 GLOBAL bool Lists_CheckDupeMask PARAMS((const struct list_head *head,
36 GLOBAL bool Lists_Add PARAMS((struct list_head *h, const char *Mask,
37 time_t ValidUntil, const char *Reason));
38 GLOBAL void Lists_Del PARAMS((struct list_head *head, const char *Mask));
40 GLOBAL bool Lists_AlreadyRegistered PARAMS((const struct list_head *head,
43 GLOBAL void Lists_Free PARAMS((struct list_head *head));
45 GLOBAL const char *Lists_MakeMask PARAMS((const char *Pattern));
46 GLOBAL const char *Lists_GetMask PARAMS((const struct list_elem *e));
47 GLOBAL const char *Lists_GetReason PARAMS((const struct list_elem *e));
48 GLOBAL time_t Lists_GetValidity PARAMS((const struct list_elem *e));