]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/wildcard.h
DO NOT USE THIS COMMIT - if you do, most of the modules wont work.
[user/henk/code/inspircd.git] / include / wildcard.h
index ab6e6d71e8b63fdef694550e9dd4bc1bc845eb79..90660c6eff0952acdbb4cf3b2aa2720e6682440a 100644 (file)
@@ -1,7 +1,19 @@
-#include <string>
-#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(char* literal, char* mask);
+#include "inspircd_config.h"
 
+bool match(const char *str, const char *mask);
+bool match(const char *str, const char *mask, bool use_cidr_match);
+bool match(bool case_sensitive, const char *str, const char *mask);
+bool match(bool case_sensitive, const char *str, const char *mask, bool use_cidr_match);