]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/wildcard.h
Fixes for tokenization oddness with metadata, and weird behaviour of std::istringstre...
[user/henk/code/inspircd.git] / include / wildcard.h
index 63877795d77a75f79d78a04a86729a39d4e3d2d4..196350134a55c4c5730dc4fc6b0327c3c42b1542 100644 (file)
@@ -2,22 +2,18 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  Inspire is copyright (C) 2002-2004 ChatSpike-Dev.
- *                       E-mail:
- *                <brain@chatspike.net>
- *               <Craig@chatspike.net>
- *     
- * 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 <string>
 #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);