diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-01-27 00:22:39 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-01-27 00:22:39 +0000 |
commit | d9b89849e032c9b114136274bdcb8be698e9a71c (patch) | |
tree | 0fcfcfac5166bb3ce8f08e4f40f8ad42e8019136 /docs/module-doc/servers_8cpp-source.html | |
parent | e3da49f5884e7d9c6919b73c6207bff3e6da965b (diff) |
Modified documentation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@155 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/module-doc/servers_8cpp-source.html')
-rw-r--r-- | docs/module-doc/servers_8cpp-source.html | 118 |
1 files changed, 61 insertions, 57 deletions
diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html index 8200748b3..9439d9aca 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -9,68 +9,72 @@ <hr><h1>servers.cpp</h1><a href="servers_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span> 00002 <span class="comment"></span> 00003 <span class="comment">$Log$ -00003 <span class="comment">Revision 1.1 2003/01/26 23:52:48 brain -00003 <span class="comment">Modified documentation for base classes +00003 <span class="comment">Revision 1.2 2003/01/27 00:22:39 brain +00003 <span class="comment">Modified documentation 00003 <span class="comment"></span> -00004 <span class="comment">Revision 1.1 2003/01/26 20:15:03 brain</span> -00005 <span class="comment">Added server classes for linking</span> -00006 <span class="comment"></span> +00004 <span class="comment">Revision 1.2 2003/01/26 23:53:03 brain</span> +00005 <span class="comment">Modified documentation for base classes</span> +00006 <span class="comment">Added base classes</span> 00007 <span class="comment"></span> -00008 <span class="comment">*/</span> -00009 -00010 <span class="preprocessor">#include "inspircd_config.h"</span> -00011 <span class="preprocessor">#include "<a class="code" href="servers_8h.html">servers.h</a>"</span> -00012 <span class="preprocessor">#include "inspircd.h"</span> -00013 <span class="preprocessor">#include <stdio.h></span> -00014 <span class="preprocessor">#include <map.h></span> -00015 -<a name="l00016"></a><a class="code" href="classserverrec.html#a0">00016</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>() -00017 { -00018 <a class="code" href="classserverrec.html#o0">leaf</a>.clear(); -00019 strcpy(name,<span class="stringliteral">""</span>); -00020 <a class="code" href="classserverrec.html#m1">pingtime</a> = 0; -00021 <a class="code" href="classserverrec.html#m2">linktype</a> = <a class="code" href="servers_8h.html#a0">LINK_ACTIVE</a>; -00022 <a class="code" href="classserverrec.html#m3">lastping</a> = time(NULL); -00023 <a class="code" href="classserverrec.html#m4">usercount_i</a> = <a class="code" href="classserverrec.html#m5">usercount</a> = <a class="code" href="classserverrec.html#m6">opercount</a> = <a class="code" href="classserverrec.html#m9">version</a> = 0; -00024 <a class="code" href="classserverrec.html#m8">hops_away</a> = 1; -00025 <a class="code" href="classserverrec.html#m7">connected_at</a> = time(NULL); -00026 <a class="code" href="classserverrec.html#m10">jupiter</a> = <span class="keyword">false</span>; -00027 <a class="code" href="classconnection.html#m0">fd</a> = 0; -00028 } -00029 -00030 -<a name="l00031"></a><a class="code" href="classserverrec.html#a2">00031</a> <a class="code" href="classserverrec.html#a2">serverrec::~serverrec</a>() -00032 { -00033 } -00034 -<a name="l00035"></a><a class="code" href="classserverrec.html#a1">00035</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>(<span class="keywordtype">char</span>* n, <span class="keywordtype">int</span> link_t, <span class="keywordtype">long</span> ver, <span class="keywordtype">bool</span> jupe) +00008 <span class="comment">Revision 1.1 2003/01/26 20:15:03 brain</span> +00009 <span class="comment">Added server classes for linking</span> +00010 <span class="comment"></span> +00011 <span class="comment"></span> +00012 <span class="comment">*/</span> +00013 +00014 <span class="preprocessor">#include "inspircd_config.h"</span> +00015 <span class="preprocessor">#include "<a class="code" href="servers_8h.html">servers.h</a>"</span> +00016 <span class="preprocessor">#include "inspircd.h"</span> +00017 <span class="preprocessor">#include <stdio.h></span> +00018 <span class="preprocessor">#include <map.h></span> +00019 +<a name="l00020"></a><a class="code" href="classserverrec.html#a0">00020</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>() +00021 { +00022 <a class="code" href="classserverrec.html#o0">leaf</a>.clear(); +00023 strcpy(name,<span class="stringliteral">""</span>); +00024 <a class="code" href="classserverrec.html#m1">pingtime</a> = 0; +00025 <a class="code" href="classserverrec.html#m2">linktype</a> = <a class="code" href="servers_8h.html#a0">LINK_ACTIVE</a>; +00026 <a class="code" href="classserverrec.html#m3">lastping</a> = time(NULL); +00027 <a class="code" href="classserverrec.html#m4">usercount_i</a> = <a class="code" href="classserverrec.html#m5">usercount</a> = <a class="code" href="classserverrec.html#m6">opercount</a> = <a class="code" href="classserverrec.html#m9">version</a> = 0; +00028 <a class="code" href="classserverrec.html#m8">hops_away</a> = 1; +00029 <a class="code" href="classserverrec.html#m7">connected_at</a> = time(NULL); +00030 <a class="code" href="classserverrec.html#m10">jupiter</a> = <span class="keyword">false</span>; +00031 <a class="code" href="classconnection.html#m0">fd</a> = 0; +00032 } +00033 +00034 +<a name="l00035"></a><a class="code" href="classserverrec.html#a2">00035</a> <a class="code" href="classserverrec.html#a2">serverrec::~serverrec</a>() 00036 { -00037 <a class="code" href="classserverrec.html#o0">leaf</a>.clear(); -00038 strcpy(name,n); -00039 <a class="code" href="classserverrec.html#m2">linktype</a> = link_t; -00040 <a class="code" href="classserverrec.html#m3">lastping</a> = time(NULL); -00041 <a class="code" href="classserverrec.html#m4">usercount_i</a> = <a class="code" href="classserverrec.html#m5">usercount</a> = <a class="code" href="classserverrec.html#m6">opercount</a> = 0; -00042 <a class="code" href="classserverrec.html#m9">version</a> = ver; -00043 <a class="code" href="classserverrec.html#m8">hops_away</a> = 1; -00044 <a class="code" href="classserverrec.html#m7">connected_at</a> = time(NULL); -00045 <a class="code" href="classserverrec.html#m10">jupiter</a> = jupe; -00046 <a class="code" href="classconnection.html#m0">fd</a> = 0; -00047 } -00048 -<a name="l00049"></a><a class="code" href="classserverrec.html#a3">00049</a> <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a3">serverrec::AddLeaf</a>(<a class="code" href="classserverrec.html">serverrec</a> *child) -00050 { -00051 <a class="code" href="classserverrec.html#o0">leaf</a>[child-><a class="code" href="classserverrec.html#m0">name</a>] = child; -00052 } -00053 -<a name="l00054"></a><a class="code" href="classserverrec.html#a4">00054</a> <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a4">serverrec::DelLeaf</a>(string n) -00055 { -00056 server_list::iterator i = <a class="code" href="classserverrec.html#o0">leaf</a>.find(n); +00037 } +00038 +<a name="l00039"></a><a class="code" href="classserverrec.html#a1">00039</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>(<span class="keywordtype">char</span>* n, <span class="keywordtype">int</span> link_t, <span class="keywordtype">long</span> ver, <span class="keywordtype">bool</span> jupe) +00040 { +00041 <a class="code" href="classserverrec.html#o0">leaf</a>.clear(); +00042 strcpy(name,n); +00043 <a class="code" href="classserverrec.html#m2">linktype</a> = link_t; +00044 <a class="code" href="classserverrec.html#m3">lastping</a> = time(NULL); +00045 <a class="code" href="classserverrec.html#m4">usercount_i</a> = <a class="code" href="classserverrec.html#m5">usercount</a> = <a class="code" href="classserverrec.html#m6">opercount</a> = 0; +00046 <a class="code" href="classserverrec.html#m9">version</a> = ver; +00047 <a class="code" href="classserverrec.html#m8">hops_away</a> = 1; +00048 <a class="code" href="classserverrec.html#m7">connected_at</a> = time(NULL); +00049 <a class="code" href="classserverrec.html#m10">jupiter</a> = jupe; +00050 <a class="code" href="classconnection.html#m0">fd</a> = 0; +00051 } +00052 +<a name="l00053"></a><a class="code" href="classserverrec.html#a3">00053</a> <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a3">serverrec::AddLeaf</a>(<a class="code" href="classserverrec.html">serverrec</a> *child) +00054 { +00055 <a class="code" href="classserverrec.html#o0">leaf</a>[child-><a class="code" href="classserverrec.html#m0">name</a>] = child; +00056 } 00057 -00058 <span class="keywordflow">if</span> (i != <a class="code" href="classserverrec.html#o0">leaf</a>.end()) -00059 <a class="code" href="classserverrec.html#o0">leaf</a>.erase(i); -00060 } +<a name="l00058"></a><a class="code" href="classserverrec.html#a4">00058</a> <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a4">serverrec::DelLeaf</a>(string n) +00059 { +00060 server_list::iterator i = <a class="code" href="classserverrec.html#o0">leaf</a>.find(n); 00061 -</pre></div><hr><address style="align: right;"><small>Generated on Sun Jan 26 23:45:47 2003 for InspIRCd by +00062 <span class="keywordflow">if</span> (i != <a class="code" href="classserverrec.html#o0">leaf</a>.end()) +00063 <a class="code" href="classserverrec.html#o0">leaf</a>.erase(i); +00064 } +00065 +</pre></div><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc2 </small></address> |