]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/class.h
When sending an error use the IRC_WriteErrClient() variant
[ngircd-alex.git] / src / ngircd / class.h
index 3507836f857f0c7ce261e440f80ab0ed9396f623..f118284b8a875cc343791a6672f32919be3a3203 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * ngIRCd -- The Next Generation IRC Daemon
- * Copyright (c)2001-2011 Alexander Barton (alex@barton.de) and Contributors.
+ * Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 GLOBAL void Class_Init PARAMS((void));
 GLOBAL void Class_Exit PARAMS((void));
 
-GLOBAL bool Class_AddMask PARAMS((const int Class, const char *Mask,
+GLOBAL bool Class_AddMask PARAMS((const int Class, const char *Pattern,
                                  const time_t ValidUntil, const char *Reason));
-GLOBAL void Class_DeleteMask PARAMS((const int Class, const char *Mask));
+GLOBAL void Class_DeleteMask PARAMS((const int Class, const char *Pattern));
 
-GLOBAL bool Class_IsMember PARAMS((const int Class, CLIENT *Client));
+GLOBAL bool Class_GetMemberReason PARAMS((const int Class, CLIENT *Client,
+                                         char *reason, size_t len));
+GLOBAL bool Class_HandleServerBans PARAMS((CLIENT *Client));
 
-GLOBAL struct list_head Class_GetList PARAMS((const int Class));
+GLOBAL struct list_head *Class_GetList PARAMS((const int Class));
 
 GLOBAL void Class_Expire PARAMS((void));