summaryrefslogtreecommitdiff
path: root/include/iohook.h
AgeCommit message (Collapse)Author
2020-01-11Update copyright headers.InspIRCd Robot
2019-02-18Various text improvements: consistency, syntax, help and doc updates/fixes.Robby
2017-11-13Unite SSL service providers and SSL profile classesAttila Molnar
2016-08-08Update comments for classes IOHookProvider and IOHookAttila Molnar
2016-08-08Add support for multiple IOHooks per StreamSocketAttila Molnar
2016-08-08Pass sendq to OnStreamSocketWriteAttila Molnar
2015-06-06Convert all code to use StreamSocket::SendQueueAttila Molnar
Let OnStreamSocketWrite see the entire sendq instead of one element at a time
2014-01-22Split IOHook into IOHook and IOHookProviderAttila Molnar
Create one IOHook instance for each hooked socket which contains all the hook specific data and read/write/close functions, removing the need for the "issl_session" array in SSL modules. Register instances of the IOHookProvider class in the core and use them to create specialized IOHook instances (OnConnect/OnAccept). Remove the OnHookIO hook, add a dynamic reference to ListenSocket that points to the hook provider (if any) to use for incoming connections on that socket. For outgoing connections modules still have to find the IOHookProvider they want to use themselves but instead of calling AddIOHook(hookprov), now they have to call IOHookProvider::OnConnect() after the connection has been established.
2013-06-07Create SSLIOHook interface that provides GetCertificate()attilamolnar
2013-06-07Create IOHook interface (extracted from Module)attilamolnar