Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

StrHashComp Struct Reference

List of all members.

Public Member Functions

bool operator() (const string &s1, const string &s2) const

Member Function Documentation

bool StrHashComp::operator() const string &  s1,
const string &  s2
const [inline]
 

Definition at line 147 of file modules.cpp.

00148         {
00149                 char a[MAXBUF],b[MAXBUF];
00150                 strlcpy(a,s1.c_str(),MAXBUF);
00151                 strlcpy(b,s2.c_str(),MAXBUF);
00152                 strlower(a);
00153                 strlower(b);
00154                 return (strcasecmp(a,b) == 0);
00155         }


The documentation for this struct was generated from the following file:
Generated on Sat May 7 15:34:28 2005 for InspIRCd by doxygen 1.3.3