X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fmatch.h;h=d4107fb65d357fcdab95677685fa6340378b53d5;hp=b092b967ffb026e576d133d92148faf074e93c2f;hb=808c291c76b7ecb4ae13b6ee12e8afe658b627c1;hpb=03628dbeaf40a9de34b3eb6d5bf6dd34eed8248c diff --git a/src/ngircd/match.h b/src/ngircd/match.h index b092b967..d4107fb6 100644 --- a/src/ngircd/match.h +++ b/src/ngircd/match.h @@ -1,6 +1,6 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de) + * 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 @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __match_h__ #define __match_h__ @@ -18,11 +17,15 @@ * Wildcard pattern matching (header) */ -GLOBAL bool Match PARAMS(( const char *Pattern, const char *String )); -GLOBAL bool MatchCaseInsensitive PARAMS(( const char *Pattern, const char *searchme )); +GLOBAL bool Match PARAMS((const char *Pattern, const char *String)); +GLOBAL bool MatchCaseInsensitive PARAMS((const char *Pattern, + const char *String)); -#endif +GLOBAL bool MatchCaseInsensitiveList PARAMS((const char *Pattern, + const char *String, + const char *Separator)); +#endif /* -eof- */