]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/wildcard.h
Reduce size of max number of bytes in a bitfield from a 4 or 8 byte field to a 1...
[user/henk/code/inspircd.git] / include / wildcard.h
index ab6e6d71e8b63fdef694550e9dd4bc1bc845eb79..02bc6342c92f3b8c2aa490c97afaaebefc2d30d6 100644 (file)
@@ -1,7 +1,21 @@
-#include <string>
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
+ *                       E-mail:
+ *                <brain@chatspike.net>
+ *               <Craig@chatspike.net>
+ *     
+ * Written by Craig Edwards, Craig McLure, and others.
+ * 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);