diff options
author | Liam <byteslice@airmail.cc> | 2023-07-17 00:55:27 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-08-08 17:09:37 +0200 |
commit | 83eee1d2266a1de374be0a8b2c0f2827f5e25bcf (patch) | |
tree | 7dfbdfb32b6671a79f433c3cb59acc7ba0e5cc9c /src/core/hle/service/ssl/ssl_backend.h | |
parent | core: remove ResultVal type (diff) | |
download | yuzu-83eee1d2266a1de374be0a8b2c0f2827f5e25bcf.tar yuzu-83eee1d2266a1de374be0a8b2c0f2827f5e25bcf.tar.gz yuzu-83eee1d2266a1de374be0a8b2c0f2827f5e25bcf.tar.bz2 yuzu-83eee1d2266a1de374be0a8b2c0f2827f5e25bcf.tar.lz yuzu-83eee1d2266a1de374be0a8b2c0f2827f5e25bcf.tar.xz yuzu-83eee1d2266a1de374be0a8b2c0f2827f5e25bcf.tar.zst yuzu-83eee1d2266a1de374be0a8b2c0f2827f5e25bcf.zip |
Diffstat (limited to 'src/core/hle/service/ssl/ssl_backend.h')
-rw-r--r-- | src/core/hle/service/ssl/ssl_backend.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/ssl/ssl_backend.h b/src/core/hle/service/ssl/ssl_backend.h index 409f4367c..a2ec8e694 100644 --- a/src/core/hle/service/ssl/ssl_backend.h +++ b/src/core/hle/service/ssl/ssl_backend.h @@ -35,11 +35,11 @@ public: virtual void SetSocket(std::shared_ptr<Network::SocketBase> socket) = 0; virtual Result SetHostName(const std::string& hostname) = 0; virtual Result DoHandshake() = 0; - virtual ResultVal<size_t> Read(std::span<u8> data) = 0; - virtual ResultVal<size_t> Write(std::span<const u8> data) = 0; - virtual ResultVal<std::vector<std::vector<u8>>> GetServerCerts() = 0; + virtual Result Read(size_t* out_size, std::span<u8> data) = 0; + virtual Result Write(size_t* out_size, std::span<const u8> data) = 0; + virtual Result GetServerCerts(std::vector<std::vector<u8>>* out_certs) = 0; }; -ResultVal<std::unique_ptr<SSLConnectionBackend>> CreateSSLConnectionBackend(); +Result CreateSSLConnectionBackend(std::unique_ptr<SSLConnectionBackend>* out_backend); } // namespace Service::SSL |