]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/module-doc/structirc_1_1InAddr__HashComp.html
Fixed 'fake direction' messages being put out by user->registered = 7 being set too...
[user/henk/code/inspircd.git] / docs / module-doc / structirc_1_1InAddr__HashComp.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>InspIRCd: irc::InAddr_HashComp Struct Reference</title>
4 <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css">
5 </head><body>
6 <!-- Generated by Doxygen 1.4.4-20050815 -->
7 <div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
8 <div class="nav">
9 <a class="el" href="namespaceirc.html">irc</a>::<a class="el" href="structirc_1_1InAddr__HashComp.html">InAddr_HashComp</a></div>
10 <h1>irc::InAddr_HashComp Struct Reference</h1><!-- doxytag: class="irc::InAddr_HashComp" -->This class returns true if two in_addr structs match.  
11 <a href="#_details">More...</a>
12 <p>
13 <code>#include &lt;<a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>&gt;</code>
14 <p>
15 <a href="structirc_1_1InAddr__HashComp-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
16 <tr><td></td></tr>
17 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
18 <tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirc_1_1InAddr__HashComp.html#operator_28_29_28const_20in_5Faddr_20_26s_31_2C_20const_20in_5Faddr_20_26s_32_29_20const_20">operator()</a> (const in_addr &amp;s1, const in_addr &amp;s2) const </td></tr>
19
20 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The operator () does the actual comparison in hash_map.  <a href="#operator_28_29_28const_20in_5Faddr_20_26s_31_2C_20const_20in_5Faddr_20_26s_32_29_20const_20"></a><br></td></tr>
21 </table>
22 <hr><a name="_details"></a><h2>Detailed Description</h2>
23 This class returns true if two in_addr structs match. 
24 <p>
25 Checking is done by copying both into a size_t then doing a numeric comparison of the two.
26 <p>
27
28 <p>
29 Definition at line <a class="el" href="hashcomp_8h-source.html#l00092">92</a> of file <a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>.<hr><h2>Member Function Documentation</h2>
30 <a class="anchor" name="operator_28_29_28const_20in_5Faddr_20_26s_31_2C_20const_20in_5Faddr_20_26s_32_29_20const_20"></a><!-- doxytag: member="irc::InAddr_HashComp::operator()" ref="operator_28_29_28const_20in_5Faddr_20_26s_31_2C_20const_20in_5Faddr_20_26s_32_29_20const_20" args="(const in_addr &amp;s1, const in_addr &amp;s2) const " --><p>
31 <table class="mdTable" cellpadding="2" cellspacing="0">
32   <tr>
33     <td class="mdRow">
34       <table cellpadding="0" cellspacing="0" border="0">
35         <tr>
36           <td class="md" nowrap valign="top">bool irc::InAddr_HashComp::operator()           </td>
37           <td class="md" valign="top">(&nbsp;</td>
38           <td class="md" nowrap valign="top">const in_addr &amp;&nbsp;</td>
39           <td class="mdname" nowrap> <em>s1</em>, </td>
40         </tr>
41         <tr>
42           <td class="md" nowrap align="right"></td>
43           <td class="md"></td>
44           <td class="md" nowrap>const in_addr &amp;&nbsp;</td>
45           <td class="mdname" nowrap> <em>s2</em></td>
46         </tr>
47         <tr>
48           <td class="md"></td>
49           <td class="md">)&nbsp;</td>
50           <td class="md" colspan="2"> const</td>
51         </tr>
52       </table>
53     </td>
54   </tr>
55 </table>
56 <table cellspacing="5" cellpadding="0" border="0">
57   <tr>
58     <td>
59       &nbsp;
60     </td>
61     <td>
62
63 <p>
64 The operator () does the actual comparison in hash_map. 
65 <p>
66     </td>
67   </tr>
68 </table>
69 <hr>The documentation for this struct was generated from the following file:<ul>
70 <li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
71 <hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
72 <a href="http://www.doxygen.org/index.html">
73 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
74 </body>
75 </html>