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

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


The documentation for this struct was generated from the following file:
Generated on Wed Apr 20 15:47:11 2005 for InspIRCd by doxygen 1.3.3