LeviLamina
Loading...
Searching...
No Matches
OpenSSLSessionCache.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace webrtc {
6
7class OpenSSLSessionCache {
8public:
9 // member variables
10 // NOLINTBEGIN
14 // NOLINTEND
15
16public:
17 // prevent constructor by default
18 OpenSSLSessionCache& operator=(OpenSSLSessionCache const&);
19 OpenSSLSessionCache(OpenSSLSessionCache const&);
20 OpenSSLSessionCache();
21
22public:
23 // member functions
24 // NOLINTBEGIN
25 MCNAPI void AddSession(::std::string_view hostname, ::ssl_session_st* new_session);
26
27 MCNAPI ::ssl_ctx_st* GetSSLContext() const;
28
29 MCNAPI ::ssl_session_st* LookupSession(::std::string_view hostname) const;
30 // NOLINTEND
31};
32
33} // namespace webrtc
MCAPI::ssl_session_st * LookupSession(::std::string_view hostname) const
MCAPI void AddSession(::std::string_view hostname, ::ssl_session_st *new_session)
MCAPI::ssl_ctx_st * GetSSLContext() const
Definition Alias.h:14