X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fwildcard.h;h=3540f396511f6a688bde7e1e37da45b28c5a2a28;hb=a1f073f66f4b985bf776b9be2015136209c0c311;hp=ab6e6d71e8b63fdef694550e9dd4bc1bc845eb79;hpb=73b9d0c5cb02f0ea8350de28bc3687e0af70ea0f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/wildcard.h b/include/wildcard.h index ab6e6d71e..3540f3965 100644 --- a/include/wildcard.h +++ b/include/wildcard.h @@ -1,7 +1,23 @@ +/* +------------------------------------+ + * | Inspire Internet Relay Chat Daemon | + * +------------------------------------+ + * + * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. + * E-mail: + * + * + * + * Written by Craig Edwards, Craig McLure, and others. + * 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(char* literal, char* mask); +bool match(const char* literal, const char* mask);