1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>InspIRCd: ServerConfig Class Reference</title>
4 <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css">
6 <!-- Generated by Doxygen 1.4.4-20050815 -->
7 <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
8 <h1>ServerConfig Class Reference</h1><!-- doxytag: class="ServerConfig" --><!-- doxytag: inherits="classbase" -->This class holds the bulk of the runtime configuration for the ircd.
9 <a href="#_details">More...</a>
11 <code>#include <<a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>></code>
13 Inheritance diagram for ServerConfig:<p><center><img src="classServerConfig__inherit__graph.gif" border="0" usemap="#ServerConfig__inherit__map" alt="Inheritance graph"></center>
14 <map name="ServerConfig__inherit__map">
15 <area href="classclassbase.html" shape="rect" coords="18,7,98,34" alt="">
17 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for ServerConfig:<p><center><img src="classServerConfig__coll__graph.gif" border="0" usemap="#ServerConfig__coll__map" alt="Collaboration graph"></center>
18 <map name="ServerConfig__coll__map">
19 <area href="classclassbase.html" shape="rect" coords="38,11,118,37" alt="">
21 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classServerConfig-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
23 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
24 <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#ServerConfig_28_29">ServerConfig</a> ()</td></tr>
26 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#ClearStack_28_29">ClearStack</a> ()</td></tr>
28 <tr><td class="mdescLeft"> </td><td class="mdescRight">Clears the include stack in preperation for a <a class="el" href="classServerConfig.html#Read_28bool_20bail_2C_20userrec_20_2Auser_29">Read()</a> call. <a href="#ClearStack_28_29"></a><br></td></tr>
29 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#Read_28bool_20bail_2C_20userrec_20_2Auser_29">Read</a> (bool bail, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
31 <tr><td class="mdescLeft"> </td><td class="mdescRight">Read the entire configuration into memory and initialize this class. <a href="#Read_28bool_20bail_2C_20userrec_20_2Auser_29"></a><br></td></tr>
32 <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">LoadConf</a> (const char *filename, std::stringstream *target, std::stringstream *errorstream)</td></tr>
34 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#ConfValue_28char_20_2Atag_2C_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_2C_20std_3A_3Astringstream_20_2Aconfig_29">ConfValue</a> (char *tag, char *var, int index, char *result, std::stringstream *config)</td></tr>
36 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><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">ReadConf</a> (std::stringstream *<a class="el" href="classServerConfig.html#config_5Ff">config_f</a>, const char *tag, const char *var, int index, char *result)</td></tr>
38 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#ConfValueEnum_28char_20_2Atag_2C_20std_3A_3Astringstream_20_2Aconfig_29">ConfValueEnum</a> (char *tag, std::stringstream *config)</td></tr>
40 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#EnumConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_29">EnumConf</a> (std::stringstream *<a class="el" href="classServerConfig.html#config_5Ff">config_f</a>, const char *tag)</td></tr>
42 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29">EnumValues</a> (std::stringstream *config, const char *tag, int index)</td></tr>
44 <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
45 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#ServerName_5BMAXBUF_5D">ServerName</a> [MAXBUF]</td></tr>
47 <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the server name of the local server as defined by the administrator. <a href="#ServerName_5BMAXBUF_5D"></a><br></td></tr>
48 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#Network_5BMAXBUF_5D">Network</a> [MAXBUF]</td></tr>
50 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#ServerDesc_5BMAXBUF_5D">ServerDesc</a> [MAXBUF]</td></tr>
52 <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the description of the local server as defined by the administrator. <a href="#ServerDesc_5BMAXBUF_5D"></a><br></td></tr>
53 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#AdminName_5BMAXBUF_5D">AdminName</a> [MAXBUF]</td></tr>
55 <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the admin's name, for output in the /ADMIN command. <a href="#AdminName_5BMAXBUF_5D"></a><br></td></tr>
56 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#AdminEmail_5BMAXBUF_5D">AdminEmail</a> [MAXBUF]</td></tr>
58 <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the email address of the admin, for output in the /ADMIN command. <a href="#AdminEmail_5BMAXBUF_5D"></a><br></td></tr>
59 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#AdminNick_5BMAXBUF_5D">AdminNick</a> [MAXBUF]</td></tr>
61 <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the admin's nickname, for output in the /ADMIN command. <a href="#AdminNick_5BMAXBUF_5D"></a><br></td></tr>
62 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#diepass_5BMAXBUF_5D">diepass</a> [MAXBUF]</td></tr>
64 <tr><td class="mdescLeft"> </td><td class="mdescRight">The admin-configured /DIE password. <a href="#diepass_5BMAXBUF_5D"></a><br></td></tr>
65 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#restartpass_5BMAXBUF_5D">restartpass</a> [MAXBUF]</td></tr>
67 <tr><td class="mdescLeft"> </td><td class="mdescRight">The admin-configured /RESTART password. <a href="#restartpass_5BMAXBUF_5D"></a><br></td></tr>
68 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#motd_5BMAXBUF_5D">motd</a> [MAXBUF]</td></tr>
70 <tr><td class="mdescLeft"> </td><td class="mdescRight">The pathname and filename of the message of the day file, as defined by the administrator. <a href="#motd_5BMAXBUF_5D"></a><br></td></tr>
71 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#rules_5BMAXBUF_5D">rules</a> [MAXBUF]</td></tr>
73 <tr><td class="mdescLeft"> </td><td class="mdescRight">The pathname and filename of the rules file, as defined by the administrator. <a href="#rules_5BMAXBUF_5D"></a><br></td></tr>
74 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#PrefixQuit_5BMAXBUF_5D">PrefixQuit</a> [MAXBUF]</td></tr>
76 <tr><td class="mdescLeft"> </td><td class="mdescRight">The quit prefix in use, or an empty string. <a href="#PrefixQuit_5BMAXBUF_5D"></a><br></td></tr>
77 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#DieValue_5BMAXBUF_5D">DieValue</a> [MAXBUF]</td></tr>
79 <tr><td class="mdescLeft"> </td><td class="mdescRight">The last string found within a <die> tag, or an empty string. <a href="#DieValue_5BMAXBUF_5D"></a><br></td></tr>
80 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#DNSServer_5BMAXBUF_5D">DNSServer</a> [MAXBUF]</td></tr>
82 <tr><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="classDNS.html">DNS</a> server to use for <a class="el" href="classDNS.html">DNS</a> queries. <a href="#DNSServer_5BMAXBUF_5D"></a><br></td></tr>
83 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#DisabledCommands_5BMAXBUF_5D">DisabledCommands</a> [MAXBUF]</td></tr>
85 <tr><td class="mdescLeft"> </td><td class="mdescRight">This variable contains a space-seperated list of commands which are disabled by the administrator of the server for non-opers. <a href="#DisabledCommands_5BMAXBUF_5D"></a><br></td></tr>
86 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#ModPath_5B_31_30_32_34_5D">ModPath</a> [1024]</td></tr>
88 <tr><td class="mdescLeft"> </td><td class="mdescRight">The full path to the modules directory. <a href="#ModPath_5B_31_30_32_34_5D"></a><br></td></tr>
89 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#MyExecutable_5B_31_30_32_34_5D">MyExecutable</a> [1024]</td></tr>
91 <tr><td class="mdescLeft"> </td><td class="mdescRight">The full pathname to the executable, as given in argv[0] when the program starts. <a href="#MyExecutable_5B_31_30_32_34_5D"></a><br></td></tr>
92 <tr><td class="memItemLeft" nowrap align="right" valign="top">FILE * </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#log_5Ffile">log_file</a></td></tr>
94 <tr><td class="mdescLeft"> </td><td class="mdescRight">The file handle of the logfile. <a href="#log_5Ffile"></a><br></td></tr>
95 <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#nofork">nofork</a></td></tr>
97 <tr><td class="mdescLeft"> </td><td class="mdescRight">If this value is true, the owner of the server specified -nofork on the command line, causing the daemon to stay in the foreground. <a href="#nofork"></a><br></td></tr>
98 <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#unlimitcore">unlimitcore</a></td></tr>
100 <tr><td class="mdescLeft"> </td><td class="mdescRight">If this value is true, the owner of the server has chosen to unlimit the coredump size to as large a value as his account settings will allow. <a href="#unlimitcore"></a><br></td></tr>
101 <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#AllowHalfop">AllowHalfop</a></td></tr>
103 <tr><td class="mdescLeft"> </td><td class="mdescRight">If this value is true, halfops have been enabled in the configuration file. <a href="#AllowHalfop"></a><br></td></tr>
104 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#dns_5Ftimeout">dns_timeout</a></td></tr>
106 <tr><td class="mdescLeft"> </td><td class="mdescRight">The number of seconds the <a class="el" href="classDNS.html">DNS</a> subsystem will wait before timing out any request. <a href="#dns_5Ftimeout"></a><br></td></tr>
107 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#NetBufferSize">NetBufferSize</a></td></tr>
109 <tr><td class="mdescLeft"> </td><td class="mdescRight">The size of the read() buffer in the user handling code, used to read data into a user's recvQ. <a href="#NetBufferSize"></a><br></td></tr>
110 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#MaxConn">MaxConn</a></td></tr>
112 <tr><td class="mdescLeft"> </td><td class="mdescRight">The value to be used for listen() backlogs as default. <a href="#MaxConn"></a><br></td></tr>
113 <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#SoftLimit">SoftLimit</a></td></tr>
115 <tr><td class="mdescLeft"> </td><td class="mdescRight">The soft limit value assigned to the irc server. <a href="#SoftLimit"></a><br></td></tr>
116 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#MaxWhoResults">MaxWhoResults</a></td></tr>
118 <tr><td class="mdescLeft"> </td><td class="mdescRight">The maximum number of /WHO results allowed in any single /WHO command. <a href="#MaxWhoResults"></a><br></td></tr>
119 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#debugging">debugging</a></td></tr>
121 <tr><td class="mdescLeft"> </td><td class="mdescRight">True if the DEBUG loglevel is selected. <a href="#debugging"></a><br></td></tr>
122 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#LogLevel">LogLevel</a></td></tr>
124 <tr><td class="mdescLeft"> </td><td class="mdescRight">The loglevel in use by the IRC server. <a href="#LogLevel"></a><br></td></tr>
125 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#DieDelay">DieDelay</a></td></tr>
127 <tr><td class="mdescLeft"> </td><td class="mdescRight">How many seconds to wait before exiting the program when /DIE is correctly issued. <a href="#DieDelay"></a><br></td></tr>
128 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#addrs_5BMAXBUF_5D_5B_32_35_35_5D">addrs</a> [MAXBUF][255]</td></tr>
130 <tr><td class="mdescLeft"> </td><td class="mdescRight">A list of IP addresses the server is listening on. <a href="#addrs_5BMAXBUF_5D_5B_32_35_35_5D"></a><br></td></tr>
131 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="modules_8h.html#file_5Fcache">file_cache</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#MOTD">MOTD</a></td></tr>
133 <tr><td class="mdescLeft"> </td><td class="mdescRight">The MOTD file, cached in a file_cache type. <a href="#MOTD"></a><br></td></tr>
134 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="modules_8h.html#file_5Fcache">file_cache</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#RULES">RULES</a></td></tr>
136 <tr><td class="mdescLeft"> </td><td class="mdescRight">The RULES file, cached in a file_cache type. <a href="#RULES"></a><br></td></tr>
137 <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#PID_5B_31_30_32_34_5D">PID</a> [1024]</td></tr>
139 <tr><td class="mdescLeft"> </td><td class="mdescRight">The full pathname and filename of the PID file as defined in the configuration. <a href="#PID_5B_31_30_32_34_5D"></a><br></td></tr>
140 <tr><td class="memItemLeft" nowrap align="right" valign="top">std::stringstream </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#config_5Ff">config_f</a></td></tr>
142 <tr><td class="mdescLeft"> </td><td class="mdescRight">The parsed configuration file as a stringstream. <a href="#config_5Ff"></a><br></td></tr>
143 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="users_8h.html#ClassVector">ClassVector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#Classes">Classes</a></td></tr>
145 <tr><td class="mdescLeft"> </td><td class="mdescRight">The connect classes in use by the IRC server. <a href="#Classes"></a><br></td></tr>
146 <tr><td class="memItemLeft" nowrap align="right" valign="top">std::vector< <a class="el" href="namespaceirc.html#string">std::string</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#module_5Fnames">module_names</a></td></tr>
148 <tr><td class="mdescLeft"> </td><td class="mdescRight">A list of module names (names only, no paths) which are currently loaded by the server. <a href="#module_5Fnames"></a><br></td></tr>
149 <tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
150 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#fgets_5Fsafe_28char_20_2Abuffer_2C_20size_5Ft_20maxsize_2C_20FILE_20_2A_26file_29">fgets_safe</a> (char *buffer, size_t maxsize, FILE *&file)</td></tr>
152 <tr><td class="mdescLeft"> </td><td class="mdescRight">Used by the config file subsystem to safely read a C-style string without dependency upon any certain style of linefeed, e.g. <a href="#fgets_5Fsafe_28char_20_2Abuffer_2C_20size_5Ft_20maxsize_2C_20FILE_20_2A_26file_29"></a><br></td></tr>
153 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#ConfProcess_28char_20_2Abuffer_2C_20long_20linenumber_2C_20std_3A_3Astringstream_20_2Aerrorstream_2C_20bool_20_26error_2C_20std_3A_3Astring_20filename_29">ConfProcess</a> (char *buffer, long linenumber, std::stringstream *errorstream, bool &error, <a class="el" href="namespaceirc.html#string">std::string</a> filename)</td></tr>
155 <tr><td class="mdescLeft"> </td><td class="mdescRight">This private method processes one line of configutation, appending errors to errorstream and setting error if an error has occured. <a href="#ConfProcess_28char_20_2Abuffer_2C_20long_20linenumber_2C_20std_3A_3Astringstream_20_2Aerrorstream_2C_20bool_20_26error_2C_20std_3A_3Astring_20filename_29"></a><br></td></tr>
156 <tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
157 <tr><td class="memItemLeft" nowrap align="right" valign="top">std::vector< <a class="el" href="namespaceirc.html#string">std::string</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#include_5Fstack">include_stack</a></td></tr>
159 <tr><td class="mdescLeft"> </td><td class="mdescRight">This variable holds the names of all files included from the main one. <a href="#include_5Fstack"></a><br></td></tr>
161 <hr><a name="_details"></a><h2>Detailed Description</h2>
162 This class holds the bulk of the runtime configuration for the ircd.
164 It allows for reading new config values, accessing configuration files, and storage of the configuration data needed to run the ircd, such as the servername, connect classes, /ADMIN data, MOTDs and filenames etc.
168 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00039">39</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
169 <a class="anchor" name="ServerConfig_28_29"></a><!-- doxytag: member="ServerConfig::ServerConfig" ref="ServerConfig_28_29" args="()" --><p>
170 <table class="mdTable" cellpadding="2" cellspacing="0">
173 <table cellpadding="0" cellspacing="0" border="0">
175 <td class="md" nowrap valign="top">ServerConfig::ServerConfig </td>
176 <td class="md" valign="top">( </td>
177 <td class="mdname1" valign="top" nowrap> </td>
178 <td class="md" valign="top"> ) </td>
179 <td class="md" nowrap></td>
185 <table cellspacing="5" cellpadding="0" border="0">
196 <hr><h2>Member Function Documentation</h2>
197 <a class="anchor" name="ClearStack_28_29"></a><!-- doxytag: member="ServerConfig::ClearStack" ref="ClearStack_28_29" args="()" --><p>
198 <table class="mdTable" cellpadding="2" cellspacing="0">
201 <table cellpadding="0" cellspacing="0" border="0">
203 <td class="md" nowrap valign="top">void ServerConfig::ClearStack </td>
204 <td class="md" valign="top">( </td>
205 <td class="mdname1" valign="top" nowrap> </td>
206 <td class="md" valign="top"> ) </td>
207 <td class="md" nowrap></td>
213 <table cellspacing="5" cellpadding="0" border="0">
221 Clears the include stack in preperation for a <a class="el" href="classServerConfig.html#Read_28bool_20bail_2C_20userrec_20_2Auser_29">Read()</a> call.
225 Referenced by <a class="el" href="modules_8cpp-source.html#l00739">ConfigReader::ConfigReader()</a>. </td>
228 <a class="anchor" name="ConfProcess_28char_20_2Abuffer_2C_20long_20linenumber_2C_20std_3A_3Astringstream_20_2Aerrorstream_2C_20bool_20_26error_2C_20std_3A_3Astring_20filename_29"></a><!-- doxytag: member="ServerConfig::ConfProcess" ref="ConfProcess_28char_20_2Abuffer_2C_20long_20linenumber_2C_20std_3A_3Astringstream_20_2Aerrorstream_2C_20bool_20_26error_2C_20std_3A_3Astring_20filename_29" args="(char *buffer, long linenumber, std::stringstream *errorstream, bool &error, std::string filename)" --><p>
229 <table class="mdTable" cellpadding="2" cellspacing="0">
232 <table cellpadding="0" cellspacing="0" border="0">
234 <td class="md" nowrap valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> ServerConfig::ConfProcess </td>
235 <td class="md" valign="top">( </td>
236 <td class="md" nowrap valign="top">char * </td>
237 <td class="mdname" nowrap> <em>buffer</em>, </td>
240 <td class="md" nowrap align="right"></td>
242 <td class="md" nowrap>long </td>
243 <td class="mdname" nowrap> <em>linenumber</em>, </td>
246 <td class="md" nowrap align="right"></td>
248 <td class="md" nowrap>std::stringstream * </td>
249 <td class="mdname" nowrap> <em>errorstream</em>, </td>
252 <td class="md" nowrap align="right"></td>
254 <td class="md" nowrap>bool & </td>
255 <td class="mdname" nowrap> <em>error</em>, </td>
258 <td class="md" nowrap align="right"></td>
260 <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a> </td>
261 <td class="mdname" nowrap> <em>filename</em></td>
265 <td class="md">) </td>
266 <td class="md" colspan="2"><code> [private]</code></td>
272 <table cellspacing="5" cellpadding="0" border="0">
280 This private method processes one line of configutation, appending errors to errorstream and setting error if an error has occured.
285 <a class="anchor" name="ConfValue_28char_20_2Atag_2C_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_2C_20std_3A_3Astringstream_20_2Aconfig_29"></a><!-- doxytag: member="ServerConfig::ConfValue" ref="ConfValue_28char_20_2Atag_2C_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_2C_20std_3A_3Astringstream_20_2Aconfig_29" args="(char *tag, char *var, int index, char *result, std::stringstream *config)" --><p>
286 <table class="mdTable" cellpadding="2" cellspacing="0">
289 <table cellpadding="0" cellspacing="0" border="0">
291 <td class="md" nowrap valign="top">int ServerConfig::ConfValue </td>
292 <td class="md" valign="top">( </td>
293 <td class="md" nowrap valign="top">char * </td>
294 <td class="mdname" nowrap> <em>tag</em>, </td>
297 <td class="md" nowrap align="right"></td>
299 <td class="md" nowrap>char * </td>
300 <td class="mdname" nowrap> <em>var</em>, </td>
303 <td class="md" nowrap align="right"></td>
305 <td class="md" nowrap>int </td>
306 <td class="mdname" nowrap> <em>index</em>, </td>
309 <td class="md" nowrap align="right"></td>
311 <td class="md" nowrap>char * </td>
312 <td class="mdname" nowrap> <em>result</em>, </td>
315 <td class="md" nowrap align="right"></td>
317 <td class="md" nowrap>std::stringstream * </td>
318 <td class="mdname" nowrap> <em>config</em></td>
322 <td class="md">) </td>
323 <td class="md" colspan="2"></td>
329 <table cellspacing="5" cellpadding="0" border="0">
339 Referenced by <a class="el" href="users_8cpp-source.html#l00144">userrec::HasPermission()</a>. </td>
342 <a class="anchor" name="ConfValueEnum_28char_20_2Atag_2C_20std_3A_3Astringstream_20_2Aconfig_29"></a><!-- doxytag: member="ServerConfig::ConfValueEnum" ref="ConfValueEnum_28char_20_2Atag_2C_20std_3A_3Astringstream_20_2Aconfig_29" args="(char *tag, std::stringstream *config)" --><p>
343 <table class="mdTable" cellpadding="2" cellspacing="0">
346 <table cellpadding="0" cellspacing="0" border="0">
348 <td class="md" nowrap valign="top">int ServerConfig::ConfValueEnum </td>
349 <td class="md" valign="top">( </td>
350 <td class="md" nowrap valign="top">char * </td>
351 <td class="mdname" nowrap> <em>tag</em>, </td>
354 <td class="md" nowrap align="right"></td>
356 <td class="md" nowrap>std::stringstream * </td>
357 <td class="mdname" nowrap> <em>config</em></td>
361 <td class="md">) </td>
362 <td class="md" colspan="2"></td>
368 <table cellspacing="5" cellpadding="0" border="0">
379 <a class="anchor" name="EnumConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_29"></a><!-- doxytag: member="ServerConfig::EnumConf" ref="EnumConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_29" args="(std::stringstream *config_f, const char *tag)" --><p>
380 <table class="mdTable" cellpadding="2" cellspacing="0">
383 <table cellpadding="0" cellspacing="0" border="0">
385 <td class="md" nowrap valign="top">int ServerConfig::EnumConf </td>
386 <td class="md" valign="top">( </td>
387 <td class="md" nowrap valign="top">std::stringstream * </td>
388 <td class="mdname" nowrap> <em>config_f</em>, </td>
391 <td class="md" nowrap align="right"></td>
393 <td class="md" nowrap>const char * </td>
394 <td class="mdname" nowrap> <em>tag</em></td>
398 <td class="md">) </td>
399 <td class="md" colspan="2"></td>
405 <table cellspacing="5" cellpadding="0" border="0">
415 Referenced by <a class="el" href="modules_8cpp-source.html#l00871">ConfigReader::Enumerate()</a>. </td>
418 <a class="anchor" name="EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29"></a><!-- doxytag: member="ServerConfig::EnumValues" ref="EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29" args="(std::stringstream *config, const char *tag, int index)" --><p>
419 <table class="mdTable" cellpadding="2" cellspacing="0">
422 <table cellpadding="0" cellspacing="0" border="0">
424 <td class="md" nowrap valign="top">int ServerConfig::EnumValues </td>
425 <td class="md" valign="top">( </td>
426 <td class="md" nowrap valign="top">std::stringstream * </td>
427 <td class="mdname" nowrap> <em>config</em>, </td>
430 <td class="md" nowrap align="right"></td>
432 <td class="md" nowrap>const char * </td>
433 <td class="mdname" nowrap> <em>tag</em>, </td>
436 <td class="md" nowrap align="right"></td>
438 <td class="md" nowrap>int </td>
439 <td class="mdname" nowrap> <em>index</em></td>
443 <td class="md">) </td>
444 <td class="md" colspan="2"></td>
450 <table cellspacing="5" cellpadding="0" border="0">
460 Referenced by <a class="el" href="modules_8cpp-source.html#l00876">ConfigReader::EnumerateValues()</a>. </td>
463 <a class="anchor" name="fgets_5Fsafe_28char_20_2Abuffer_2C_20size_5Ft_20maxsize_2C_20FILE_20_2A_26file_29"></a><!-- doxytag: member="ServerConfig::fgets_safe" ref="fgets_5Fsafe_28char_20_2Abuffer_2C_20size_5Ft_20maxsize_2C_20FILE_20_2A_26file_29" args="(char *buffer, size_t maxsize, FILE *&file)" --><p>
464 <table class="mdTable" cellpadding="2" cellspacing="0">
467 <table cellpadding="0" cellspacing="0" border="0">
469 <td class="md" nowrap valign="top">int ServerConfig::fgets_safe </td>
470 <td class="md" valign="top">( </td>
471 <td class="md" nowrap valign="top">char * </td>
472 <td class="mdname" nowrap> <em>buffer</em>, </td>
475 <td class="md" nowrap align="right"></td>
477 <td class="md" nowrap>size_t </td>
478 <td class="mdname" nowrap> <em>maxsize</em>, </td>
481 <td class="md" nowrap align="right"></td>
483 <td class="md" nowrap>FILE *& </td>
484 <td class="mdname" nowrap> <em>file</em></td>
488 <td class="md">) </td>
489 <td class="md" colspan="2"><code> [private]</code></td>
495 <table cellspacing="5" cellpadding="0" border="0">
503 Used by the config file subsystem to safely read a C-style string without dependency upon any certain style of linefeed, e.g.
505 it can read both windows and UNIX style linefeeds transparently. </td>
508 <a class="anchor" name="LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29"></a><!-- doxytag: member="ServerConfig::LoadConf" ref="LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29" args="(const char *filename, std::stringstream *target, std::stringstream *errorstream)" --><p>
509 <table class="mdTable" cellpadding="2" cellspacing="0">
512 <table cellpadding="0" cellspacing="0" border="0">
514 <td class="md" nowrap valign="top">bool ServerConfig::LoadConf </td>
515 <td class="md" valign="top">( </td>
516 <td class="md" nowrap valign="top">const char * </td>
517 <td class="mdname" nowrap> <em>filename</em>, </td>
520 <td class="md" nowrap align="right"></td>
522 <td class="md" nowrap>std::stringstream * </td>
523 <td class="mdname" nowrap> <em>target</em>, </td>
526 <td class="md" nowrap align="right"></td>
528 <td class="md" nowrap>std::stringstream * </td>
529 <td class="mdname" nowrap> <em>errorstream</em></td>
533 <td class="md">) </td>
534 <td class="md" colspan="2"></td>
540 <table cellspacing="5" cellpadding="0" border="0">
550 Referenced by <a class="el" href="modules_8cpp-source.html#l00739">ConfigReader::ConfigReader()</a>. </td>
553 <a class="anchor" name="Read_28bool_20bail_2C_20userrec_20_2Auser_29"></a><!-- doxytag: member="ServerConfig::Read" ref="Read_28bool_20bail_2C_20userrec_20_2Auser_29" args="(bool bail, userrec *user)" --><p>
554 <table class="mdTable" cellpadding="2" cellspacing="0">
557 <table cellpadding="0" cellspacing="0" border="0">
559 <td class="md" nowrap valign="top">void ServerConfig::Read </td>
560 <td class="md" valign="top">( </td>
561 <td class="md" nowrap valign="top">bool </td>
562 <td class="mdname" nowrap> <em>bail</em>, </td>
565 <td class="md" nowrap align="right"></td>
567 <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td>
568 <td class="mdname" nowrap> <em>user</em></td>
572 <td class="md">) </td>
573 <td class="md" colspan="2"></td>
579 <table cellspacing="5" cellpadding="0" border="0">
587 Read the entire configuration into memory and initialize this class.
589 All other methods should be used only by the core.
591 Referenced by <a class="el" href="modules_8cpp-source.html#l00326">Server::RehashServer()</a>. </td>
594 <a class="anchor" name="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"></a><!-- doxytag: member="ServerConfig::ReadConf" ref="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" args="(std::stringstream *config_f, const char *tag, const char *var, int index, char *result)" --><p>
595 <table class="mdTable" cellpadding="2" cellspacing="0">
598 <table cellpadding="0" cellspacing="0" border="0">
600 <td class="md" nowrap valign="top">int ServerConfig::ReadConf </td>
601 <td class="md" valign="top">( </td>
602 <td class="md" nowrap valign="top">std::stringstream * </td>
603 <td class="mdname" nowrap> <em>config_f</em>, </td>
606 <td class="md" nowrap align="right"></td>
608 <td class="md" nowrap>const char * </td>
609 <td class="mdname" nowrap> <em>tag</em>, </td>
612 <td class="md" nowrap align="right"></td>
614 <td class="md" nowrap>const char * </td>
615 <td class="mdname" nowrap> <em>var</em>, </td>
618 <td class="md" nowrap align="right"></td>
620 <td class="md" nowrap>int </td>
621 <td class="mdname" nowrap> <em>index</em>, </td>
624 <td class="md" nowrap align="right"></td>
626 <td class="md" nowrap>char * </td>
627 <td class="mdname" nowrap> <em>result</em></td>
631 <td class="md">) </td>
632 <td class="md" colspan="2"></td>
638 <table cellspacing="5" cellpadding="0" border="0">
648 Referenced by <a class="el" href="modules_8cpp-source.html#l00785">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00802">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00769">ConfigReader::ReadValue()</a>. </td>
651 <hr><h2>Member Data Documentation</h2>
652 <a class="anchor" name="addrs_5BMAXBUF_5D_5B_32_35_35_5D"></a><!-- doxytag: member="ServerConfig::addrs" ref="addrs_5BMAXBUF_5D_5B_32_35_35_5D" args="[MAXBUF][255]" --><p>
653 <table class="mdTable" cellpadding="2" cellspacing="0">
656 <table cellpadding="0" cellspacing="0" border="0">
658 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#addrs_5BMAXBUF_5D_5B_32_35_35_5D">ServerConfig::addrs</a>[MAXBUF][255] </td>
664 <table cellspacing="5" cellpadding="0" border="0">
672 A list of IP addresses the server is listening on.
676 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00216">216</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
679 <a class="anchor" name="AdminEmail_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::AdminEmail" ref="AdminEmail_5BMAXBUF_5D" args="[MAXBUF]" --><p>
680 <table class="mdTable" cellpadding="2" cellspacing="0">
683 <table cellpadding="0" cellspacing="0" border="0">
685 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#AdminEmail_5BMAXBUF_5D">ServerConfig::AdminEmail</a>[MAXBUF] </td>
691 <table cellspacing="5" cellpadding="0" border="0">
699 Holds the email address of the admin, for output in the /ADMIN command.
703 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00089">89</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
706 <a class="anchor" name="AdminName_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::AdminName" ref="AdminName_5BMAXBUF_5D" args="[MAXBUF]" --><p>
707 <table class="mdTable" cellpadding="2" cellspacing="0">
710 <table cellpadding="0" cellspacing="0" border="0">
712 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#AdminName_5BMAXBUF_5D">ServerConfig::AdminName</a>[MAXBUF] </td>
718 <table cellspacing="5" cellpadding="0" border="0">
726 Holds the admin's name, for output in the /ADMIN command.
730 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00084">84</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
733 <a class="anchor" name="AdminNick_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::AdminNick" ref="AdminNick_5BMAXBUF_5D" args="[MAXBUF]" --><p>
734 <table class="mdTable" cellpadding="2" cellspacing="0">
737 <table cellpadding="0" cellspacing="0" border="0">
739 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#AdminNick_5BMAXBUF_5D">ServerConfig::AdminNick</a>[MAXBUF] </td>
745 <table cellspacing="5" cellpadding="0" border="0">
753 Holds the admin's nickname, for output in the /ADMIN command.
757 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00094">94</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
760 <a class="anchor" name="AllowHalfop"></a><!-- doxytag: member="ServerConfig::AllowHalfop" ref="AllowHalfop" args="" --><p>
761 <table class="mdTable" cellpadding="2" cellspacing="0">
764 <table cellpadding="0" cellspacing="0" border="0">
766 <td class="md" nowrap valign="top">bool <a class="el" href="classServerConfig.html#AllowHalfop">ServerConfig::AllowHalfop</a> </td>
772 <table cellspacing="5" cellpadding="0" border="0">
780 If this value is true, halfops have been enabled in the configuration file.
784 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00171">171</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
787 <a class="anchor" name="Classes"></a><!-- doxytag: member="ServerConfig::Classes" ref="Classes" args="" --><p>
788 <table class="mdTable" cellpadding="2" cellspacing="0">
791 <table cellpadding="0" cellspacing="0" border="0">
793 <td class="md" nowrap valign="top"><a class="el" href="users_8h.html#ClassVector">ClassVector</a> <a class="el" href="classServerConfig.html#Classes">ServerConfig::Classes</a> </td>
799 <table cellspacing="5" cellpadding="0" border="0">
807 The connect classes in use by the IRC server.
811 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00242">242</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
814 <a class="anchor" name="config_5Ff"></a><!-- doxytag: member="ServerConfig::config_f" ref="config_5Ff" args="" --><p>
815 <table class="mdTable" cellpadding="2" cellspacing="0">
818 <table cellpadding="0" cellspacing="0" border="0">
820 <td class="md" nowrap valign="top">std::stringstream <a class="el" href="classServerConfig.html#config_5Ff">ServerConfig::config_f</a> </td>
826 <table cellspacing="5" cellpadding="0" border="0">
834 The parsed configuration file as a stringstream.
836 You should pass this to any configuration methods of this class, and not access it directly. It is recommended that modules use <a class="el" href="classConfigReader.html">ConfigReader</a> instead which provides a simpler abstraction of configuration files.
838 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00238">238</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>.
840 Referenced by <a class="el" href="users_8cpp-source.html#l00144">userrec::HasPermission()</a>. </td>
843 <a class="anchor" name="debugging"></a><!-- doxytag: member="ServerConfig::debugging" ref="debugging" args="" --><p>
844 <table class="mdTable" cellpadding="2" cellspacing="0">
847 <table cellpadding="0" cellspacing="0" border="0">
849 <td class="md" nowrap valign="top">int <a class="el" href="classServerConfig.html#debugging">ServerConfig::debugging</a> </td>
855 <table cellspacing="5" cellpadding="0" border="0">
863 True if the DEBUG loglevel is selected.
867 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00202">202</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
870 <a class="anchor" name="DieDelay"></a><!-- doxytag: member="ServerConfig::DieDelay" ref="DieDelay" args="" --><p>
871 <table class="mdTable" cellpadding="2" cellspacing="0">
874 <table cellpadding="0" cellspacing="0" border="0">
876 <td class="md" nowrap valign="top">int <a class="el" href="classServerConfig.html#DieDelay">ServerConfig::DieDelay</a> </td>
882 <table cellspacing="5" cellpadding="0" border="0">
890 How many seconds to wait before exiting the program when /DIE is correctly issued.
894 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00211">211</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
897 <a class="anchor" name="diepass_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::diepass" ref="diepass_5BMAXBUF_5D" args="[MAXBUF]" --><p>
898 <table class="mdTable" cellpadding="2" cellspacing="0">
901 <table cellpadding="0" cellspacing="0" border="0">
903 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#diepass_5BMAXBUF_5D">ServerConfig::diepass</a>[MAXBUF] </td>
909 <table cellspacing="5" cellpadding="0" border="0">
917 The admin-configured /DIE password.
921 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00098">98</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
924 <a class="anchor" name="DieValue_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::DieValue" ref="DieValue_5BMAXBUF_5D" args="[MAXBUF]" --><p>
925 <table class="mdTable" cellpadding="2" cellspacing="0">
928 <table cellpadding="0" cellspacing="0" border="0">
930 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#DieValue_5BMAXBUF_5D">ServerConfig::DieValue</a>[MAXBUF] </td>
936 <table cellspacing="5" cellpadding="0" border="0">
944 The last string found within a <die> tag, or an empty string.
948 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00121">121</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
951 <a class="anchor" name="DisabledCommands_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::DisabledCommands" ref="DisabledCommands_5BMAXBUF_5D" args="[MAXBUF]" --><p>
952 <table class="mdTable" cellpadding="2" cellspacing="0">
955 <table cellpadding="0" cellspacing="0" border="0">
957 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#DisabledCommands_5BMAXBUF_5D">ServerConfig::DisabledCommands</a>[MAXBUF] </td>
963 <table cellspacing="5" cellpadding="0" border="0">
971 This variable contains a space-seperated list of commands which are disabled by the administrator of the server for non-opers.
975 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00131">131</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
978 <a class="anchor" name="dns_5Ftimeout"></a><!-- doxytag: member="ServerConfig::dns_timeout" ref="dns_5Ftimeout" args="" --><p>
979 <table class="mdTable" cellpadding="2" cellspacing="0">
982 <table cellpadding="0" cellspacing="0" border="0">
984 <td class="md" nowrap valign="top">int <a class="el" href="classServerConfig.html#dns_5Ftimeout">ServerConfig::dns_timeout</a> </td>
990 <table cellspacing="5" cellpadding="0" border="0">
998 The number of seconds the <a class="el" href="classDNS.html">DNS</a> subsystem will wait before timing out any request.
1002 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00176">176</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1005 <a class="anchor" name="DNSServer_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::DNSServer" ref="DNSServer_5BMAXBUF_5D" args="[MAXBUF]" --><p>
1006 <table class="mdTable" cellpadding="2" cellspacing="0">
1009 <table cellpadding="0" cellspacing="0" border="0">
1011 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#DNSServer_5BMAXBUF_5D">ServerConfig::DNSServer</a>[MAXBUF] </td>
1017 <table cellspacing="5" cellpadding="0" border="0">
1025 The <a class="el" href="classDNS.html">DNS</a> server to use for <a class="el" href="classDNS.html">DNS</a> queries.
1029 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00125">125</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1032 <a class="anchor" name="include_5Fstack"></a><!-- doxytag: member="ServerConfig::include_stack" ref="include_5Fstack" args="" --><p>
1033 <table class="mdTable" cellpadding="2" cellspacing="0">
1036 <table cellpadding="0" cellspacing="0" border="0">
1038 <td class="md" nowrap valign="top">std::vector<<a class="el" href="namespaceirc.html#string">std::string</a>> <a class="el" href="classServerConfig.html#include_5Fstack">ServerConfig::include_stack</a><code> [private]</code> </td>
1044 <table cellspacing="5" cellpadding="0" border="0">
1052 This variable holds the names of all files included from the main one.
1054 This is used to make sure that no files are recursively included.
1056 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00047">47</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1059 <a class="anchor" name="log_5Ffile"></a><!-- doxytag: member="ServerConfig::log_file" ref="log_5Ffile" args="" --><p>
1060 <table class="mdTable" cellpadding="2" cellspacing="0">
1063 <table cellpadding="0" cellspacing="0" border="0">
1065 <td class="md" nowrap valign="top">FILE* <a class="el" href="classServerConfig.html#log_5Ffile">ServerConfig::log_file</a> </td>
1071 <table cellspacing="5" cellpadding="0" border="0">
1079 The file handle of the logfile.
1081 If this value is NULL, the log file is not open, probably due to a permissions error on startup (this should not happen in normal operation!).
1083 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00151">151</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1086 <a class="anchor" name="LogLevel"></a><!-- doxytag: member="ServerConfig::LogLevel" ref="LogLevel" args="" --><p>
1087 <table class="mdTable" cellpadding="2" cellspacing="0">
1090 <table cellpadding="0" cellspacing="0" border="0">
1092 <td class="md" nowrap valign="top">int <a class="el" href="classServerConfig.html#LogLevel">ServerConfig::LogLevel</a> </td>
1098 <table cellspacing="5" cellpadding="0" border="0">
1106 The loglevel in use by the IRC server.
1110 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00206">206</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1113 <a class="anchor" name="MaxConn"></a><!-- doxytag: member="ServerConfig::MaxConn" ref="MaxConn" args="" --><p>
1114 <table class="mdTable" cellpadding="2" cellspacing="0">
1117 <table cellpadding="0" cellspacing="0" border="0">
1119 <td class="md" nowrap valign="top">int <a class="el" href="classServerConfig.html#MaxConn">ServerConfig::MaxConn</a> </td>
1125 <table cellspacing="5" cellpadding="0" border="0">
1133 The value to be used for listen() backlogs as default.
1137 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00187">187</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1140 <a class="anchor" name="MaxWhoResults"></a><!-- doxytag: member="ServerConfig::MaxWhoResults" ref="MaxWhoResults" args="" --><p>
1141 <table class="mdTable" cellpadding="2" cellspacing="0">
1144 <table cellpadding="0" cellspacing="0" border="0">
1146 <td class="md" nowrap valign="top">int <a class="el" href="classServerConfig.html#MaxWhoResults">ServerConfig::MaxWhoResults</a> </td>
1152 <table cellspacing="5" cellpadding="0" border="0">
1160 The maximum number of /WHO results allowed in any single /WHO command.
1164 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00198">198</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1167 <a class="anchor" name="ModPath_5B_31_30_32_34_5D"></a><!-- doxytag: member="ServerConfig::ModPath" ref="ModPath_5B_31_30_32_34_5D" args="[1024]" --><p>
1168 <table class="mdTable" cellpadding="2" cellspacing="0">
1171 <table cellpadding="0" cellspacing="0" border="0">
1173 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#ModPath_5B_31_30_32_34_5D">ServerConfig::ModPath</a>[1024] </td>
1179 <table cellspacing="5" cellpadding="0" border="0">
1187 The full path to the modules directory.
1189 This is either set at compile time, or overridden in the configuration file via the <options> tag.
1191 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00138">138</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1194 <a class="anchor" name="module_5Fnames"></a><!-- doxytag: member="ServerConfig::module_names" ref="module_5Fnames" args="" --><p>
1195 <table class="mdTable" cellpadding="2" cellspacing="0">
1198 <table cellpadding="0" cellspacing="0" border="0">
1200 <td class="md" nowrap valign="top">std::vector<<a class="el" href="namespaceirc.html#string">std::string</a>> <a class="el" href="classServerConfig.html#module_5Fnames">ServerConfig::module_names</a> </td>
1206 <table cellspacing="5" cellpadding="0" border="0">
1214 A list of module names (names only, no paths) which are currently loaded by the server.
1218 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00247">247</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>.
1220 Referenced by <a class="el" href="modules_8cpp-source.html#l00727">Server::FindModule()</a>. </td>
1223 <a class="anchor" name="MOTD"></a><!-- doxytag: member="ServerConfig::MOTD" ref="MOTD" args="" --><p>
1224 <table class="mdTable" cellpadding="2" cellspacing="0">
1227 <table cellpadding="0" cellspacing="0" border="0">
1229 <td class="md" nowrap valign="top"><a class="el" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="el" href="classServerConfig.html#MOTD">ServerConfig::MOTD</a> </td>
1235 <table cellspacing="5" cellpadding="0" border="0">
1243 The MOTD file, cached in a file_cache type.
1247 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00220">220</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1250 <a class="anchor" name="motd_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::motd" ref="motd_5BMAXBUF_5D" args="[MAXBUF]" --><p>
1251 <table class="mdTable" cellpadding="2" cellspacing="0">
1254 <table cellpadding="0" cellspacing="0" border="0">
1256 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#motd_5BMAXBUF_5D">ServerConfig::motd</a>[MAXBUF] </td>
1262 <table cellspacing="5" cellpadding="0" border="0">
1270 The pathname and filename of the message of the day file, as defined by the administrator.
1274 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00107">107</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1277 <a class="anchor" name="MyExecutable_5B_31_30_32_34_5D"></a><!-- doxytag: member="ServerConfig::MyExecutable" ref="MyExecutable_5B_31_30_32_34_5D" args="[1024]" --><p>
1278 <table class="mdTable" cellpadding="2" cellspacing="0">
1281 <table cellpadding="0" cellspacing="0" border="0">
1283 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#MyExecutable_5B_31_30_32_34_5D">ServerConfig::MyExecutable</a>[1024] </td>
1289 <table cellspacing="5" cellpadding="0" border="0">
1297 The full pathname to the executable, as given in argv[0] when the program starts.
1301 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00143">143</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1304 <a class="anchor" name="NetBufferSize"></a><!-- doxytag: member="ServerConfig::NetBufferSize" ref="NetBufferSize" args="" --><p>
1305 <table class="mdTable" cellpadding="2" cellspacing="0">
1308 <table cellpadding="0" cellspacing="0" border="0">
1310 <td class="md" nowrap valign="top">int <a class="el" href="classServerConfig.html#NetBufferSize">ServerConfig::NetBufferSize</a> </td>
1316 <table cellspacing="5" cellpadding="0" border="0">
1324 The size of the read() buffer in the user handling code, used to read data into a user's recvQ.
1328 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00182">182</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1331 <a class="anchor" name="Network_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::Network" ref="Network_5BMAXBUF_5D" args="[MAXBUF]" --><p>
1332 <table class="mdTable" cellpadding="2" cellspacing="0">
1335 <table cellpadding="0" cellspacing="0" border="0">
1337 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#Network_5BMAXBUF_5D">ServerConfig::Network</a>[MAXBUF] </td>
1343 <table cellspacing="5" cellpadding="0" border="0">
1353 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00074">74</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1356 <a class="anchor" name="nofork"></a><!-- doxytag: member="ServerConfig::nofork" ref="nofork" args="" --><p>
1357 <table class="mdTable" cellpadding="2" cellspacing="0">
1360 <table cellpadding="0" cellspacing="0" border="0">
1362 <td class="md" nowrap valign="top">bool <a class="el" href="classServerConfig.html#nofork">ServerConfig::nofork</a> </td>
1368 <table cellspacing="5" cellpadding="0" border="0">
1376 If this value is true, the owner of the server specified -nofork on the command line, causing the daemon to stay in the foreground.
1380 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00158">158</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1383 <a class="anchor" name="PID_5B_31_30_32_34_5D"></a><!-- doxytag: member="ServerConfig::PID" ref="PID_5B_31_30_32_34_5D" args="[1024]" --><p>
1384 <table class="mdTable" cellpadding="2" cellspacing="0">
1387 <table cellpadding="0" cellspacing="0" border="0">
1389 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#PID_5B_31_30_32_34_5D">ServerConfig::PID</a>[1024] </td>
1395 <table cellspacing="5" cellpadding="0" border="0">
1403 The full pathname and filename of the PID file as defined in the configuration.
1407 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00229">229</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1410 <a class="anchor" name="PrefixQuit_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::PrefixQuit" ref="PrefixQuit_5BMAXBUF_5D" args="[MAXBUF]" --><p>
1411 <table class="mdTable" cellpadding="2" cellspacing="0">
1414 <table cellpadding="0" cellspacing="0" border="0">
1416 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#PrefixQuit_5BMAXBUF_5D">ServerConfig::PrefixQuit</a>[MAXBUF] </td>
1422 <table cellspacing="5" cellpadding="0" border="0">
1430 The quit prefix in use, or an empty string.
1434 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00116">116</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1437 <a class="anchor" name="restartpass_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::restartpass" ref="restartpass_5BMAXBUF_5D" args="[MAXBUF]" --><p>
1438 <table class="mdTable" cellpadding="2" cellspacing="0">
1441 <table cellpadding="0" cellspacing="0" border="0">
1443 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#restartpass_5BMAXBUF_5D">ServerConfig::restartpass</a>[MAXBUF] </td>
1449 <table cellspacing="5" cellpadding="0" border="0">
1457 The admin-configured /RESTART password.
1461 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00102">102</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1464 <a class="anchor" name="RULES"></a><!-- doxytag: member="ServerConfig::RULES" ref="RULES" args="" --><p>
1465 <table class="mdTable" cellpadding="2" cellspacing="0">
1468 <table cellpadding="0" cellspacing="0" border="0">
1470 <td class="md" nowrap valign="top"><a class="el" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="el" href="classServerConfig.html#RULES">ServerConfig::RULES</a> </td>
1476 <table cellspacing="5" cellpadding="0" border="0">
1484 The RULES file, cached in a file_cache type.
1488 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00224">224</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1491 <a class="anchor" name="rules_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::rules" ref="rules_5BMAXBUF_5D" args="[MAXBUF]" --><p>
1492 <table class="mdTable" cellpadding="2" cellspacing="0">
1495 <table cellpadding="0" cellspacing="0" border="0">
1497 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#rules_5BMAXBUF_5D">ServerConfig::rules</a>[MAXBUF] </td>
1503 <table cellspacing="5" cellpadding="0" border="0">
1511 The pathname and filename of the rules file, as defined by the administrator.
1515 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00112">112</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1518 <a class="anchor" name="ServerDesc_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::ServerDesc" ref="ServerDesc_5BMAXBUF_5D" args="[MAXBUF]" --><p>
1519 <table class="mdTable" cellpadding="2" cellspacing="0">
1522 <table cellpadding="0" cellspacing="0" border="0">
1524 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#ServerDesc_5BMAXBUF_5D">ServerConfig::ServerDesc</a>[MAXBUF] </td>
1530 <table cellspacing="5" cellpadding="0" border="0">
1538 Holds the description of the local server as defined by the administrator.
1542 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00079">79</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1545 <a class="anchor" name="ServerName_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::ServerName" ref="ServerName_5BMAXBUF_5D" args="[MAXBUF]" --><p>
1546 <table class="mdTable" cellpadding="2" cellspacing="0">
1549 <table cellpadding="0" cellspacing="0" border="0">
1551 <td class="md" nowrap valign="top">char <a class="el" href="classServerConfig.html#ServerName_5BMAXBUF_5D">ServerConfig::ServerName</a>[MAXBUF] </td>
1557 <table cellspacing="5" cellpadding="0" border="0">
1565 Holds the server name of the local server as defined by the administrator.
1569 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00068">68</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>.
1571 Referenced by <a class="el" href="users_8cpp-source.html#l00036">userrec::userrec()</a>. </td>
1574 <a class="anchor" name="SoftLimit"></a><!-- doxytag: member="ServerConfig::SoftLimit" ref="SoftLimit" args="" --><p>
1575 <table class="mdTable" cellpadding="2" cellspacing="0">
1578 <table cellpadding="0" cellspacing="0" border="0">
1580 <td class="md" nowrap valign="top">unsigned int <a class="el" href="classServerConfig.html#SoftLimit">ServerConfig::SoftLimit</a> </td>
1586 <table cellspacing="5" cellpadding="0" border="0">
1594 The soft limit value assigned to the irc server.
1596 The IRC server will not allow more than this number of local users.
1598 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00193">193</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1601 <a class="anchor" name="unlimitcore"></a><!-- doxytag: member="ServerConfig::unlimitcore" ref="unlimitcore" args="" --><p>
1602 <table class="mdTable" cellpadding="2" cellspacing="0">
1605 <table cellpadding="0" cellspacing="0" border="0">
1607 <td class="md" nowrap valign="top">bool <a class="el" href="classServerConfig.html#unlimitcore">ServerConfig::unlimitcore</a> </td>
1613 <table cellspacing="5" cellpadding="0" border="0">
1621 If this value is true, the owner of the server has chosen to unlimit the coredump size to as large a value as his account settings will allow.
1623 This is often used when debugging.
1625 Definition at line <a class="el" href="inspircd__io_8h-source.html#l00166">166</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td>
1628 <hr>The documentation for this class was generated from the following file:<ul>
1629 <li><a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a></ul>
1630 <hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:51 2005 for InspIRCd by
1631 <a href="http://www.doxygen.org/index.html">
1632 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>