]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/wildcard.h
Fix my whoopsies
[user/henk/code/inspircd.git] / include / wildcard.h
index ab6e6d71e8b63fdef694550e9dd4bc1bc845eb79..f971d7b3464913da7f0e52c29842569a8681f38a 100644 (file)
@@ -1,7 +1,18 @@
-#include <string>
+/*       +------------------------------------+
+ *       | 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.
+ *
+ * ---------------------------------------------------
+ */
+
 #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* str, const char* mask);
+bool match(const char *str, const char *mask, bool use_cidr_match);