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=0e8df74a25df204f50ce896247c12a9c81ea3134;hb=27b9d32bf2a851c4acbfdc4d9aa5a55d12c92c10;hpb=d4eb55c79fb130844a08279cd574a19f188ffa99 diff --git a/src/ngircd/match.h b/src/ngircd/match.h index 0e8df74a..d4107fb6 100644 --- a/src/ngircd/match.h +++ b/src/ngircd/match.h @@ -1,28 +1,31 @@ /* * 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 * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. - * - * $Id: match.h,v 1.4 2006/10/06 21:23:47 fw Exp $ - * - * Wildcard pattern matching (header) */ - #ifndef __match_h__ #define __match_h__ +/** + * @file + * 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- */