X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fwildcard.h;h=196350134a55c4c5730dc4fc6b0327c3c42b1542;hb=db0c7fae77b60857adf9dd083a1b6ce524a6808f;hp=fc73c2d2a5f3048cfec2b48f544e273ce2dcabd2;hpb=800ebbf95d489010e3a99b4975c9b864d96cd0d2;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/wildcard.h b/include/wildcard.h index fc73c2d2a..196350134 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(const char* literal, const char* mask); +#include "inspircd_config.h" +CoreExport bool match(const char *str, const char *mask); +CoreExport bool match(const char *str, const char *mask, bool use_cidr_match); +CoreExport bool match(bool case_sensitive, const char *str, const char *mask); +CoreExport bool match(bool case_sensitive, const char *str, const char *mask, bool use_cidr_match);