From 76317750956e2bf4b80478e4f0f04160d12347ce Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 15 May 2005 19:27:38 +0000 Subject: Updated strhashcomp to use irc::string internally rather than a combination of strlower and strcasecmp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1400 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/hashcomp.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/hashcomp.h') diff --git a/include/hashcomp.h b/include/hashcomp.h index b4652642b..32d155e30 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -19,6 +19,17 @@ #include "inspircd_config.h" +/** + * This file contains classes and templates that deal + * with the comparison and hashing of 'irc strings'. + * An 'irc string' is a string which compares in a + * case insensitive manner, and as per RFC 1459 will + * treat [ identical to {, ] identical to }, and \ + * as identical to |. Our hashing functions are designed + * to accept std::string and compare/hash them in an irc + * type way, irc::string is a seperate class type currently. + */ + #ifdef GCC3 #include #else -- cgit v1.2.3