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=3c83427e53ced9d6589c738cf45b24e536ac2177;hb=ab1fcebeff1593bf50bd091706a9b2f447db88cf;hpb=c7f075236b5930f191e784a69c782e7a9d24bc58 diff --git a/src/ngircd/match.h b/src/ngircd/match.h index 3c83427e..d4107fb6 100644 --- a/src/ngircd/match.h +++ b/src/ngircd/match.h @@ -1,27 +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.2 2002/12/12 12:23:43 alex Exp $ - * - * Wildcard pattern matching (header) */ - #ifndef __match_h__ #define __match_h__ +/** + * @file + * Wildcard pattern matching (header) + */ -GLOBAL BOOLEAN Match PARAMS(( CHAR *Pattern, CHAR *String )); +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- */