diff options
author | Sadie Powell <sadie@witchery.services> | 2021-03-09 01:00:16 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-03-09 01:00:16 +0000 |
commit | 6c2b6fa23d3a65ecdcebbf9154b8daa2e55727e9 (patch) | |
tree | 5468dd9987050ed627fea9b7749dcf3c8027fb87 /include/modules/ssl.h | |
parent | a670bd81f6b22e2cecf9a21cf8592bc0a1e7fb95 (diff) |
Add a subclass of IOHookProvider for SSL modules.
Diffstat (limited to 'include/modules/ssl.h')
-rw-r--r-- | include/modules/ssl.h | 10 |
1 files changed, 10 insertions, 0 deletions
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: |