X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fclass.h;h=f118284b8a875cc343791a6672f32919be3a3203;hb=dbfe1beca83a80c7fc9e25470a75bca78f64d634;hp=8c06c2e2dde562b84f18703933574bd364ed471b;hpb=6ef20e0f9a6c6f82fbb82b6c60f98b8e8b401b8d;p=ngircd-alex.git diff --git a/src/ngircd/class.h b/src/ngircd/class.h index 8c06c2e2..f118284b 100644 --- a/src/ngircd/class.h +++ b/src/ngircd/class.h @@ -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 @@ -25,11 +25,13 @@ 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));