diff options
Diffstat (limited to 'docs/module-doc/classConfigReader.html')
-rw-r--r-- | docs/module-doc/classConfigReader.html | 286 |
1 files changed, 143 insertions, 143 deletions
diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html index f5da7b3a4..24e0048aa 100644 --- a/docs/module-doc/classConfigReader.html +++ b/docs/module-doc/classConfigReader.html @@ -73,7 +73,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#l01525">1525</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l01529">1529</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="ConfigReader_28_29"></a><!-- doxytag: member="ConfigReader::ConfigReader" ref="ConfigReader_28_29" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -102,16 +102,16 @@ 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#l00734">734</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#l00739">739</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01533">cache</a>, <a class="el" href="classServerConfig.html#ClearStack_28_29">ServerConfig::ClearStack()</a>, <a class="el" href="modules_8h-source.html#l01516">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01538">error</a>, <a class="el" href="modules_8h-source.html#l01534">errorlog</a>, <a class="el" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">ServerConfig::LoadConf()</a>, and <a class="el" href="modules_8h-source.html#l01537">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00735"></a>00735 { -<a name="l00736"></a>00736 <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ClearStack_28_29">ClearStack</a>(); -<a name="l00737"></a>00737 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00738"></a>00738 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00739"></a>00739 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">LoadConf</a>(CONFIG_FILE,this->cache,this->errorlog); -<a name="l00740"></a>00740 <span class="keywordflow">if</span> (!this->readerror) -<a name="l00741"></a>00741 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; -<a name="l00742"></a>00742 } +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, <a class="el" href="classServerConfig.html#ClearStack_28_29">ServerConfig::ClearStack()</a>, <a class="el" href="modules_8h-source.html#l01520">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01542">error</a>, <a class="el" href="modules_8h-source.html#l01538">errorlog</a>, <a class="el" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">ServerConfig::LoadConf()</a>, and <a class="el" href="modules_8h-source.html#l01541">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00740"></a>00740 { +<a name="l00741"></a>00741 <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ClearStack_28_29">ClearStack</a>(); +<a name="l00742"></a>00742 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00743"></a>00743 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00744"></a>00744 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">LoadConf</a>(CONFIG_FILE,this->cache,this->errorlog); +<a name="l00745"></a>00745 <span class="keywordflow">if</span> (!this->readerror) +<a name="l00746"></a>00746 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; +<a name="l00747"></a>00747 } </pre></div> <p> </td> @@ -146,16 +146,16 @@ 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#l00754">754</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#l00759">759</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01533">cache</a>, <a class="el" href="classServerConfig.html#ClearStack_28_29">ServerConfig::ClearStack()</a>, <a class="el" href="modules_8h-source.html#l01516">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01538">error</a>, <a class="el" href="modules_8h-source.html#l01534">errorlog</a>, <a class="el" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">ServerConfig::LoadConf()</a>, and <a class="el" href="modules_8h-source.html#l01537">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00755"></a>00755 { -<a name="l00756"></a>00756 <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ClearStack_28_29">ClearStack</a>(); -<a name="l00757"></a>00757 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00758"></a>00758 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00759"></a>00759 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">LoadConf</a>(filename.c_str(),this-><a class="code" href="classConfigReader.html#cache">cache</a>,this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>); -<a name="l00760"></a>00760 <span class="keywordflow">if</span> (!this->readerror) -<a name="l00761"></a>00761 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; -<a name="l00762"></a>00762 }; +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, <a class="el" href="classServerConfig.html#ClearStack_28_29">ServerConfig::ClearStack()</a>, <a class="el" href="modules_8h-source.html#l01520">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01542">error</a>, <a class="el" href="modules_8h-source.html#l01538">errorlog</a>, <a class="el" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">ServerConfig::LoadConf()</a>, and <a class="el" href="modules_8h-source.html#l01541">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00760"></a>00760 { +<a name="l00761"></a>00761 <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ClearStack_28_29">ClearStack</a>(); +<a name="l00762"></a>00762 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00763"></a>00763 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00764"></a>00764 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">LoadConf</a>(filename.c_str(),this-><a class="code" href="classConfigReader.html#cache">cache</a>,this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>); +<a name="l00765"></a>00765 <span class="keywordflow">if</span> (!this->readerror) +<a name="l00766"></a>00766 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; +<a name="l00767"></a>00767 }; </pre></div> <p> </td> @@ -189,14 +189,14 @@ Default destructor. <p> This method destroys the ConfigReader class. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00745">745</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#l00750">750</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01533">cache</a>, and <a class="el" href="modules_8h-source.html#l01534">errorlog</a>.<div class="fragment"><pre class="fragment"><a name="l00746"></a>00746 { -<a name="l00747"></a>00747 <span class="keywordflow">if</span> (this->cache) -<a name="l00748"></a>00748 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#cache">cache</a>; -<a name="l00749"></a>00749 <span class="keywordflow">if</span> (this->errorlog) -<a name="l00750"></a>00750 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>; -<a name="l00751"></a>00751 } +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, and <a class="el" href="modules_8h-source.html#l01538">errorlog</a>.<div class="fragment"><pre class="fragment"><a name="l00751"></a>00751 { +<a name="l00752"></a>00752 <span class="keywordflow">if</span> (this->cache) +<a name="l00753"></a>00753 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#cache">cache</a>; +<a name="l00754"></a>00754 <span class="keywordflow">if</span> (this->errorlog) +<a name="l00755"></a>00755 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>; +<a name="l00756"></a>00756 } </pre></div> <p> </td> @@ -241,38 +241,38 @@ 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#l00833">833</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#l00838">838</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01534">errorlog</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>.<div class="fragment"><pre class="fragment"><a name="l00834"></a>00834 { -<a name="l00835"></a>00835 <span class="keywordflow">if</span> (bail) -<a name="l00836"></a>00836 { -<a name="l00837"></a>00837 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->str().c_str()); -<a name="l00838"></a>00838 exit(0); -<a name="l00839"></a>00839 } -<a name="l00840"></a>00840 <span class="keywordflow">else</span> +References <a class="el" href="modules_8h-source.html#l01538">errorlog</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>.<div class="fragment"><pre class="fragment"><a name="l00839"></a>00839 { +<a name="l00840"></a>00840 <span class="keywordflow">if</span> (bail) <a name="l00841"></a>00841 { -<a name="l00842"></a>00842 <span class="keywordtype">char</span> dataline[1024]; -<a name="l00843"></a>00843 <span class="keywordflow">if</span> (user) -<a name="l00844"></a>00844 { -<a name="l00845"></a>00845 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); -<a name="l00846"></a>00846 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) -<a name="l00847"></a>00847 { -<a name="l00848"></a>00848 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); -<a name="l00849"></a>00849 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,dataline); -<a name="l00850"></a>00850 } -<a name="l00851"></a>00851 } -<a name="l00852"></a>00852 <span class="keywordflow">else</span> -<a name="l00853"></a>00853 { -<a name="l00854"></a>00854 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); -<a name="l00855"></a>00855 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) -<a name="l00856"></a>00856 { -<a name="l00857"></a>00857 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); -<a name="l00858"></a>00858 WriteOpers(dataline); -<a name="l00859"></a>00859 } -<a name="l00860"></a>00860 } -<a name="l00861"></a>00861 <span class="keywordflow">return</span>; -<a name="l00862"></a>00862 } -<a name="l00863"></a>00863 } +<a name="l00842"></a>00842 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->str().c_str()); +<a name="l00843"></a>00843 exit(0); +<a name="l00844"></a>00844 } +<a name="l00845"></a>00845 <span class="keywordflow">else</span> +<a name="l00846"></a>00846 { +<a name="l00847"></a>00847 <span class="keywordtype">char</span> dataline[1024]; +<a name="l00848"></a>00848 <span class="keywordflow">if</span> (user) +<a name="l00849"></a>00849 { +<a name="l00850"></a>00850 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00851"></a>00851 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) +<a name="l00852"></a>00852 { +<a name="l00853"></a>00853 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); +<a name="l00854"></a>00854 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,dataline); +<a name="l00855"></a>00855 } +<a name="l00856"></a>00856 } +<a name="l00857"></a>00857 <span class="keywordflow">else</span> +<a name="l00858"></a>00858 { +<a name="l00859"></a>00859 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00860"></a>00860 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) +<a name="l00861"></a>00861 { +<a name="l00862"></a>00862 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); +<a name="l00863"></a>00863 WriteOpers(dataline); +<a name="l00864"></a>00864 } +<a name="l00865"></a>00865 } +<a name="l00866"></a>00866 <span class="keywordflow">return</span>; +<a name="l00867"></a>00867 } +<a name="l00868"></a>00868 } </pre></div> <p> </td> @@ -307,11 +307,11 @@ 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#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">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#l00866">866</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#l00871">871</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01533">cache</a>, and <a class="el" href="classServerConfig.html#EnumConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_29">ServerConfig::EnumConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00867"></a>00867 { -<a name="l00868"></a>00868 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#EnumConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_29">EnumConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,tag.c_str()); -<a name="l00869"></a>00869 } +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, and <a class="el" href="classServerConfig.html#EnumConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_29">ServerConfig::EnumConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00872"></a>00872 { +<a name="l00873"></a>00873 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#EnumConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_29">EnumConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,tag.c_str()); +<a name="l00874"></a>00874 } </pre></div> <p> </td> @@ -355,11 +355,11 @@ Returns the number of items within a tag. <p> For example if the tag was <test tag="blah" data="foo"> 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#l00871">871</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#l00876">876</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01533">cache</a>, and <a class="el" href="classServerConfig.html#EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29">ServerConfig::EnumValues()</a>.<div class="fragment"><pre class="fragment"><a name="l00872"></a>00872 { -<a name="l00873"></a>00873 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29">EnumValues</a>(<a class="code" href="classConfigReader.html#cache">cache</a>, tag.c_str(), index); -<a name="l00874"></a>00874 } +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, and <a class="el" href="classServerConfig.html#EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29">ServerConfig::EnumValues()</a>.<div class="fragment"><pre class="fragment"><a name="l00877"></a>00877 { +<a name="l00878"></a>00878 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29">EnumValues</a>(<a class="code" href="classConfigReader.html#cache">cache</a>, tag.c_str(), index); +<a name="l00879"></a>00879 } </pre></div> <p> </td> @@ -393,13 +393,13 @@ 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#GetError_28_29">GetError()</a> resets the error flag back to 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00826">826</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#l00831">831</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01538">error</a>.<div class="fragment"><pre class="fragment"><a name="l00827"></a>00827 { -<a name="l00828"></a>00828 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#error">error</a>; -<a name="l00829"></a>00829 this-><a class="code" href="classConfigReader.html#error">error</a> = 0; -<a name="l00830"></a>00830 <span class="keywordflow">return</span> olderr; -<a name="l00831"></a>00831 } +References <a class="el" href="modules_8h-source.html#l01542">error</a>.<div class="fragment"><pre class="fragment"><a name="l00832"></a>00832 { +<a name="l00833"></a>00833 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#error">error</a>; +<a name="l00834"></a>00834 this-><a class="code" href="classConfigReader.html#error">error</a> = 0; +<a name="l00835"></a>00835 <span class="keywordflow">return</span> olderr; +<a name="l00836"></a>00836 } </pre></div> <p> </td> @@ -449,23 +449,23 @@ 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#l00780">780</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01533">cache</a>, <a class="el" href="modules_8h-source.html#l01515">CONF_VALUE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01538">error</a>, and <a class="el" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ServerConfig::ReadConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00781"></a>00781 { -<a name="l00782"></a>00782 <span class="keywordtype">char</span> val[MAXBUF]; -<a name="l00783"></a>00783 <span class="keywordtype">char</span> t[MAXBUF]; -<a name="l00784"></a>00784 <span class="keywordtype">char</span> n[MAXBUF]; -<a name="l00785"></a>00785 strlcpy(t,tag.c_str(),MAXBUF); -<a name="l00786"></a>00786 strlcpy(n,name.c_str(),MAXBUF); -<a name="l00787"></a>00787 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); -<a name="l00788"></a>00788 <span class="keywordflow">if</span> (!res) -<a name="l00789"></a>00789 { -<a name="l00790"></a>00790 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; -<a name="l00791"></a>00791 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00792"></a>00792 } -<a name="l00793"></a>00793 <a class="code" href="namespaceirc.html#string">std::string</a> s = val; -<a name="l00794"></a>00794 <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>)); -<a name="l00795"></a>00795 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00785">785</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, <a class="el" href="modules_8h-source.html#l01519">CONF_VALUE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01542">error</a>, and <a class="el" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ServerConfig::ReadConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00786"></a>00786 { +<a name="l00787"></a>00787 <span class="keywordtype">char</span> val[MAXBUF]; +<a name="l00788"></a>00788 <span class="keywordtype">char</span> t[MAXBUF]; +<a name="l00789"></a>00789 <span class="keywordtype">char</span> n[MAXBUF]; +<a name="l00790"></a>00790 strlcpy(t,tag.c_str(),MAXBUF); +<a name="l00791"></a>00791 strlcpy(n,name.c_str(),MAXBUF); +<a name="l00792"></a>00792 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); +<a name="l00793"></a>00793 <span class="keywordflow">if</span> (!res) +<a name="l00794"></a>00794 { +<a name="l00795"></a>00795 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; +<a name="l00796"></a>00796 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00797"></a>00797 } +<a name="l00798"></a>00798 <a class="code" href="namespaceirc.html#string">std::string</a> s = val; +<a name="l00799"></a>00799 <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>)); +<a name="l00800"></a>00800 } </pre></div> <p> </td> @@ -521,35 +521,35 @@ 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#GetError_28_29">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#GetError_28_29">GetError()</a> will return CONF_NOT_UNSIGNED <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00797">797</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01533">cache</a>, <a class="el" href="modules_8h-source.html#l01513">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l01514">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l01515">CONF_VALUE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01538">error</a>, and <a class="el" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ServerConfig::ReadConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00798"></a>00798 { -<a name="l00799"></a>00799 <span class="keywordtype">char</span> val[MAXBUF]; -<a name="l00800"></a>00800 <span class="keywordtype">char</span> t[MAXBUF]; -<a name="l00801"></a>00801 <span class="keywordtype">char</span> n[MAXBUF]; -<a name="l00802"></a>00802 strlcpy(t,tag.c_str(),MAXBUF); -<a name="l00803"></a>00803 strlcpy(n,name.c_str(),MAXBUF); -<a name="l00804"></a>00804 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); -<a name="l00805"></a>00805 <span class="keywordflow">if</span> (!res) -<a name="l00806"></a>00806 { -<a name="l00807"></a>00807 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; -<a name="l00808"></a>00808 <span class="keywordflow">return</span> 0; -<a name="l00809"></a>00809 } -<a name="l00810"></a>00810 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +Definition at line <a class="el" href="modules_8cpp-source.html#l00802">802</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, <a class="el" href="modules_8h-source.html#l01517">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l01518">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l01519">CONF_VALUE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01542">error</a>, and <a class="el" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ServerConfig::ReadConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00803"></a>00803 { +<a name="l00804"></a>00804 <span class="keywordtype">char</span> val[MAXBUF]; +<a name="l00805"></a>00805 <span class="keywordtype">char</span> t[MAXBUF]; +<a name="l00806"></a>00806 <span class="keywordtype">char</span> n[MAXBUF]; +<a name="l00807"></a>00807 strlcpy(t,tag.c_str(),MAXBUF); +<a name="l00808"></a>00808 strlcpy(n,name.c_str(),MAXBUF); +<a name="l00809"></a>00809 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); +<a name="l00810"></a>00810 <span class="keywordflow">if</span> (!res) <a name="l00811"></a>00811 { -<a name="l00812"></a>00812 <span class="keywordflow">if</span> (!isdigit(val[i])) -<a name="l00813"></a>00813 { -<a name="l00814"></a>00814 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">CONF_NOT_A_NUMBER</a>; -<a name="l00815"></a>00815 <span class="keywordflow">return</span> 0; -<a name="l00816"></a>00816 } -<a name="l00817"></a>00817 } -<a name="l00818"></a>00818 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) -<a name="l00819"></a>00819 { -<a name="l00820"></a>00820 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">CONF_NOT_UNSIGNED</a>; -<a name="l00821"></a>00821 <span class="keywordflow">return</span> 0; +<a name="l00812"></a>00812 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; +<a name="l00813"></a>00813 <span class="keywordflow">return</span> 0; +<a name="l00814"></a>00814 } +<a name="l00815"></a>00815 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +<a name="l00816"></a>00816 { +<a name="l00817"></a>00817 <span class="keywordflow">if</span> (!isdigit(val[i])) +<a name="l00818"></a>00818 { +<a name="l00819"></a>00819 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">CONF_NOT_A_NUMBER</a>; +<a name="l00820"></a>00820 <span class="keywordflow">return</span> 0; +<a name="l00821"></a>00821 } <a name="l00822"></a>00822 } -<a name="l00823"></a>00823 <span class="keywordflow">return</span> atoi(val); -<a name="l00824"></a>00824 } +<a name="l00823"></a>00823 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) +<a name="l00824"></a>00824 { +<a name="l00825"></a>00825 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">CONF_NOT_UNSIGNED</a>; +<a name="l00826"></a>00826 <span class="keywordflow">return</span> 0; +<a name="l00827"></a>00827 } +<a name="l00828"></a>00828 <span class="keywordflow">return</span> atoi(val); +<a name="l00829"></a>00829 } </pre></div> <p> </td> @@ -599,22 +599,22 @@ 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#l00764">764</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01533">cache</a>, <a class="el" href="modules_8h-source.html#l01515">CONF_VALUE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01538">error</a>, and <a class="el" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ServerConfig::ReadConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00765"></a>00765 { -<a name="l00766"></a>00766 <span class="keywordtype">char</span> val[MAXBUF]; -<a name="l00767"></a>00767 <span class="keywordtype">char</span> t[MAXBUF]; -<a name="l00768"></a>00768 <span class="keywordtype">char</span> n[MAXBUF]; -<a name="l00769"></a>00769 strlcpy(t,tag.c_str(),MAXBUF); -<a name="l00770"></a>00770 strlcpy(n,name.c_str(),MAXBUF); -<a name="l00771"></a>00771 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); -<a name="l00772"></a>00772 <span class="keywordflow">if</span> (!res) -<a name="l00773"></a>00773 { -<a name="l00774"></a>00774 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; -<a name="l00775"></a>00775 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -<a name="l00776"></a>00776 } -<a name="l00777"></a>00777 <span class="keywordflow">return</span> val; -<a name="l00778"></a>00778 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00769">769</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, <a class="el" href="modules_8h-source.html#l01519">CONF_VALUE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01542">error</a>, and <a class="el" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ServerConfig::ReadConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00770"></a>00770 { +<a name="l00771"></a>00771 <span class="keywordtype">char</span> val[MAXBUF]; +<a name="l00772"></a>00772 <span class="keywordtype">char</span> t[MAXBUF]; +<a name="l00773"></a>00773 <span class="keywordtype">char</span> n[MAXBUF]; +<a name="l00774"></a>00774 strlcpy(t,tag.c_str(),MAXBUF); +<a name="l00775"></a>00775 strlcpy(n,name.c_str(),MAXBUF); +<a name="l00776"></a>00776 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); +<a name="l00777"></a>00777 <span class="keywordflow">if</span> (!res) +<a name="l00778"></a>00778 { +<a name="l00779"></a>00779 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; +<a name="l00780"></a>00780 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +<a name="l00781"></a>00781 } +<a name="l00782"></a>00782 <span class="keywordflow">return</span> val; +<a name="l00783"></a>00783 } </pre></div> <p> </td> @@ -648,11 +648,11 @@ 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#l00876">876</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#l00881">881</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01537">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00877"></a>00877 { -<a name="l00878"></a>00878 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#readerror">readerror</a>; -<a name="l00879"></a>00879 } +References <a class="el" href="modules_8h-source.html#l01541">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00882"></a>00882 { +<a name="l00883"></a>00883 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#readerror">readerror</a>; +<a name="l00884"></a>00884 } </pre></div> <p> </td> @@ -683,9 +683,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#l01533">1533</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#l01537">1537</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#l00734">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00866">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00871">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00780">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00797">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00764">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00745">~ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00739">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00871">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00876">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00785">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00802">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00769">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00750">~ConfigReader()</a>. </td> </tr> </table> <a class="anchor" name="error"></a><!-- doxytag: member="ConfigReader::error" ref="error" args="" --><p> @@ -710,9 +710,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00734">ConfigReader( <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01538">1538</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#l01542">1542</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#l00734">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00826">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00780">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00797">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00764">ReadValue()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00739">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00831">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00785">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00802">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00769">ReadValue()</a>. </td> </tr> </table> <a class="anchor" name="errorlog"></a><!-- doxytag: member="ConfigReader::errorlog" ref="errorlog" args="" --><p> @@ -737,9 +737,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00734">ConfigReader( <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01534">1534</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#l01538">1538</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#l00734">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00833">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00745">~ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00739">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00838">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00750">~ConfigReader()</a>. </td> </tr> </table> <a class="anchor" name="readerror"></a><!-- doxytag: member="ConfigReader::readerror" ref="readerror" args="" --><p> @@ -766,14 +766,14 @@ Used to store errors. <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01537">1537</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#l01541">1541</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#l00734">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00876">Verify()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00739">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00881">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 Wed Dec 14 14:49:30 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:48 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> |