]> arthur.barton.de Git - ngircd-alex.git/blob - src/ngircd/class.h
deb60f47828220339bec85fd772958a255fa9873
[ngircd-alex.git] / src / ngircd / class.h
1 /*
2  * ngIRCd -- The Next Generation IRC Daemon
3  * Copyright (c)2001-2011 Alexander Barton (alex@barton.de) and Contributors.
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
12 #ifndef __class_h__
13 #define __class_h__
14
15 /**
16  * @file
17  * User class management.
18  */
19
20 #define CLASS_KLINE 0
21 #define CLASS_GLINE 1
22
23 #define CLASS_COUNT 2
24
25 GLOBAL void Class_Init PARAMS((void));
26 GLOBAL void Class_Exit PARAMS((void));
27
28 GLOBAL bool Class_AddMask PARAMS((const int Class, const char *Mask,
29                                   const time_t ValidUntil, const char *Reason));
30 GLOBAL void Class_DeleteMask PARAMS((const int Class, const char *Mask));
31
32 GLOBAL bool Class_IsMember PARAMS((const int Class, CLIENT *Client));
33
34 #endif /* __class_h__ */
35
36 /* -eof- */