summaryrefslogtreecommitdiff
path: root/docs/module-doc/users_8cpp-source.html
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-08 18:14:00 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-08 18:14:00 +0000
commit3741ee3cd2b940132c011ba37897b6fe516f7931 (patch)
tree2c218b29bd4a6da8c79ee222eb2a0a6e44a8c146 /docs/module-doc/users_8cpp-source.html
parent498a8eb5c38c86d41c088c8c1308b3520c993c7f (diff)
New documentation for new ConfigReader methods
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@457 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/module-doc/users_8cpp-source.html')
-rw-r--r--docs/module-doc/users_8cpp-source.html107
1 files changed, 54 insertions, 53 deletions
diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html
index 1b579972a..a30869ad5 100644
--- a/docs/module-doc/users_8cpp-source.html
+++ b/docs/module-doc/users_8cpp-source.html
@@ -21,7 +21,7 @@
00013 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
00014 strcpy(nick,<span class="stringliteral">""</span>);
00015 <a class="code" href="classconnection.html#m3">ip</a> = 0;
-00016 <a class="code" href="classuserrec.html#m9">timeout</a> = 0;
+00016 <a class="code" href="classuserrec.html#m10">timeout</a> = 0;
00017 strcpy(ident,<span class="stringliteral">""</span>);
00018 strcpy(host,<span class="stringliteral">""</span>);
00019 strcpy(dhost,<span class="stringliteral">""</span>);
@@ -41,59 +41,60 @@
00033 <a class="code" href="classuserrec.html#o0">invites</a>.clear();
00034 }
00035
-00036
-<a name="l00037"></a><a class="code" href="classuserrec.html#a2">00037</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">userrec::GetFullHost</a>()
-00038 {
-00039 sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost);
-00040 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
-00041 }
-00042
+00036
+00037
+<a name="l00038"></a><a class="code" href="classuserrec.html#a2">00038</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">userrec::GetFullHost</a>()
+00039 {
+00040 sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost);
+00041 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
+00042 }
00043
-<a name="l00044"></a><a class="code" href="classuserrec.html#a3">00044</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">userrec::GetFullRealHost</a>()
-00045 {
-00046 sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host);
-00047 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
-00048 }
-00049
-<a name="l00050"></a><a class="code" href="classuserrec.html#a4">00050</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel)
-00051 {
-00052 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++)
-00053 {
-00054 <span class="keywordflow">if</span> (i-&gt;channel) {
-00055 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-00056 {
-00057 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00058 }
-00059 }
-00060 }
-00061 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00062 }
-00063
-<a name="l00064"></a><a class="code" href="classuserrec.html#a5">00064</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel)
-00065 {
-00066 <a class="code" href="classInvited.html">Invited</a> i;
-00067 strcpy(i.<a class="code" href="classInvited.html#m0">channel</a>,channel);
-00068 <a class="code" href="classuserrec.html#o0">invites</a>.push_back(i);
-00069 }
-00070
-<a name="l00071"></a><a class="code" href="classuserrec.html#a6">00071</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel)
-00072 {
-00073 log(DEBUG,<span class="stringliteral">"Removing invites"</span>);
-00074 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o0">invites</a>.size())
-00075 {
-00076 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++)
-00077 {
-00078 <span class="keywordflow">if</span> (i-&gt;channel) {
-00079 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-00080 {
-00081 <a class="code" href="classuserrec.html#o0">invites</a>.erase(i);
-00082 <span class="keywordflow">return</span>;
-00083 }
-00084 }
-00085 }
-00086 }
-00087 }
-</pre></div><hr><address style="align: right;"><small>Generated on Wed Apr 7 19:20:14 2004 for InspIRCd by
+00044
+<a name="l00045"></a><a class="code" href="classuserrec.html#a3">00045</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">userrec::GetFullRealHost</a>()
+00046 {
+00047 sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host);
+00048 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
+00049 }
+00050
+<a name="l00051"></a><a class="code" href="classuserrec.html#a4">00051</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel)
+00052 {
+00053 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++)
+00054 {
+00055 <span class="keywordflow">if</span> (i-&gt;channel) {
+00056 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+00057 {
+00058 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00059 }
+00060 }
+00061 }
+00062 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00063 }
+00064
+<a name="l00065"></a><a class="code" href="classuserrec.html#a5">00065</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel)
+00066 {
+00067 <a class="code" href="classInvited.html">Invited</a> i;
+00068 strcpy(i.<a class="code" href="classInvited.html#m0">channel</a>,channel);
+00069 <a class="code" href="classuserrec.html#o0">invites</a>.push_back(i);
+00070 }
+00071
+<a name="l00072"></a><a class="code" href="classuserrec.html#a6">00072</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel)
+00073 {
+00074 log(DEBUG,<span class="stringliteral">"Removing invites"</span>);
+00075 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o0">invites</a>.size())
+00076 {
+00077 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++)
+00078 {
+00079 <span class="keywordflow">if</span> (i-&gt;channel) {
+00080 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+00081 {
+00082 <a class="code" href="classuserrec.html#o0">invites</a>.erase(i);
+00083 <span class="keywordflow">return</span>;
+00084 }
+00085 }
+00086 }
+00087 }
+00088 }
+</pre></div><hr><address style="align: right;"><small>Generated on Thu Apr 8 19:12:28 2004 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-rc3 </small></address>