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 156 of file modules.cpp.

00157         {
00158                 char a[MAXBUF],b[MAXBUF];
00159                 strlcpy(a,s1.c_str(),MAXBUF);
00160                 strlcpy(b,s2.c_str(),MAXBUF);
00161                 strlower(a);
00162                 strlower(b);
00163                 return (strcasecmp(a,b) == 0);
00164         }


The documentation for this struct was generated from the following file:
Generated on Thu May 12 02:25:28 2005 for InspIRCd by doxygen 1.3.3