summaryrefslogtreecommitdiff
path: root/docs/module-doc/classConfigReader.html
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-04 18:13:55 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-04 18:13:55 +0000
commit9c8b44176b47d2186c88743dc1f68023c26d780b (patch)
treeb5ea400fcc976129e466dc212a0f326960618dbd /docs/module-doc/classConfigReader.html
parentd68dcc665827575df74156f08b22451f98aaaef6 (diff)
Added new documentation for ELine class and OnUserPostNick method
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@977 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/module-doc/classConfigReader.html')
-rw-r--r--docs/module-doc/classConfigReader.html320
1 files changed, 160 insertions, 160 deletions
diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html
index 7e782ad7b..f5785a066 100644
--- a/docs/module-doc/classConfigReader.html
+++ b/docs/module-doc/classConfigReader.html
@@ -67,7 +67,7 @@ It may either be instantiated with one parameter or none. Constructing the class
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00669">669</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+Definition at line <a class="el" href="modules_8h-source.html#l00675">675</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ConfigReader::ConfigReader"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -97,17 +97,17 @@ Default constructor.
<p>
This constructor initialises the ConfigReader class to read the inspircd.conf file as specified when running ./configure.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00576">576</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00577">577</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00677">cache</a>, <a class="el" href="modules_8h-source.html#l00661">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l00682">error</a>, <a class="el" href="modules_8h-source.html#l00678">errorlog</a>, and <a class="el" href="modules_8h-source.html#l00681">readerror</a>.
+References <a class="el" href="modules_8h-source.html#l00683">cache</a>, <a class="el" href="modules_8h-source.html#l00667">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l00688">error</a>, <a class="el" href="modules_8h-source.html#l00684">errorlog</a>, and <a class="el" href="modules_8h-source.html#l00687">readerror</a>.
<p>
-<div class="fragment"><pre>00577 {
-00578 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00579 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00580 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this-&gt;cache,this-&gt;errorlog);
-00581 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
-00582 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a25">CONF_FILE_NOT_FOUND</a>;
-00583 }
+<div class="fragment"><pre>00578 {
+00579 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00580 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00581 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this-&gt;cache,this-&gt;errorlog);
+00582 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
+00583 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a25">CONF_FILE_NOT_FOUND</a>;
+00584 }
</pre></div> </td>
</tr>
</table>
@@ -141,17 +141,17 @@ Overloaded constructor.
<p>
This constructor initialises the ConfigReader class to read a user-specified config file
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00595">595</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00596">596</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00677">cache</a>, <a class="el" href="modules_8h-source.html#l00661">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l00682">error</a>, <a class="el" href="modules_8h-source.html#l00678">errorlog</a>, and <a class="el" href="modules_8h-source.html#l00681">readerror</a>.
+References <a class="el" href="modules_8h-source.html#l00683">cache</a>, <a class="el" href="modules_8h-source.html#l00667">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l00688">error</a>, <a class="el" href="modules_8h-source.html#l00684">errorlog</a>, and <a class="el" href="modules_8h-source.html#l00687">readerror</a>.
<p>
-<div class="fragment"><pre>00596 {
-00597 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00598 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00599 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(filename.c_str(),this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>,this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>);
-00600 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
-00601 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a25">CONF_FILE_NOT_FOUND</a>;
-00602 };
+<div class="fragment"><pre>00597 {
+00598 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00599 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00600 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(filename.c_str(),this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>,this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>);
+00601 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
+00602 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a25">CONF_FILE_NOT_FOUND</a>;
+00603 };
</pre></div> </td>
</tr>
</table>
@@ -184,16 +184,16 @@ Default destructor.
<p>
This method destroys the ConfigReader class.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00586">586</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00587">587</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00677">cache</a>, and <a class="el" href="modules_8h-source.html#l00678">errorlog</a>.
+References <a class="el" href="modules_8h-source.html#l00683">cache</a>, and <a class="el" href="modules_8h-source.html#l00684">errorlog</a>.
<p>
-<div class="fragment"><pre>00587 {
-00588 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>)
-00589 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>;
-00590 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>)
-00591 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>;
-00592 }
+<div class="fragment"><pre>00588 {
+00589 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>)
+00590 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>;
+00591 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>)
+00592 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>;
+00593 }
</pre></div> </td>
</tr>
</table>
@@ -237,40 +237,40 @@ Dumps the list of errors in a config file to an output location.
<p>
If bail is true, then the program will abort. If bail is false and user points to a valid user record, the error report will be spooled to the given user by means of NOTICE. if bool is false AND user is false, the error report will be spooled to all opers by means of a NOTICE to all opers.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00673">673</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l00678">errorlog</a>, <a class="el" href="connection_8h-source.html#l00178">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00102">userrec::nick</a>.
-<p>
-<div class="fragment"><pre>00674 {
-00675 <span class="keywordflow">if</span> (bail)
-00676 {
-00677 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;str().c_str());
-00678 exit(0);
-00679 }
-00680 <span class="keywordflow">else</span>
-00681 {
-00682 <span class="keywordtype">char</span> dataline[1024];
-00683 <span class="keywordflow">if</span> (user)
-00684 {
-00685 WriteServ(user-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
-00686 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
-00687 {
-00688 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
-00689 WriteServ(user-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>,dataline);
-00690 }
-00691 }
-00692 <span class="keywordflow">else</span>
-00693 {
-00694 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
-00695 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
-00696 {
-00697 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
-00698 WriteOpers(dataline);
-00699 }
-00700 }
-00701 <span class="keywordflow">return</span>;
-00702 }
-00703 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00674">674</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="modules_8h-source.html#l00684">errorlog</a>, <a class="el" href="connection_8h-source.html#l00178">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00102">userrec::nick</a>.
+<p>
+<div class="fragment"><pre>00675 {
+00676 <span class="keywordflow">if</span> (bail)
+00677 {
+00678 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;str().c_str());
+00679 exit(0);
+00680 }
+00681 <span class="keywordflow">else</span>
+00682 {
+00683 <span class="keywordtype">char</span> dataline[1024];
+00684 <span class="keywordflow">if</span> (user)
+00685 {
+00686 WriteServ(user-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
+00687 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
+00688 {
+00689 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
+00690 WriteServ(user-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>,dataline);
+00691 }
+00692 }
+00693 <span class="keywordflow">else</span>
+00694 {
+00695 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
+00696 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
+00697 {
+00698 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
+00699 WriteOpers(dataline);
+00700 }
+00701 }
+00702 <span class="keywordflow">return</span>;
+00703 }
+00704 }
</pre></div> </td>
</tr>
</table>
@@ -304,13 +304,13 @@ Counts the number of times a given tag appears in the config file.
<p>
This method counts the number of times a tag appears in a config file, for use where there are several tags of the same kind, e.g. with opers and connect types. It can be used with the index value of <a class="el" href="classConfigReader.html#a3">ConfigReader::ReadValue</a> to loop through all copies of a multiple instance tag.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00706">706</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00707">707</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00677">cache</a>.
+References <a class="el" href="modules_8h-source.html#l00683">cache</a>.
<p>
-<div class="fragment"><pre>00707 {
-00708 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str());
-00709 }
+<div class="fragment"><pre>00708 {
+00709 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str());
+00710 }
</pre></div> </td>
</tr>
</table>
@@ -353,13 +353,13 @@ Returns the number of items within a tag.
<p>
For example if the tag was &lt;test tag="blah" data="foo"&gt; then this function would return 2. Spaces and newlines both qualify as valid seperators between values.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00711">711</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00712">712</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00677">cache</a>.
+References <a class="el" href="modules_8h-source.html#l00683">cache</a>.
<p>
-<div class="fragment"><pre>00712 {
-00713 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index);
-00714 }
+<div class="fragment"><pre>00713 {
+00714 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index);
+00715 }
</pre></div> </td>
</tr>
</table>
@@ -392,15 +392,15 @@ Returns the last error to occur.
<p>
Valid errors can be found by looking in <a class="el" href="modules_8h.html">modules.h</a>. Any nonzero value indicates an error condition. A call to <a class="el" href="classConfigReader.html#a6">GetError()</a> resets the error flag back to 0.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00666">666</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00667">667</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00682">error</a>.
+References <a class="el" href="modules_8h-source.html#l00688">error</a>.
<p>
-<div class="fragment"><pre>00667 {
-00668 <span class="keywordtype">long</span> olderr = this-&gt;<a class="code" href="classConfigReader.html#p3">error</a>;
-00669 this-&gt;error = 0;
-00670 <span class="keywordflow">return</span> olderr;
-00671 }
+<div class="fragment"><pre>00668 {
+00669 <span class="keywordtype">long</span> olderr = this-&gt;<a class="code" href="classConfigReader.html#p3">error</a>;
+00670 this-&gt;error = 0;
+00671 <span class="keywordflow">return</span> olderr;
+00672 }
</pre></div> </td>
</tr>
</table>
@@ -449,25 +449,25 @@ Retrieves a boolean value from the config file.
<p>
This method retrieves a boolean value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. The values "1", "yes" and "true" in the config file count as true to ReadFlag, and any other value counts as false.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00620">620</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l00677">cache</a>, <a class="el" href="modules_8h-source.html#l00660">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00682">error</a>.
-<p>
-<div class="fragment"><pre>00621 {
-00622 <span class="keywordtype">char</span> val[MAXBUF];
-00623 <span class="keywordtype">char</span> t[MAXBUF];
-00624 <span class="keywordtype">char</span> n[MAXBUF];
-00625 strlcpy(t,tag.c_str(),MAXBUF);
-00626 strlcpy(n,name.c_str(),MAXBUF);
-00627 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
-00628 <span class="keywordflow">if</span> (!res)
-00629 {
-00630 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>;
-00631 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00632 }
-00633 std::string s = val;
-00634 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>));
-00635 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00621">621</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="modules_8h-source.html#l00683">cache</a>, <a class="el" href="modules_8h-source.html#l00666">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00688">error</a>.
+<p>
+<div class="fragment"><pre>00622 {
+00623 <span class="keywordtype">char</span> val[MAXBUF];
+00624 <span class="keywordtype">char</span> t[MAXBUF];
+00625 <span class="keywordtype">char</span> n[MAXBUF];
+00626 strlcpy(t,tag.c_str(),MAXBUF);
+00627 strlcpy(n,name.c_str(),MAXBUF);
+00628 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
+00629 <span class="keywordflow">if</span> (!res)
+00630 {
+00631 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>;
+00632 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00633 }
+00634 std::string s = val;
+00635 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>));
+00636 }
</pre></div> </td>
</tr>
</table>
@@ -522,37 +522,37 @@ Retrieves an integer value from the config file.
<p>
This method retrieves an integer value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. Any invalid integer values in the tag will cause the objects error value to be set, and any call to <a class="el" href="classConfigReader.html#a6">GetError()</a> will return CONF_INVALID_NUMBER to be returned. needs_unsigned is set if the number must be unsigned. If a signed number is placed into a tag which is specified unsigned, 0 will be returned and <a class="el" href="classConfigReader.html#a6">GetError()</a> will return CONF_NOT_UNSIGNED
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00637">637</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l00677">cache</a>, <a class="el" href="modules_8h-source.html#l00658">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l00659">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l00660">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00682">error</a>.
-<p>
-<div class="fragment"><pre>00638 {
-00639 <span class="keywordtype">char</span> val[MAXBUF];
-00640 <span class="keywordtype">char</span> t[MAXBUF];
-00641 <span class="keywordtype">char</span> n[MAXBUF];
-00642 strlcpy(t,tag.c_str(),MAXBUF);
-00643 strlcpy(n,name.c_str(),MAXBUF);
-00644 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
-00645 <span class="keywordflow">if</span> (!res)
-00646 {
-00647 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>;
-00648 <span class="keywordflow">return</span> 0;
-00649 }
-00650 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(val); i++)
-00651 {
-00652 <span class="keywordflow">if</span> (!isdigit(val[i]))
-00653 {
-00654 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a22">CONF_NOT_A_NUMBER</a>;
-00655 <span class="keywordflow">return</span> 0;
-00656 }
-00657 }
-00658 <span class="keywordflow">if</span> ((needs_unsigned) &amp;&amp; (atoi(val)&lt;0))
-00659 {
-00660 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a23">CONF_NOT_UNSIGNED</a>;
-00661 <span class="keywordflow">return</span> 0;
-00662 }
-00663 <span class="keywordflow">return</span> atoi(val);
-00664 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00638">638</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="modules_8h-source.html#l00683">cache</a>, <a class="el" href="modules_8h-source.html#l00664">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l00665">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l00666">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00688">error</a>.
+<p>
+<div class="fragment"><pre>00639 {
+00640 <span class="keywordtype">char</span> val[MAXBUF];
+00641 <span class="keywordtype">char</span> t[MAXBUF];
+00642 <span class="keywordtype">char</span> n[MAXBUF];
+00643 strlcpy(t,tag.c_str(),MAXBUF);
+00644 strlcpy(n,name.c_str(),MAXBUF);
+00645 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
+00646 <span class="keywordflow">if</span> (!res)
+00647 {
+00648 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>;
+00649 <span class="keywordflow">return</span> 0;
+00650 }
+00651 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(val); i++)
+00652 {
+00653 <span class="keywordflow">if</span> (!isdigit(val[i]))
+00654 {
+00655 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a22">CONF_NOT_A_NUMBER</a>;
+00656 <span class="keywordflow">return</span> 0;
+00657 }
+00658 }
+00659 <span class="keywordflow">if</span> ((needs_unsigned) &amp;&amp; (atoi(val)&lt;0))
+00660 {
+00661 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a23">CONF_NOT_UNSIGNED</a>;
+00662 <span class="keywordflow">return</span> 0;
+00663 }
+00664 <span class="keywordflow">return</span> atoi(val);
+00665 }
</pre></div> </td>
</tr>
</table>
@@ -601,24 +601,24 @@ Retrieves a value from the config file.
<p>
This method retrieves a value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00604">604</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l00677">cache</a>, <a class="el" href="modules_8h-source.html#l00660">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00682">error</a>.
-<p>
-<div class="fragment"><pre>00605 {
-00606 <span class="keywordtype">char</span> val[MAXBUF];
-00607 <span class="keywordtype">char</span> t[MAXBUF];
-00608 <span class="keywordtype">char</span> n[MAXBUF];
-00609 strlcpy(t,tag.c_str(),MAXBUF);
-00610 strlcpy(n,name.c_str(),MAXBUF);
-00611 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
-00612 <span class="keywordflow">if</span> (!res)
-00613 {
-00614 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>;
-00615 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
-00616 }
-00617 <span class="keywordflow">return</span> std::string(val);
-00618 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00605">605</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="modules_8h-source.html#l00683">cache</a>, <a class="el" href="modules_8h-source.html#l00666">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00688">error</a>.
+<p>
+<div class="fragment"><pre>00606 {
+00607 <span class="keywordtype">char</span> val[MAXBUF];
+00608 <span class="keywordtype">char</span> t[MAXBUF];
+00609 <span class="keywordtype">char</span> n[MAXBUF];
+00610 strlcpy(t,tag.c_str(),MAXBUF);
+00611 strlcpy(n,name.c_str(),MAXBUF);
+00612 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
+00613 <span class="keywordflow">if</span> (!res)
+00614 {
+00615 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>;
+00616 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+00617 }
+00618 <span class="keywordflow">return</span> std::string(val);
+00619 }
</pre></div> </td>
</tr>
</table>
@@ -651,13 +651,13 @@ Returns true if a config file is valid.
<p>
This method is partially implemented and will only return false if the config file does not exist or could not be opened.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00716">716</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00717">717</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00681">readerror</a>.
+References <a class="el" href="modules_8h-source.html#l00687">readerror</a>.
<p>
-<div class="fragment"><pre>00717 {
-00718 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>;
-00719 }
+<div class="fragment"><pre>00718 {
+00719 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>;
+00720 }
</pre></div> </td>
</tr>
</table>
@@ -685,9 +685,9 @@ The contents of the configuration file This protected member should never be acc
<p>
It will contain a pointer to the configuration file data with unneeded data (such as comments) stripped from it.
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00677">677</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
+Definition at line <a class="el" href="modules_8h-source.html#l00683">683</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00576">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00706">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00711">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00620">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00637">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00604">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00586">~ConfigReader()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00577">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00707">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00712">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00621">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00638">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00605">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00587">~ConfigReader()</a>. </td>
</tr>
</table>
<a name="p3" doxytag="ConfigReader::error"></a><p>
@@ -711,9 +711,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00576">ConfigReader(
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00682">682</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
+Definition at line <a class="el" href="modules_8h-source.html#l00688">688</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00576">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00666">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00620">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00637">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00604">ReadValue()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00577">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00667">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00621">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00638">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00605">ReadValue()</a>. </td>
</tr>
</table>
<a name="p1" doxytag="ConfigReader::errorlog"></a><p>
@@ -737,9 +737,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00576">ConfigReader(
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00678">678</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
+Definition at line <a class="el" href="modules_8h-source.html#l00684">684</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00576">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00673">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00586">~ConfigReader()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00577">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00674">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00587">~ConfigReader()</a>. </td>
</tr>
</table>
<a name="p2" doxytag="ConfigReader::readerror"></a><p>
@@ -765,14 +765,14 @@ Used to store errors.
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00681">681</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
+Definition at line <a class="el" href="modules_8h-source.html#l00687">687</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00576">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00716">Verify()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00577">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00717">Verify()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sat Apr 2 19:27:04 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:51 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>