diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-09 18:36:24 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-09 18:36:24 +0000 |
commit | dfa831752c950f16872f3c485f94d408866a2e15 (patch) | |
tree | b99e6837deeca18597eb4530bb7ccf3cf96e20ad /include/configreader.h | |
parent | f4be97d195f206433c1b0a986959e75c01da1b20 (diff) |
Not yet tested -- allow iohooking of inspsockets
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5886 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/configreader.h')
-rw-r--r-- | include/configreader.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configreader.h b/include/configreader.h index 1790bd847..2c048c849 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -30,6 +30,7 @@ class ServerConfig; class InspIRCd; +class InspSocket; /** Types of data in the core config */ @@ -445,6 +446,8 @@ class ServerConfig : public Extensible */ std::map<int,Module*> IOHookModule; + std::map<InspSocket*, Module*> SocketIOHookModule; + /** The 005 tokens of this server (ISUPPORT) * populated/repopulated upon loading or unloading * modules. @@ -560,6 +563,9 @@ class ServerConfig : public Extensible Module* GetIOHook(int port); bool AddIOHook(int port, Module* iomod); bool DelIOHook(int port); + Module* GetIOHook(InspSocket* is); + bool AddIOHook(InspSocket* is, Module* iomod); + bool DelIOHook(InspSocket* is); static std::string GetFullProgDir(char** argv, int argc); static bool DirValid(const char* dirandfile); |