#include <inspircd_io.h>
Inheritance diagram for ServerConfig:
Public Member Functions | |
ServerConfig () | |
void | ClearStack () |
void | Read (bool bail, userrec *user) |
bool | LoadConf (const char *filename, std::stringstream *target, std::stringstream *errorstream) |
int | ConfValue (char *tag, char *var, int index, char *result, std::stringstream *config) |
int | ReadConf (std::stringstream *config_f, const char *tag, const char *var, int index, char *result) |
int | ConfValueEnum (char *tag, std::stringstream *config) |
int | EnumConf (std::stringstream *config_f, const char *tag) |
int | EnumValues (std::stringstream *config, const char *tag, int index) |
Public Attributes | |
char | ServerName [MAXBUF] |
char | Network [MAXBUF] |
char | ServerDesc [MAXBUF] |
char | AdminName [MAXBUF] |
char | AdminEmail [MAXBUF] |
char | AdminNick [MAXBUF] |
char | diepass [MAXBUF] |
char | restartpass [MAXBUF] |
char | motd [MAXBUF] |
char | rules [MAXBUF] |
char | PrefixQuit [MAXBUF] |
char | DieValue [MAXBUF] |
char | DNSServer [MAXBUF] |
char | DisabledCommands [MAXBUF] |
char | ModPath [1024] |
char | MyExecutable [1024] |
FILE * | log_file |
bool | nofork |
bool | unlimitcore |
bool | AllowHalfop |
int | dns_timeout |
int | NetBufferSize |
int | MaxConn |
unsigned int | SoftLimit |
int | MaxWhoResults |
int | debugging |
int | LogLevel |
int | DieDelay |
char | addrs [MAXBUF][255] |
file_cache | MOTD |
file_cache | RULES |
char | PID [1024] |
std::stringstream | config_f |
ClassVector | Classes |
std::vector< std::string > | module_names |
Private Member Functions | |
int | fgets_safe (char *buffer, size_t maxsize, FILE *&file) |
std::string | ConfProcess (char *buffer, long linenumber, std::stringstream *errorstream, bool &error, std::string filename) |
Private Attributes | |
std::vector< std::string > | include_stack |
Definition at line 34 of file inspircd_io.h.
|
|
|
Referenced by ConfigReader::ConfigReader(). |
|
|
|
Referenced by userrec::HasPermission(). |
|
|
|
Referenced by ConfigReader::Enumerate(). |
|
Referenced by ConfigReader::EnumerateValues(). |
|
|
|
Referenced by ConfigReader::ConfigReader(). |
|
Referenced by Server::RehashServer(). |
|
Referenced by ConfigReader::ReadFlag(), ConfigReader::ReadInteger(), and ConfigReader::ReadValue(). |
|
Definition at line 70 of file inspircd_io.h. |
|
Definition at line 46 of file inspircd_io.h. |
|
Definition at line 45 of file inspircd_io.h. |
|
Definition at line 47 of file inspircd_io.h. |
|
Definition at line 61 of file inspircd_io.h. |
|
Definition at line 75 of file inspircd_io.h. |
|
Definition at line 74 of file inspircd_io.h. Referenced by userrec::HasPermission(). |
|
Definition at line 67 of file inspircd_io.h. |
|
Definition at line 69 of file inspircd_io.h. |
|
Definition at line 48 of file inspircd_io.h. |
|
Definition at line 53 of file inspircd_io.h. |
|
Definition at line 55 of file inspircd_io.h. |
|
Definition at line 62 of file inspircd_io.h. |
|
Definition at line 54 of file inspircd_io.h. |
|
Definition at line 37 of file inspircd_io.h. |
|
Definition at line 58 of file inspircd_io.h. |
|
Definition at line 68 of file inspircd_io.h. |
|
Definition at line 64 of file inspircd_io.h. |
|
Definition at line 66 of file inspircd_io.h. |
|
Definition at line 56 of file inspircd_io.h. |
|
Definition at line 76 of file inspircd_io.h. Referenced by Server::FindModule(). |
|
Definition at line 71 of file inspircd_io.h. |
|
Definition at line 50 of file inspircd_io.h. |
|
Definition at line 57 of file inspircd_io.h. |
|
Definition at line 63 of file inspircd_io.h. |
|
Definition at line 43 of file inspircd_io.h. |
|
Definition at line 59 of file inspircd_io.h. |
|
Definition at line 73 of file inspircd_io.h. |
|
Definition at line 52 of file inspircd_io.h. |
|
Definition at line 49 of file inspircd_io.h. |
|
Definition at line 72 of file inspircd_io.h. |
|
Definition at line 51 of file inspircd_io.h. |
|
Definition at line 44 of file inspircd_io.h. |
|
Definition at line 42 of file inspircd_io.h. Referenced by userrec::userrec(). |
|
Definition at line 65 of file inspircd_io.h. |
|
Definition at line 60 of file inspircd_io.h. |