diff options
| author | Adam <Adam@anope.org> | 2011-05-21 04:57:27 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-05-21 04:57:27 -0400 |
| commit | 115f94bfc23c481eab50298895f76bd494179cd8 (patch) | |
| tree | eeda28c466e9f2f532b2dee75cb817eba9066357 /include/extern.h | |
| parent | 7e5727288d9b2da5b53476b91f8cb9fe96e14d53 (diff) | |
Made Anope able to process normally when disconnected from the uplink and not sleep(), enable usage of non-blocking connect() and default all sockets to non blocking mode. Some cleanup to m_ssl and some cleanup to main.cpp.
Diffstat (limited to 'include/extern.h')
| -rw-r--r-- | include/extern.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/include/extern.h b/include/extern.h index 0b319ceaf..7774c104f 100644 --- a/include/extern.h +++ b/include/extern.h @@ -85,7 +85,6 @@ 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 void Init(int ac, char **av); -E Uplink *uplink_server; /**** ircd.c ****/ E void pmodule_ircd_proto(IRCDProto *); @@ -114,27 +113,16 @@ E bool noexpire; E bool protocoldebug; E bool quitting; -E bool shutting_down; +E bool restarting; E Anope::string quitmsg; E bool save_data; E time_t start_time; E ConnectionSocket *UplinkSock; +E int CurrentUplink; E void save_databases(); E void sighandler(int signum); -E void do_restart_services(); - -/* The socket to our uplink */ -class CoreExport UplinkSocket : public ConnectionSocket -{ - public: - UplinkSocket(bool ipv6 = false); - - virtual ~UplinkSocket(); - - bool Read(const Anope::string &buf); -}; /**** messages.cpp ****/ |
