X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fwildcard.h;h=196350134a55c4c5730dc4fc6b0327c3c42b1542;hb=db0c7fae77b60857adf9dd083a1b6ce524a6808f;hp=63877795d77a75f79d78a04a86729a39d4e3d2d4;hpb=740b09e2aee345c6fde199986d8eab6e0db224e3;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/wildcard.h b/include/wildcard.h index 63877795d..196350134 100644 --- a/include/wildcard.h +++ b/include/wildcard.h @@ -2,22 +2,18 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * Inspire is copyright (C) 2002-2004 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); - +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);