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

InAddr_HashComp Struct Reference

List of all members.

Public Member Functions

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

Member Function Documentation

bool InAddr_HashComp::operator() const in_addr &  s1,
const in_addr &  s2
const [inline]
 

Definition at line 150 of file modules.cpp.

00151         {
00152                 size_t q;
00153                 size_t p;
00154                 
00155                 memcpy(&q,&s1,sizeof(size_t));
00156                 memcpy(&p,&s2,sizeof(size_t));
00157                 
00158                 return (q == p);
00159         }


The documentation for this struct was generated from the following file:
Generated on Fri Mar 25 03:49:32 2005 for InspIRCd by doxygen 1.3.3