From 4d5a17380bc71cabe544b41c7c8a26a292384f3d Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 15 May 2005 17:05:15 +0000 Subject: Added docs for hashcomp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1396 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/structInAddr__HashComp.html | 40 +++++++++++++++-------------- 1 file changed, 21 insertions(+), 19 deletions(-) (limited to 'docs/module-doc/structInAddr__HashComp.html') diff --git a/docs/module-doc/structInAddr__HashComp.html b/docs/module-doc/structInAddr__HashComp.html index 8e0f35bb7..4aebb1d97 100644 --- a/docs/module-doc/structInAddr__HashComp.html +++ b/docs/module-doc/structInAddr__HashComp.html @@ -4,14 +4,27 @@ -
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members
-

InAddr_HashComp Struct Reference

List of all members. +
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members
+

InAddr_HashComp Struct Reference

This class returns true if two in_addr structs match. +More... +

+#include <hashcomp.h> +

+List of all members.

+

Public Member Functions

bool operator() (const in_addr &s1, const in_addr &s2) const
 The operator () does the actual comparison in hash_map.

-

Member Function Documentation

+

Detailed Description

+This class returns true if two in_addr structs match. +

+Checking is done by copying both into a size_t then doing a numeric comparison of the two. +

+ +

+Definition at line 71 of file hashcomp.h.


Member Function Documentation

@@ -32,7 +45,7 @@ - +
const [inline] const
@@ -47,25 +60,14 @@

- -

-Definition at line 171 of file modules.cpp. +The operator () does the actual comparison in hash_map.

-

00172         {
-00173                 size_t q;
-00174                 size_t p;
-00175                 
-00176                 memcpy(&q,&s1,sizeof(size_t));
-00177                 memcpy(&p,&s2,sizeof(size_t));
-00178                 
-00179                 return (q == p);
-00180         }
-
+
The documentation for this struct was generated from the following file: -
Generated on Fri May 13 15:49:40 2005 for InspIRCd by +
  • hashcomp.h +
    Generated on Sun May 15 17:03:29 2005 for InspIRCd by doxygen 1.3.3
    -- cgit v1.2.3