summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-24 14:09:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-24 14:09:02 +0000
commitd43120ca4a68006811b3645d0d9065ac098ddc65 (patch)
tree79511f8ab37007b3bb41bc139b26bc3808759d71 /include/inspircd.h
parentfeda1f5f9b1046223b3cc109ecfc0d017243a023 (diff)
First part of my evil empire! BWAHAHAHAHAHAHAH...HAHAHAHA...AHAHAH *cough* err i mean... remote includes (BWAHAHAHA)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9013 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 5f528c16b..a933e5c41 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -232,6 +232,21 @@ DEFINE_HANDLER1(FloodQuitUserHandler, void, User*);
class XLineManager;
class BanCacheManager;
+class ConfigReaderThread : public Thread
+{
+ InspIRCd* ServerInstance;
+ public:
+ ConfigReaderThread(InspIRCd* Instance) : Thread(), ServerInstance(Instance)
+ {
+ }
+
+ virtual ~ConfigReaderThread()
+ {
+ }
+
+ void Run();
+};
+
/** The main class of the irc server.
* This class contains instances of all the other classes
* in this software, with the exception of the base class,
@@ -381,6 +396,14 @@ class CoreExport InspIRCd : public classbase
*/
SocketEngine* SE;
+ /** Thread engine, Handles threading where required
+ */
+ ThreadEngine* Threads;
+
+ /** The thread/class used to read config files in REHASH and on startup
+ */
+ ConfigReaderThread* ConfigThread;
+
/** LogManager handles logging.
*/
LogManager *Logs;