#include "modes.h"

Go to the source code of this file.
Defines | |
| #define | E extern CoreExport |
| #define | EI extern DllExport |
Functions | |
| E bool | bad_password (User *u) |
| E void | common_unban (const ChannelInfo *ci, User *u, bool full=false) |
| E void | enc_encrypt (const Anope::string &src, Anope::string &dest) |
| E bool | enc_decrypt (const Anope::string &src, Anope::string &dest) |
| E void | introduce_user (const Anope::string &user) |
| E bool | GetCommandLineArgument (const Anope::string &name, char shortname=0) |
| E bool | GetCommandLineArgument (const Anope::string &name, char shortname, Anope::string ¶m) |
| E bool | AtTerm () |
| E void | Fork () |
| E void | Init (int ac, char **av) |
| E void | InitLanguages () |
| E const char * | translate (const char *string) |
| E const char * | translate (User *u, const char *string) |
| E const char * | translate (const NickCore *nc, const char *string) |
| E const char * | anope_gettext (const char *lang, const char *string) |
| E void | save_databases () |
| E void | sighandler (int signum) |
| E bool | IsFile (const Anope::string &filename) |
| E time_t | dotime (const Anope::string &s) |
| E Anope::string | duration (const time_t &seconds, const NickCore *nc=NULL) |
| E Anope::string | expire_left (const NickCore *nc, time_t expires) |
| E Anope::string | do_strftime (const time_t &t, const NickCore *nc=NULL, bool short_output=false) |
| E bool | IsValidIdent (const Anope::string &ident) |
| E bool | IsValidHost (const Anope::string &host) |
| E Anope::string | myStrGetToken (const Anope::string &str, char dilim, int token_number) |
| E Anope::string | myStrGetTokenRemainder (const Anope::string &str, char dilim, int token_number) |
| E int | myNumToken (const Anope::string &str, char dilim) |
| E bool | nickIsServices (const Anope::string &nick, bool bot) |
| E std::list< Anope::string > | BuildStringList (const Anope::string &, char= ' ') |
| E std::vector< Anope::string > | BuildStringVector (const Anope::string &, char= ' ') |
| E bool | str_is_wildcard (const Anope::string &str) |
| E bool | str_is_pure_wildcard (const Anope::string &str) |
| E Anope::string | normalizeBuffer (const Anope::string &) |
| E void | SetDefaultMLock (ServerConfig *config) |
| E void | process (const Anope::string &buf) |
Variables | |
| E Anope::string | conf_dir |
| E Anope::string | db_dir |
| E Anope::string | modules_dir |
| E Anope::string | locale_dir |
| E Anope::string | log_dir |
| E std::vector< Anope::string > | languages |
| E std::vector< Anope::string > | domains |
| E Anope::string | services_dir |
| E Anope::string | services_bin |
| E int | debug |
| E bool | readonly |
| E bool | nofork |
| E bool | nothird |
| E bool | noexpire |
| E bool | protocoldebug |
| E bool | quitting |
| E int | return_code |
| E bool | restarting |
| E Anope::string | quitmsg |
| E time_t | start_time |
| E int | CurrentUplink |
| E unsigned | GenericChannelModes |
| E unsigned | GenericUserModes |
| E std::multimap < ChannelModeName, ModeLock * > | def_mode_locks |
| E const char* anope_gettext | ( | const char * | lang, | |
| const char * | string | |||
| ) |
Definition at line 111 of file language.cpp.
Referenced by CommandNSSASetLanguage::OnHelp(), CommandNSSetLanguage::OnHelp(), and translate().
| E bool AtTerm | ( | ) |
Definition at line 218 of file init.cpp.
Referenced by Init(), Server::Sync(), and UplinkSocket::~UplinkSocket().
| E bool bad_password | ( | User * | u | ) |
Note a bad password attempt for the given user. If they've used up their limit, toss them off.
| u | the User to check |
Definition at line 27 of file actions.cpp.
References ServerConfig::BadPassLimit, ServerConfig::BadPassTimeout, Config, Anope::CurTime, User::invalid_pw_count, User::invalid_pw_time, User::Kill(), and ServerConfig::ServerName.
Referenced by CommandOSLogin::Execute(), NSReleaseRequest::OnFail(), NSRecoverRequest::OnFail(), NSIdentifyRequest::OnFail(), NSGroupRequest::OnFail(), and NSGhostRequest::OnFail().
| E std::list<Anope::string> BuildStringList | ( | const Anope::string & | src, | |
| char | delim | |||
| ) |
Build a string list from a source string
| src | The source string |
Definition at line 548 of file misc.cpp.
References sepstream::GetToken().
Referenced by DoLogs().
| E std::vector<Anope::string> BuildStringVector | ( | const Anope::string & | , | |
| char | = ' ' | |||
| ) |
Definition at line 560 of file misc.cpp.
References sepstream::GetToken().
Referenced by DoOper(), Rewrite::Matches(), ModuleRewrite::OnBotPrivmsg(), BotServCore::OnPrivmsg(), HTTPD::OnReload(), MyHTTPClient::Read(), RunCommand(), TemplateFileServer::Serve(), and ChannelInfo::unserialize().
| E void common_unban | ( | const ChannelInfo * | ci, | |
| User * | u, | |||
| bool | full | |||
| ) |
Unban the user from a channel
| ci | channel info for the channel | |
| u | The user to unban | |
| full | True to match against the users real host and IP |
Definition at line 55 of file actions.cpp.
References ChannelInfo::c, CMODE_BAN, Entry::GetMask(), Channel::GetModeList(), Channel::HasMode(), Entry::Matches(), and Channel::RemoveMode().
Referenced by CommandCSUnban::Execute().
| E Anope::string do_strftime | ( | const time_t & | t, | |
| const NickCore * | nc = NULL, |
|||
| bool | short_output = false | |||
| ) |
Definition at line 342 of file misc.cpp.
References _, Anope::CurTime, duration(), Anope::printf(), and translate().
Referenced by OSNews::DisplayNews(), NewsBase::DoList(), CommandOSIgnore::DoList(), CommandHSWaiting::DoList(), CommandCSFlags::DoList(), CommandEntryMessage::DoList(), CommandCSMode::DoLock(), MemoListCallback::DoRead(), CommandOSStats::DoStatsUptime(), CommandOSModInfo::Execute(), CommandOSForbid::Execute(), CommandNSSuspend::Execute(), CommandNSInfo::Execute(), CommandNSGList::Execute(), CommandMSList::Execute(), CommandMSCheck::Execute(), CommandHSList::Execute(), CommandCSSuspend::Execute(), CommandSeen::Execute(), CommandOSSeen::Execute(), CommandCSInfo::Execute(), CommandBSInfo::Execute(), WebCPanel::OperServ::Akill::OnRequest(), WebCPanel::MemoServ::Memos::OnRequest(), WebCPanel::ChanServ::Set::OnRequest(), WebCPanel::NickServ::Info::OnRequest(), CommandOSSXLineBase::ProcessList(), CommandOSException::ProcessList(), CommandOSAKill::ProcessList(), CommandCSAKick::ProcessList(), CommandCSAccess::ProcessList(), and DataBasePurger::Tick().
| E time_t dotime | ( | const Anope::string & | s | ) |
dotime: Return the number of seconds corresponding to the given time string. If the given string does not represent a valid time, return -1.
A time string is either a plain integer (representing a number of seconds), or an integer followed by one of these characters: "s" (seconds), "m" (minutes), "h" (hours), or "d" (days).
| s | String to convert |
Definition at line 263 of file misc.cpp.
References Anope::string::empty().
Referenced by CommandOSException::DoAdd(), CommandOSIgnore::DoAdd(), CommandOSAKill::DoAdd(), CommandOSForbid::Execute(), CommandOSConfig::Execute(), CommandOSChanKill::Execute(), CommandNSSuspend::Execute(), CommandCSTBan::Execute(), CommandCSSuspend::Execute(), CommandOSSeen::Execute(), CommandOSSQLine::OnAdd(), CommandOSSNLine::OnAdd(), ModuleProxyScan::OnReload(), ModuleDNSBL::OnReload(), ModuleDNS::OnReload(), OSDefcon::OnReload(), CSSeen::OnReload(), ServerConfig::Read(), ValidateBotServ(), ValidateEmailReg(), ValidateLimitSessions(), and ValidateNotZero().
| E Anope::string duration | ( | const time_t & | t, | |
| const NickCore * | nc | |||
| ) |
Expresses in a string the period of time represented by a given amount of seconds (with days/hours/minutes).
| seconds | time in seconds |
Definition at line 308 of file misc.cpp.
References _, stringify(), and translate().
Referenced by do_strftime(), CommandOSAKill::DoAdd(), CommandOSStats::DoStatsUptime(), CommandNSRegister::Execute(), CommandCSTBan::Execute(), CommandSeen::Execute(), CommandOSSQLine::OnAdd(), CommandOSSNLine::OnAdd(), CommandNSRelease::OnHelp(), CommandNSRecover::OnHelp(), NickServCore::OnNickIdentify(), NSRecoverRequest::OnSuccess(), and MyNickServService::Validate().
| E bool enc_decrypt | ( | const Anope::string & | src, | |
| Anope::string & | dest | |||
| ) |
Decrypt the encrypted string src into dest
| src | The encrypted string | |
| desc | The destination string |
Definition at line 33 of file encrypt.cpp.
References Anope::string::begin(), EVENT_ALLOW, Anope::string::find(), FOREACH_RESULT, hashm, I_OnDecrypt, and Anope::string::npos.
Referenced by CommandNSSetPassword::Execute(), CommandNSSendPass::Execute(), CommandNSSASetPassword::Execute(), CommandNSRegister::Execute(), CommandNSGetPass::Execute(), NSGetPass::NSGetPass(), and NSSendPass::NSSendPass().
| E void enc_encrypt | ( | const Anope::string & | src, | |
| Anope::string & | dest | |||
| ) |
Encrypt the string src into dest
| src | The source string | |
| dest | The destination strnig |
Definition at line 22 of file encrypt.cpp.
References FOREACH_RESULT, and I_OnEncrypt.
Referenced by CommandNSSetPassword::Execute(), CommandNSSASetPassword::Execute(), CommandNSRegister::Execute(), ESHA256::OnCheckAuthentication(), ESHA1::OnCheckAuthentication(), EOld::OnCheckAuthentication(), ENone::OnCheckAuthentication(), and EMD5::OnCheckAuthentication().
| E Anope::string expire_left | ( | const NickCore * | nc, | |
| time_t | expires | |||
| ) |
Generates a human readable string of type "expires in ..."
| na | Nick Alias | |
| seconds | time in seconds |
Definition at line 363 of file misc.cpp.
References _, Anope::CurTime, NO_EXPIRE, and translate().
Referenced by WebCPanel::OperServ::Akill::OnRequest(), CommandOSSXLineBase::ProcessList(), and CommandOSAKill::ProcessList().
| E void Fork | ( | ) |
Definition at line 223 of file init.cpp.
Referenced by Server::Sync().
| E bool GetCommandLineArgument | ( | const Anope::string & | name, | |
| char | shortname | |||
| ) |
Check if an argument was given on startup
| name | The argument name | |
| shortname | A shorter name, eg --debug and -d |
Definition at line 104 of file init.cpp.
References GetCommandLineArgument().
Referenced by GetCommandLineArgument(), and Init().
| E bool GetCommandLineArgument | ( | const Anope::string & | name, | |
| char | shortname, | |||
| Anope::string & | param | |||
| ) |
Check if an argument was given on startup and its parameter
| name | The argument name | |
| shortname | A shorter name, eg --debug and -d | |
| param | A string to put the param, if any, of the argument |
Definition at line 116 of file init.cpp.
References Anope::string::clear(), and CommandLineArguments.
| E void Init | ( | int | ac, | |
| char ** | av | |||
| ) |
Definition at line 258 of file init.cpp.
References AtTerm(), BotListByNick, Anope::string::c_str(), Config, db_dir, debug, Anope::string::empty(), ENCRYPTION, endl, ModuleManager::FindFirstOf(), FOREACH_RESULT, GetCommandLineArgument(), ConfigurationFile::GetName(), CoreException::GetReason(), I_OnLoadDatabase, SocketEngine::Init(), InitLanguages(), Anope::string::is_number_only(), Anope::LastError(), ModuleManager::LoadModule(), locale_dir, LOG_DEBUG, log_dir, LOG_TERMINAL, Me, modules_dir, ServerConfig::ModulesAutoLoad, Module::name, noexpire, nofork, nothird, ServerConfig::Numeric, ParseCommandLineArguments(), PROTOCOL, protocoldebug, readonly, RegisterTypes(), return_code, sigaction::sa_flags, sigaction::sa_handler, sigaction::sa_mask, ServerConfig::Seed, ServerConfig::ServerDesc, ServerConfig::ServerName, services_bin, services_conf, services_dir, sigaction(), sigemptyset, SIGHUP, SIGPIPE, Server::Users, Anope::Version(), Anope::VersionBuildString(), and write_pidfile().
Referenced by main().
| E void InitLanguages | ( | ) |
Definition at line 25 of file language.cpp.
References Anope::string::c_str(), Config, sepstream::GetToken(), IsFile(), ServerConfig::Languages, languages, Anope::LastError(), locale_dir, and LOG_DEBUG.
Referenced by Init().
| E void introduce_user | ( | const Anope::string & | user | ) |
Definition at line 32 of file init.cpp.
References ServerConfig::BotModeList, User::chans, Config, Anope::CurTime, findbot(), finduser(), BotInfo::introduced, ircdproto, User::nick, quitmsg, quitting, IRCDProto::SendClientIntroduction(), IRCDProto::SendJoin(), and IRCDProto::SendSQLine().
Referenced by CoreIRCDMessageKill::Run().
| E bool IsFile | ( | const Anope::string & | filename | ) |
Check if a file exists
| filename | The file |
Definition at line 46 of file misc.cpp.
References Anope::string::c_str().
Referenced by DBPlain::BackupDatabase(), DBFlatFile::BackupDatabase(), InitLanguages(), Module::Module(), DBFlatFile::OnSaveDatabase(), LogInfo::ProcessMessage(), ServerConfig::ServerConfig(), and SSLModule::SSLModule().
| E bool IsValidHost | ( | const Anope::string & | host | ) |
Checks if a host is valid
| host | The host | |
| true | if the host is valid |
Definition at line 425 of file misc.cpp.
References Config, Anope::string::empty(), Anope::string::find_first_of(), ServerConfig::HostLen, Anope::string::length(), Anope::string::npos, ServerConfig::VhostChars, ServerConfig::VhostDisallowBE, and ServerConfig::VhostUndotted.
Referenced by CommandBSBot::DoAdd(), CommandBSBot::DoChange(), CommandOSJupe::Execute(), CommandHSSetAll::Execute(), CommandHSSet::Execute(), and CommandHSRequest::Execute().
| E bool IsValidIdent | ( | const Anope::string & | ident | ) |
Checks if a username is valid
| ident | The username |
Definition at line 405 of file misc.cpp.
References Config, Anope::string::empty(), Anope::string::length(), and ServerConfig::UserLen.
Referenced by CommandHSSetAll::Execute(), and CommandHSSet::Execute().
| E int myNumToken | ( | const Anope::string & | str, | |
| char | dilim | |||
| ) |
Number of tokens in a string
| str | String | |
| dilim | Dilimiter |
Definition at line 531 of file misc.cpp.
References Anope::string::empty(), and Anope::string::length().
Referenced by IRCDMessageBMask::Run().
| E Anope::string myStrGetToken | ( | const Anope::string & | str, | |
| char | dilim, | |||
| int | token_number | |||
| ) |
Get the token
| str | String to search in | |
| dilim | Character to search for | |
| token_number | the token number |
Definition at line 456 of file misc.cpp.
References Anope::string::empty(), Anope::string::find(), sepstream::GetToken(), Anope::string::npos, and sepstream::StreamEnd().
Referenced by CommandNSList::Execute(), CommandHelp::Execute(), CommandCSList::Execute(), IRCDMessageServer::Run(), IRCDMessageTBurst::Run(), and IRCDMessageBMask::Run().
| E Anope::string myStrGetTokenRemainder | ( | const Anope::string & | str, | |
| const char | dilim, | |||
| int | token_number | |||
| ) |
Get the Remaining tokens
| str | String to search in | |
| dilim | Character to search for | |
| token_number | the token number |
Definition at line 478 of file misc.cpp.
References Anope::string::empty(), Anope::string::find(), sepstream::GetRemaining(), sepstream::GetToken(), Anope::string::npos, and sepstream::StreamEnd().
Referenced by CommandCSList::Execute(), and IRCDMessageServer::Run().
| E bool nickIsServices | ( | const Anope::string & | tempnick, | |
| bool | bot | |||
| ) |
Is the given nick a network service
| nick | to check | |
| int | Check if botserv bots |
Definition at line 501 of file misc.cpp.
References BI_CORE, Config, Anope::string::empty(), Anope::string::equals_ci(), Anope::string::find(), findbot(), Flags< T, Size >::HasFlag(), Anope::string::npos, ServerConfig::ServerName, and Anope::string::substr().
Referenced by CommandBSBot::DoChange(), CommandBSBot::DoDel(), and CommandNSInfo::Execute().
| E Anope::string normalizeBuffer | ( | const Anope::string & | buf | ) |
Normalize buffer stripping control characters and colors
| A | string to be parsed for control and color codes |
Definition at line 835 of file misc.cpp.
References Anope::string::length().
Referenced by BSKick::OnPrivmsg(), and IRCDProto::SendCTCPInternal().
| E void process | ( | const Anope::string & | buffer | ) |
Main process routine
| buffer | A raw line from the uplink to do things with |
Definition at line 23 of file process.cpp.
References Anope::string::empty(), IRCDMessage::Find(), Anope::string::find(), Anope::string::find_first_of(), IRCDMessage::GetParamCount(), sepstream::GetRemaining(), MessageSource::GetServer(), sepstream::GetToken(), MessageSource::GetUser(), Flags< T, Size >::HasFlag(), IRCDMESSAGE_REQUIRE_SERVER, IRCDMESSAGE_REQUIRE_USER, IRCDMESSAGE_SOFT_LIMIT, LOG_DEBUG, LOG_RAWIO, Anope::string::npos, protocoldebug, Anope::string::push_back(), Anope::string::replace_all_cs(), IRCDMessage::Run(), sepstream::StreamEnd(), and Anope::string::substr().
Referenced by UplinkSocket::Read().
| E void save_databases | ( | ) |
Definition at line 276 of file main.cpp.
References FOREACH_RESULT, I_OnSaveDatabase, LOG_DEBUG, and readonly.
Referenced by CommandOSUpdate::Execute(), CommandOSShutdown::Execute(), CommandOSRestart::Execute(), SignalExit::OnNotify(), SignalReload::OnNotify(), and UpdateTimer::Tick().
| E void SetDefaultMLock | ( | ServerConfig * | config | ) |
Parse the mode string from the config file and set the default mlocked modes
Definition at line 32 of file modes.cpp.
References ServerConfig::BotModeList, ServerConfig::BotModes, Flags< T, Size >::ClearFlags(), def_mode_locks, ModeManager::FindChannelModeByChar(), sepstream::GetToken(), Anope::string::length(), ServerConfig::MLock, MODE_LIST, MODE_REGULAR, MODE_STATUS, Mode::ModeChar, ChannelMode::Name, Flags< T, Size >::SetFlag(), and Mode::Type.
Referenced by ModeManager::AddChannelMode(), and ServerConfig::ServerConfig().
| E void sighandler | ( | int | signum | ) |
| E bool str_is_pure_wildcard | ( | const Anope::string & | str | ) |
Check if the given string is a pure wildcard
| str | String to check |
Definition at line 713 of file misc.cpp.
References Anope::string::find_first_not_of(), and Anope::string::npos.
Referenced by Entry::Entry().
| E bool str_is_wildcard | ( | const Anope::string & | str | ) |
Check if the given string is some sort of wildcard
| str | String to check |
Definition at line 703 of file misc.cpp.
References Anope::string::find_first_of(), and Anope::string::npos.
Referenced by CommandCSMode::DoSet(), and Entry::Entry().
| E const char* translate | ( | const char * | string | ) |
Definition at line 56 of file language.cpp.
References anope_gettext(), Anope::string::c_str(), Config, and ServerConfig::NSDefLanguage.
Referenced by BSKick::bot_kick(), bot_raw_ban(), bot_raw_kick(), ChannelInfo::CheckKick(), CommandNSInfo::CheckOptStr(), CommandCSInfo::CheckOptStr(), CommandBSInfo::CheckOptStr(), do_strftime(), CommandCSEnforce::DoCModeR(), CommandCSEnforce::DoRestricted(), duration(), CommandCSSuspend::Execute(), CommandBSInfo::Execute(), expire_left(), CommandCSFlags::OnHelp(), CommandCSLevels::OnHelp(), Command::OnServHelp(), InfoFormatter::Process(), CommandSource::Reply(), rsend_notify(), SendMemoMail(), User::SendMessage(), SendPassMail(), SendRegmail(), SendResetEmail(), DefConTimeout::Tick(), and translate().
| E const char* translate | ( | const NickCore * | nc, | |
| const char * | string | |||
| ) |
Definition at line 66 of file language.cpp.
References anope_gettext(), Anope::string::c_str(), Config, NickCore::language, and ServerConfig::NSDefLanguage.
| E const char* translate | ( | User * | u, | |
| const char * | string | |||
| ) |
Definition at line 61 of file language.cpp.
References User::Account(), and translate().
Definition at line 33 of file extern.h.
Referenced by ConfigurationFile::Open().
| E int CurrentUplink |
Definition at line 69 of file extern.h.
Referenced by Connect(), main(), UplinkSocket::OnConnect(), UplinkSocket::OnError(), SSLModule::OnPreServerConnect(), CoreIRCDMessageStats::Run(), UnrealIRCdProto::SendConnect(), RatboxProto::SendConnect(), PlexusProto::SendConnect(), ngIRCdProto::SendConnect(), InspIRCdProto::SendConnect(), HybridProto::SendConnect(), BahamutIRCdProto::SendConnect(), InspIRCdTS6Proto::SendServer(), ReconnectTimer::Tick(), and UplinkSocket::~UplinkSocket().
Definition at line 33 of file extern.h.
Referenced by ModuleManager::CleanupRuntimeDirectory(), Init(), ModuleManager::LoadModule(), ModuleWebCPanel::ModuleWebCPanel(), DBFlatFile::OnLoadDatabase(), ModuleSQLite::OnReload(), DBPlain::OnReload(), DBFlatFile::OnReload(), DBFlatFile::OnSaveDatabase(), and open_db_read().
| E int debug |
Definition at line 56 of file extern.h.
Referenced by OSSession::DelSession(), CommandOSSet::DoList(), CommandOSSet::DoSetDebug(), GetTimeStamp(), LogInfo::HasType(), Init(), and Log::~Log().
| E std::multimap<ChannelModeName, ModeLock *> def_mode_locks |
Definition at line 101 of file extern.h.
Referenced by CommandCSRegister::Execute(), and SetDefaultMLock().
| E std::vector<Anope::string> domains |
Definition at line 45 of file extern.h.
Referenced by Module::Module(), and Module::~Module().
| E unsigned GenericChannelModes |
Definition at line 100 of file extern.h.
Referenced by ModeManager::AddChannelMode().
| E unsigned GenericUserModes |
Definition at line 100 of file extern.h.
Referenced by ModeManager::AddUserMode().
| E std::vector<Anope::string> languages |
Definition at line 44 of file extern.h.
Referenced by InitLanguages(), Module::Module(), CommandNSSASetLanguage::OnHelp(), CommandNSSetLanguage::OnHelp(), and CommandNSSetLanguage::Run().
Definition at line 33 of file extern.h.
Referenced by Init(), InitLanguages(), and Module::Module().
Definition at line 33 of file extern.h.
Referenced by CreateLogName(), CommandOSLogSearch::CreateLogName(), and Init().
Definition at line 33 of file extern.h.
Referenced by Init(), and moduleCopyFile().
| E bool noexpire |
Definition at line 60 of file extern.h.
Referenced by CommandOSSet::DoList(), CommandOSSet::DoSetNoExpire(), Init(), and ExpireCallback::Tick().
| E bool nofork |
Definition at line 58 of file extern.h.
Referenced by Init(), Server::Sync(), and Log::~Log().
| E bool nothird |
Definition at line 59 of file extern.h.
Referenced by Init(), and Module::Module().
| E bool protocoldebug |
Definition at line 66 of file extern.h.
Referenced by CommandOSShutdown::Execute(), CommandOSRestart::Execute(), CommandOSQuit::Execute(), CommandOSModReLoad::Execute(), introduce_user(), SignalExit::OnNotify(), CoreIRCDMessageError::Run(), and IRCDMessageCapab::Run().
| E bool quitting |
Definition at line 63 of file extern.h.
Referenced by DBPlain::BackupDatabase(), DBFlatFile::BackupDatabase(), CommandOSShutdown::Execute(), CommandOSRestart::Execute(), CommandOSQuit::Execute(), CommandOSModReLoad::Execute(), introduce_user(), main(), SignalExit::OnNotify(), DBFlatFile::OnSaveDatabase(), parent_signal_handler(), IRCDMessageCapab::Run(), DBSQL::RunBackground(), and UplinkSocket::~UplinkSocket().
| E bool readonly |
Definition at line 57 of file extern.h.
Referenced by DBMySQL::CheckSQL(), CommandOSException::DoAdd(), NewsBase::DoAdd(), CommandOSAKill::DoAdd(), XOPBase::DoAdd(), XOPBase::DoClear(), CommandOSException::DoDel(), NewsBase::DoDel(), CommandOSAKill::DoDel(), XOPBase::DoDel(), CommandOSSet::DoList(), CommandOSException::DoMove(), CommandOSSet::DoSetReadOnly(), CommandNSUnSuspend::Execute(), CommandNSSuspend::Execute(), CommandNSRegister::Execute(), CommandNSGroup::Execute(), CommandNSDrop::Execute(), CommandMSStaff::Execute(), CommandMSSet::Execute(), CommandMSSendAll::Execute(), CommandMSDel::Execute(), CommandCSUnSuspend::Execute(), CommandCSSuspend::Execute(), CommandCSRegister::Execute(), CommandCSFlags::Execute(), CommandCSDrop::Execute(), CommandCSAKick::Execute(), CommandCSAccess::Execute(), CommandBSSetGreet::Execute(), CommandBSSetFantasy::Execute(), CommandBSSetDontKickVoices::Execute(), CommandBSSetDontKickOps::Execute(), CommandBSKick::Execute(), CommandBSBot::Execute(), CommandBSBadwords::Execute(), CommandBSUnassign::Execute(), CommandBSAssign::Execute(), Init(), CommandOSSQLine::OnAdd(), CommandOSSNLine::OnAdd(), CommandOSSXLineBase::OnDel(), rsend_notify(), save_databases(), and ExpireCallback::Tick().
| E bool restarting |
Definition at line 65 of file extern.h.
Referenced by CommandOSRestart::Execute(), and main().
| E int return_code |
Definition at line 64 of file extern.h.
Referenced by Init(), main(), parent_signal_handler(), and UplinkSocket::~UplinkSocket().
| E time_t start_time |
Definition at line 67 of file extern.h.
Referenced by MyXMLRPCEvent::DoStats(), CommandOSStats::DoStatsUptime(), CoreIRCDMessageStats::Run(), and IRCDMessageIdle::Run().
1.7.1