summaryrefslogtreecommitdiff
path: root/modules/io-tls/tls.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/io-tls/tls.hpp')
-rw-r--r--modules/io-tls/tls.hpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/modules/io-tls/tls.hpp b/modules/io-tls/tls.hpp
index 93ec180..e2202f4 100644
--- a/modules/io-tls/tls.hpp
+++ b/modules/io-tls/tls.hpp
@@ -7,6 +7,11 @@
#include <variant>
namespace saw {
+namespace net {
+template<typename T = net::Os>
+struct Tls {};
+}
+
class tls;
/**
@@ -37,6 +42,11 @@ private:
options options_;
};
-error_or<own<network>> setup_tls_network(network &network);
+template<>
+class network<net::Tls> {
+};
+
+template<typename T = net::Os>
+error_or<own<network<net::Tls<T>>>> setup_tls_network(network<T> &network);
} // namespace saw