]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socketengine.h
Deduplicate error handling in the socket engines.
[user/henk/code/inspircd.git] / include / socketengine.h
index 34dd306ba45d5766501ade3a80c4dd075beab9f8..0187a043ed7168adb7cc3b06b4dcdbb4e969b6d6 100644 (file)
@@ -283,6 +283,9 @@ class CoreExport SocketEngine
        /** Look up the fd limit using rlimit. */
        static void LookupMaxFds();
 
+       /** Terminates the program when the socket engine fails to initialize. */
+       static void InitError();
+
        static void OnSetEvent(EventHandler* eh, int old_mask, int new_mask);
 
        /** Add an event handler to the base socket engine. AddFd(EventHandler*, int) should call this.