X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fwildcard.h;h=90660c6eff0952acdbb4cf3b2aa2720e6682440a;hb=3ec7995bf4981119115d14ce2cfce0cb5795f803;hp=ab6e6d71e8b63fdef694550e9dd4bc1bc845eb79;hpb=73b9d0c5cb02f0ea8350de28bc3687e0af70ea0f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/wildcard.h b/include/wildcard.h index ab6e6d71e..90660c6ef 100644 --- a/include/wildcard.h +++ b/include/wildcard.h @@ -1,7 +1,19 @@ -#include -#include "inspircd_config.h" +/* +------------------------------------+ + * | Inspire Internet Relay Chat Daemon | + * +------------------------------------+ + * + * 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. + * + * --------------------------------------------------- + */ -void Delete(char* str,int pos); -void Insert(char* substr,char* str,int pos); -bool match(char* literal, char* mask); +#include "inspircd_config.h" +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);