diff options
Diffstat (limited to 'docs/module-doc/classserverrec.html')
-rw-r--r-- | docs/module-doc/classserverrec.html | 591 |
1 files changed, 591 insertions, 0 deletions
diff --git a/docs/module-doc/classserverrec.html b/docs/module-doc/classserverrec.html new file mode 100644 index 000000000..ca596f9eb --- /dev/null +++ b/docs/module-doc/classserverrec.html @@ -0,0 +1,591 @@ +<!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>serverrec class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc2 --> +<center> +<a class="qindex" href="main.html">Main Page</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> </center> +<hr><h1>serverrec Class Reference</h1><code>#include <<a class="el" href="servers_8h-source.html">servers.h</a>></code> +<p> +<p>Inheritance diagram for serverrec: +<p><center><img src="classserverrec.png" usemap="#serverrec_map" border="0" alt=""></center> +<map name="serverrec_map"> +<area href="classconnection.html" alt="connection" shape="rect" coords="0,56,74,80"> +<area href="classclassbase.html" alt="classbase" shape="rect" coords="0,0,74,24"> +</map> +<a href="classserverrec-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classserverrec.html#a0">serverrec</a> ()</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classserverrec.html#a1">serverrec</a> (char *n, int link_t, long ver, bool jupe)</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classserverrec.html#a2">~serverrec</a> ()</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classserverrec.html#a3">AddLeaf</a> (serverrec *child)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classserverrec.html#a4">DelLeaf</a> (string n)</td></tr> +<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classserverrec.html#m0">name</a> [MAXBUF]</td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classserverrec.html#m1">pingtime</a></td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classserverrec.html#m2">linktype</a></td></tr> +<tr><td nowrap align=right valign=top>time_t </td><td valign=bottom><a class="el" href="classserverrec.html#m3">lastping</a></td></tr> +<tr><td nowrap align=right valign=top>long </td><td valign=bottom><a class="el" href="classserverrec.html#m4">usercount_i</a></td></tr> +<tr><td nowrap align=right valign=top>long </td><td valign=bottom><a class="el" href="classserverrec.html#m5">usercount</a></td></tr> +<tr><td nowrap align=right valign=top>long </td><td valign=bottom><a class="el" href="classserverrec.html#m6">opercount</a></td></tr> +<tr><td nowrap align=right valign=top>time_t </td><td valign=bottom><a class="el" href="classserverrec.html#m7">connected_at</a></td></tr> +<tr><td nowrap align=right valign=top>time_t </td><td valign=bottom><a class="el" href="classserverrec.html#m8">hops_away</a></td></tr> +<tr><td nowrap align=right valign=top>long </td><td valign=bottom><a class="el" href="classserverrec.html#m9">version</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classserverrec.html#m10">jupiter</a></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>map< string, serverrec * > </td><td valign=bottom><a class="el" href="classserverrec.html#o0">leaf</a></td></tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="serverrec::serverrec"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> serverrec::serverrec </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8cpp-source.html#l00016">16</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. +<p> +References <a class="el" href="servers_8h-source.html#l00033">connected_at</a>, <a class="el" href="connection_8h-source.html#l00021">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00034">hops_away</a>, <a class="el" href="servers_8h-source.html#l00036">jupiter</a>, <a class="el" href="servers_8h-source.html#l00029">lastping</a>, <a class="el" href="servers_8h-source.html#l00024">leaf</a>, <a class="el" href="servers_8h-source.html#l00018">LINK_ACTIVE</a>, <a class="el" href="servers_8h-source.html#l00028">linktype</a>, <a class="el" href="servers_8h-source.html#l00032">opercount</a>, <a class="el" href="servers_8h-source.html#l00027">pingtime</a>, <a class="el" href="servers_8h-source.html#l00031">usercount</a>, <a class="el" href="servers_8h-source.html#l00030">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00035">version</a>. +<p> +<div class="fragment"><pre>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 } +</pre></div> </td> + </tr> +</table> +<a name="a1" doxytag="serverrec::serverrec"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> serverrec::serverrec </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname" nowrap> <em>n</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>link_t</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>long </td> + <td class="mdname" nowrap> <em>ver</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>jupe</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8cpp-source.html#l00035">35</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. +<p> +References <a class="el" href="servers_8h-source.html#l00033">connected_at</a>, <a class="el" href="connection_8h-source.html#l00021">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00034">hops_away</a>, <a class="el" href="servers_8h-source.html#l00036">jupiter</a>, <a class="el" href="servers_8h-source.html#l00029">lastping</a>, <a class="el" href="servers_8h-source.html#l00024">leaf</a>, <a class="el" href="servers_8h-source.html#l00028">linktype</a>, <a class="el" href="servers_8h-source.html#l00032">opercount</a>, <a class="el" href="servers_8h-source.html#l00031">usercount</a>, <a class="el" href="servers_8h-source.html#l00030">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00035">version</a>. +<p> +<div class="fragment"><pre>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 } +</pre></div> </td> + </tr> +</table> +<a name="a2" doxytag="serverrec::~serverrec"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> serverrec::~serverrec </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8cpp-source.html#l00031">31</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. +<p> +<div class="fragment"><pre>00032 { +00033 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a3" doxytag="serverrec::AddLeaf"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void serverrec::AddLeaf </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">serverrec * </td> + <td class="mdname1" valign="top" nowrap> <em>child</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8cpp-source.html#l00049">49</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. +<p> +References <a class="el" href="servers_8h-source.html#l00024">leaf</a>, and <a class="el" href="servers_8h-source.html#l00026">name</a>. +<p> +<div class="fragment"><pre>00050 { +00051 <a class="code" href="classserverrec.html#o0">leaf</a>[child-><a class="code" href="classserverrec.html#m0">name</a>] = child; +00052 } +</pre></div> </td> + </tr> +</table> +<a name="a4" doxytag="serverrec::DelLeaf"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void serverrec::DelLeaf </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">string </td> + <td class="mdname1" valign="top" nowrap> <em>n</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8cpp-source.html#l00054">54</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. +<p> +References <a class="el" href="servers_8h-source.html#l00024">leaf</a>. +<p> +<div class="fragment"><pre>00055 { +00056 server_list::iterator i = <a class="code" href="classserverrec.html#o0">leaf</a>.find(n); +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 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="m7" doxytag="serverrec::connected_at"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> time_t serverrec::connected_at + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8h-source.html#l00033">33</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. +<p> +Referenced by <a class="el" href="servers_8cpp-source.html#l00016">serverrec()</a>. </td> + </tr> +</table> +<a name="m8" doxytag="serverrec::hops_away"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> time_t serverrec::hops_away + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8h-source.html#l00034">34</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. +<p> +Referenced by <a class="el" href="servers_8cpp-source.html#l00016">serverrec()</a>. </td> + </tr> +</table> +<a name="m10" doxytag="serverrec::jupiter"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool serverrec::jupiter + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8h-source.html#l00036">36</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. +<p> +Referenced by <a class="el" href="servers_8cpp-source.html#l00016">serverrec()</a>. </td> + </tr> +</table> +<a name="m3" doxytag="serverrec::lastping"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> time_t serverrec::lastping + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="classconnection.html#m11">connection</a>. +<p> +Definition at line <a class="el" href="servers_8h-source.html#l00029">29</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. +<p> +Referenced by <a class="el" href="servers_8cpp-source.html#l00016">serverrec()</a>. </td> + </tr> +</table> +<a name="o0" doxytag="serverrec::leaf"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> map<string, serverrec*> serverrec::leaf<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8h-source.html#l00024">24</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. +<p> +Referenced by <a class="el" href="servers_8cpp-source.html#l00049">AddLeaf()</a>, <a class="el" href="servers_8cpp-source.html#l00054">DelLeaf()</a>, and <a class="el" href="servers_8cpp-source.html#l00016">serverrec()</a>. </td> + </tr> +</table> +<a name="m2" doxytag="serverrec::linktype"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int serverrec::linktype + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8h-source.html#l00028">28</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. +<p> +Referenced by <a class="el" href="servers_8cpp-source.html#l00016">serverrec()</a>. </td> + </tr> +</table> +<a name="m0" doxytag="serverrec::name"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char serverrec::name[MAXBUF] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8h-source.html#l00026">26</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. +<p> +Referenced by <a class="el" href="servers_8cpp-source.html#l00049">AddLeaf()</a>. </td> + </tr> +</table> +<a name="m6" doxytag="serverrec::opercount"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> long serverrec::opercount + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8h-source.html#l00032">32</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. +<p> +Referenced by <a class="el" href="servers_8cpp-source.html#l00016">serverrec()</a>. </td> + </tr> +</table> +<a name="m1" doxytag="serverrec::pingtime"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int serverrec::pingtime + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8h-source.html#l00027">27</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. +<p> +Referenced by <a class="el" href="servers_8cpp-source.html#l00016">serverrec()</a>. </td> + </tr> +</table> +<a name="m5" doxytag="serverrec::usercount"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> long serverrec::usercount + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8h-source.html#l00031">31</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. +<p> +Referenced by <a class="el" href="servers_8cpp-source.html#l00016">serverrec()</a>. </td> + </tr> +</table> +<a name="m4" doxytag="serverrec::usercount_i"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> long serverrec::usercount_i + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8h-source.html#l00030">30</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. +<p> +Referenced by <a class="el" href="servers_8cpp-source.html#l00016">serverrec()</a>. </td> + </tr> +</table> +<a name="m9" doxytag="serverrec::version"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> long serverrec::version + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="servers_8h-source.html#l00035">35</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. +<p> +Referenced by <a class="el" href="servers_8cpp-source.html#l00016">serverrec()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="servers_8h-source.html">servers.h</a><li><a class="el" href="servers_8cpp-source.html">servers.cpp</a></ul> +<hr><address style="align: right;"><small>Generated on Sun Jan 26 23:45:50 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> +</body> +</html> |