From b048b02732cbfcfbb95bb8e16dec71aca0e977f4 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Wed, 16 Oct 2024 18:51:50 +0200 Subject: Reworked abstraction for network --- modules/io-tls/tls.hpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'modules/io-tls/tls.hpp') 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 namespace saw { +namespace net { +template +struct Tls {}; +} + class tls; /** @@ -37,6 +42,11 @@ private: options options_; }; -error_or> setup_tls_network(network &network); +template<> +class network { +}; + +template +error_or>>> setup_tls_network(network &network); } // namespace saw -- cgit v1.2.3