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=b96456d66ed1f46a05903a13a22f74bb1aa45380;hb=0fc822d8c44be42a62d3c26bbab99d5d0bc88346;hpb=8907c8dd3d7c220a1facb6e1e815d18f0aff8357 diff --git a/src/ngircd/match.h b/src/ngircd/match.h index b96456d6..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. * - * Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen - * der GNU General Public License (GPL), wie von der Free Software Foundation - * herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2 - * der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version. - * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste - * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. - * - * $Id: match.h,v 1.1 2002/06/26 15:42:58 alex Exp $ - * - * match.h: Wildcard Pattern Matching (Header) + * 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. */ - #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- */