X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fwildcard.h;h=90660c6eff0952acdbb4cf3b2aa2720e6682440a;hb=3ec7995bf4981119115d14ce2cfce0cb5795f803;hp=3540f396511f6a688bde7e1e37da45b28c5a2a28;hpb=1383dba43e463f292aea094d01f62f355946049d;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/wildcard.h b/include/wildcard.h index 3540f3965..90660c6ef 100644 --- a/include/wildcard.h +++ b/include/wildcard.h @@ -2,22 +2,18 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * - * - * - * Written by Craig Edwards, Craig McLure, and others. + * InspIRCd: (C) 2002-2007 InspIRCd Development Team + * See: http://www.inspircd.org/wiki/index.php/Credits + * * This program is free but copyrighted software; see * the file COPYING for details. * * --------------------------------------------------- */ -#include #include "inspircd_config.h" -void Delete(char* str,int pos); -void Insert(char* substr,char* str,int pos); -bool match(const char* literal, const char* mask); - +bool match(const char *str, const char *mask); +bool match(const char *str, const char *mask, bool use_cidr_match); +bool match(bool case_sensitive, const char *str, const char *mask); +bool match(bool case_sensitive, const char *str, const char *mask, bool use_cidr_match);