summaryrefslogtreecommitdiff
path: root/include/modules/ssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules/ssl.h')
-rw-r--r--include/modules/ssl.h10
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: