InspIRCd  2.0
Public Attributes | List of all members
CommandLineConf Struct Reference

Public Attributes

bool nofork
bool forcedebug
bool writelog
bool TestSuite
int argc
char ** argv
std::string startup_log

Member Data Documentation

◆ argc

int CommandLineConf::argc

Saved argc from startup

◆ argv

char** CommandLineConf::argv

Saved argv from startup

◆ forcedebug

bool CommandLineConf::forcedebug

If this value if true then all log messages will be output, regardless of the level given in the config file. This is set with the -debug commandline option.

◆ nofork

bool CommandLineConf::nofork

If this value is true, the owner of the server specified -nofork on the command line, causing the daemon to stay in the foreground.

◆ TestSuite

bool CommandLineConf::TestSuite

True if we have been told to run the testsuite from the commandline, rather than entering the mainloop.

◆ writelog

bool CommandLineConf::writelog

If this is true then log output will be written to the logfile. This is the default. If you put -nolog on the commandline then the logfile will not be written. This is meant to be used in conjunction with -debug for debugging without filling up the hard disk.

The documentation for this struct was generated from the following file: