From 6c2b6fa23d3a65ecdcebbf9154b8daa2e55727e9 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 9 Mar 2021 01:00:16 +0000 Subject: Add a subclass of IOHookProvider for SSL modules. --- include/modules/ssl.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') diff --git a/include/modules/ssl.h b/include/modules/ssl.h index ac2e367fd..c9229cf9d 100644 --- a/include/modules/ssl.h +++ b/include/modules/ssl.h @@ -151,6 +151,16 @@ class ssl_cert : public refcountbase } }; +/** I/O hook provider for SSL modules. */ +class SSLIOHookProvider : public IOHookProvider +{ +public: + SSLIOHookProvider(Module* mod, const std::string& Name) + : IOHookProvider(mod, "ssl/" + Name, IOH_SSL) + { + } +}; + class SSLIOHook : public IOHook { protected: -- cgit v1.2.3