summaryrefslogtreecommitdiff
path: root/docs/module-doc/hashcomp_8h-source.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/module-doc/hashcomp_8h-source.html')
-rw-r--r--docs/module-doc/hashcomp_8h-source.html97
1 files changed, 97 insertions, 0 deletions
diff --git a/docs/module-doc/hashcomp_8h-source.html b/docs/module-doc/hashcomp_8h-source.html
new file mode 100644
index 000000000..9314d0209
--- /dev/null
+++ b/docs/module-doc/hashcomp_8h-source.html
@@ -0,0 +1,97 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>InspIRCd: hashcomp.h Source File</title>
+<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.3 -->
+<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">Compound&nbsp;List</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">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
+<h1>hashcomp.h</h1><a href="hashcomp_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span>
+00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span>
+00003 <span class="comment"> * +------------------------------------+</span>
+00004 <span class="comment"> *</span>
+00005 <span class="comment"> * Inspire is copyright (C) 2002-2005 ChatSpike-Dev.</span>
+00006 <span class="comment"> * E-mail:</span>
+00007 <span class="comment"> * &lt;brain@chatspike.net&gt;</span>
+00008 <span class="comment"> * &lt;Craig@chatspike.net&gt;</span>
+00009 <span class="comment"> *</span>
+00010 <span class="comment"> * Written by Craig Edwards, Craig McLure, and others.</span>
+00011 <span class="comment"> * This program is free but copyrighted software; see</span>
+00012 <span class="comment"> * the file COPYING for details.</span>
+00013 <span class="comment"> *</span>
+00014 <span class="comment"> * ---------------------------------------------------</span>
+00015 <span class="comment"> */</span>
+00016
+00017 <span class="preprocessor">#ifndef _HASHCOMP_H_</span>
+00018 <span class="preprocessor"></span><span class="preprocessor">#define _HASHCOMP_H_</span>
+00019 <span class="preprocessor"></span>
+00020 <span class="preprocessor">#include "inspircd_config.h"</span>
+00021
+00022 <span class="preprocessor">#ifdef GCC3</span>
+00023 <span class="preprocessor"></span><span class="preprocessor">#include &lt;ext/hash_map&gt;</span>
+00024 <span class="preprocessor">#else</span>
+00025 <span class="preprocessor"></span><span class="preprocessor">#include &lt;hash_map&gt;</span>
+00026 <span class="preprocessor">#endif</span>
+00027 <span class="preprocessor"></span>
+00028 <span class="preprocessor">#ifdef GCC3</span>
+<a name="l00029"></a><a class="code" href="hashcomp_8h.html#a0">00029</a> <span class="preprocessor"></span><span class="preprocessor">#define nspace __gnu_cxx</span>
+00030 <span class="preprocessor"></span><span class="preprocessor">#else</span>
+00031 <span class="preprocessor"></span><span class="preprocessor">#define nspace std</span>
+00032 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
+00033 <span class="preprocessor"></span>
+00034 <span class="keyword">using</span> <span class="keyword">namespace </span>std;
+00035
+<a name="l00036"></a><a class="code" href="namespacenspace.html">00036</a> <span class="keyword">namespace </span><a class="code" href="channels_8cpp.html#a0">nspace</a>
+00037 {
+00038 <span class="preprocessor">#ifdef GCC34</span>
+00039 <span class="preprocessor"></span> <span class="keyword">template</span>&lt;&gt; <span class="keyword">struct </span>hash&lt;in_addr&gt;
+00040 #else
+<a name="l00041"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">00041</a> template&lt;&gt; struct <a class="code" href="channels_8cpp.html#a0">nspace</a>::hash&lt;in_addr&gt;
+00042 #endif
+00043 {
+00044 size_t operator()(<span class="keyword">const</span> <span class="keyword">struct</span> in_addr &amp;a) <span class="keyword">const</span>;
+00045 };
+00046 <span class="preprocessor">#ifdef GCC34</span>
+00047 <span class="preprocessor"></span> <span class="keyword">template</span>&lt;&gt; <span class="keyword">struct </span>hash&lt;<a class="code" href="namespaceirc.html#a0">string</a>&gt;
+00048 #else
+<a name="l00049"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">00049</a> template&lt;&gt; struct <a class="code" href="channels_8cpp.html#a0">nspace</a>::hash&lt;string&gt;
+00050 #endif
+00051 {
+00052 size_t operator()(<span class="keyword">const</span> <a class="code" href="namespaceirc.html#a0">string</a> &amp;s) <span class="keyword">const</span>;
+00053 };
+00054 }
+00055
+<a name="l00060"></a><a class="code" href="structStrHashComp.html">00060</a> <span class="keyword">struct </span><a class="code" href="structStrHashComp.html">StrHashComp</a>
+00061 {
+00064 <span class="keywordtype">bool</span> <a class="code" href="structStrHashComp.html#a0">operator()</a>(<span class="keyword">const</span> <a class="code" href="namespaceirc.html#a0">string</a>&amp; s1, <span class="keyword">const</span> <a class="code" href="namespaceirc.html#a0">string</a>&amp; s2) <span class="keyword">const</span>;
+00065 };
+00066
+<a name="l00071"></a><a class="code" href="structInAddr__HashComp.html">00071</a> <span class="keyword">struct </span><a class="code" href="structInAddr__HashComp.html">InAddr_HashComp</a>
+00072 {
+00075 <span class="keywordtype">bool</span> <a class="code" href="structInAddr__HashComp.html#a0">operator()</a>(<span class="keyword">const</span> in_addr &amp;s1, <span class="keyword">const</span> in_addr &amp;s2) <span class="keyword">const</span>;
+00076 };
+00077
+<a name="l00080"></a><a class="code" href="namespaceirc.html">00080</a> <span class="keyword">namespace </span>irc
+00081 {
+<a name="l00086"></a><a class="code" href="structirc_1_1irc__char__traits.html">00086</a> <span class="keyword">struct </span><a class="code" href="structirc_1_1irc__char__traits.html">irc_char_traits</a> : std::char_traits&lt;char&gt; {
+00087
+00090 <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structirc_1_1irc__char__traits.html#e0">eq</a>(<span class="keywordtype">char</span> c1st, <span class="keywordtype">char</span> c2nd);
+00091
+00094 <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structirc_1_1irc__char__traits.html#e1">ne</a>(<span class="keywordtype">char</span> c1st, <span class="keywordtype">char</span> c2nd);
+00095
+00098 <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structirc_1_1irc__char__traits.html#e2">lt</a>(<span class="keywordtype">char</span> c1st, <span class="keywordtype">char</span> c2nd);
+00099
+00102 <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="structirc_1_1irc__char__traits.html#e3">compare</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str1, <span class="keyword">const</span> <span class="keywordtype">char</span>* str2, size_t n);
+00103
+00106 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structirc_1_1irc__char__traits.html#e4">find</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s1, <span class="keywordtype">int</span> n, <span class="keywordtype">char</span> c);
+00107 };
+00108
+<a name="l00111"></a><a class="code" href="namespaceirc.html#a0">00111</a> <span class="keyword">typedef</span> basic_string&lt;char, irc_char_traits, allocator&lt;char&gt; &gt; <a class="code" href="namespaceirc.html#a0">string</a>;
+00112 }
+00113
+00114 <span class="preprocessor">#endif</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:05 2005 for InspIRCd by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.3 </small></address>
+</body>
+</html>