]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspircd.h
Tweaks to icky icky select() engine (thanks Ersan) this MIGHT fix select problems...
[user/henk/code/inspircd.git] / include / inspircd.h
index 2e55315672ed1d48b4075c12eec7764c2a0324ce..c44325a02988b07588d94ffd2ed52de9d1c16674 100644 (file)
@@ -28,6 +28,7 @@
 #include <time.h>
 #include <string>
 #include <sstream>
+#include <list>
 #include "inspircd_config.h"
 #include "uid.h"
 #include "users.h"
@@ -273,6 +274,10 @@ class CoreExport InspIRCd : public classbase
         */
        void DoSocketTimeouts(time_t TIME);
 
+       /** Sets up UID subsystem
+        */
+       void InitialiseUID();
+
        /** Perform background user events such as PING checks
         * @param TIME the current time
         */
@@ -436,7 +441,7 @@ class CoreExport InspIRCd : public classbase
 
        /** Oper list, a vector containing all local and remote opered users
         */
-       std::vector<userrec*> all_opers;
+       std::list<userrec*> all_opers;
 
        /** Map of local ip addresses for clone counting
         */
@@ -976,12 +981,6 @@ class CoreExport InspIRCd : public classbase
         */
        InspIRCd(int argc, char** argv);
 
-       /** Do one iteration of the mainloop
-        * @param process_module_sockets True if module sockets are to be processed
-        * this time around the event loop. The is the default.
-        */
-       void DoOneIteration(bool process_module_sockets = true);
-
        /** Output a log message to the ircd.log file
         * The text will only be output if the current loglevel
         * is less than or equal to the level you provide
@@ -1053,8 +1052,7 @@ class CoreExport InspIRCd : public classbase
 
        /** Begin execution of the server.
         * NOTE: this function NEVER returns. Internally,
-        * after performing some initialisation routines,
-        * it will repeatedly call DoOneIteration in a loop.
+        * it will repeatedly loop.
         * @return The return value for this function is undefined.
         */
        int Run();