1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>InspIRCd: InAddr_HashComp struct Reference</title>
4 <link href="inspircd.css" rel="stylesheet" type="text/css">
6 <!-- Generated by Doxygen 1.3.3 -->
7 <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
8 <h1>InAddr_HashComp Struct Reference</h1><a href="structInAddr__HashComp-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
10 <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
11 <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="structInAddr__HashComp.html#a0">operator()</a> (const in_addr &s1, const in_addr &s2) const</td></tr>
14 <hr><h2>Member Function Documentation</h2>
15 <a name="a0" doxytag="InAddr_HashComp::operator()"></a><p>
16 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
19 <table cellpadding="0" cellspacing="0" border="0">
21 <td class="md" nowrap valign="top"> bool InAddr_HashComp::operator() </td>
22 <td class="md" valign="top">( </td>
23 <td class="md" nowrap valign="top">const in_addr & </td>
24 <td class="mdname" nowrap> <em>s1</em>, </td>
29 <td class="md" nowrap>const in_addr & </td>
30 <td class="mdname" nowrap> <em>s2</em></td>
34 <td class="md">) </td>
35 <td class="md" colspan="2"> const<code> [inline]</code></td>
42 <table cellspacing=5 cellpadding=0 border=0>
52 Definition at line <a class="el" href="modules_8cpp-source.html#l00157">157</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
54 <div class="fragment"><pre>00158 {
58 00162 memcpy(&q,&s1,<span class="keyword">sizeof</span>(size_t));
59 00163 memcpy(&p,&s2,<span class="keyword">sizeof</span>(size_t));
61 00165 <span class="keywordflow">return</span> (q == p);
66 <hr>The documentation for this struct was generated from the following file:<ul>
67 <li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
68 <hr size="1"><address style="align: right;"><small>Generated on Mon Mar 28 21:09:32 2005 for InspIRCd by
69 <a href="http://www.doxygen.org/index.html">
70 <img src="doxygen.png" alt="doxygen" align="middle" border=0 >
71 </a>1.3.3 </small></address>