From 61fed23a3e9a62f19c2f88208585b31356c986ef Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 7 Sep 2008 18:31:21 +0000 Subject: Start moving IO hooking from being bufferedsocket based to residing in EventHandler, this will pave the way for a generic listener type, and also simplifies a lot of code. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10447 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/configreader.h | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'include/configreader.h') diff --git a/include/configreader.h b/include/configreader.h index 5e437d153..af9c33533 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -607,10 +607,6 @@ class CoreExport ServerConfig : public Extensible */ std::vector ports; - /** socket objects that are attached to by modules - */ - std::map SocketIOHookModule; - /** The 005 tokens of this server (ISUPPORT) * populated/repopulated upon loading or unloading * modules. @@ -823,26 +819,6 @@ class CoreExport ServerConfig : public Extensible void ValidateNoSpaces(const char* p, const std::string &tag, const std::string &val); - /** Get a pointer to the module which has hooked the given BufferedSocket class. - * @parameter port Port number - * @return Returns a pointer to the hooking module, or NULL - */ - Module* GetIOHook(BufferedSocket* is); - - /** Hook a module to an BufferedSocket class, so that it can receive notifications - * of low-level socket activity. - * @param iomod The module to hook to the socket - * @param is The BufferedSocket to attach to - * @return True if the hook was successful. - */ - bool AddIOHook(Module* iomod, BufferedSocket* is); - - /** Delete a module hook from an BufferedSocket. - * @param is The BufferedSocket to detatch from. - * @return True if the unhook was successful - */ - bool DelIOHook(BufferedSocket* is); - /** Returns the fully qualified path to the inspircd directory * @return The full program directory */ -- cgit v1.2.3