mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Wsrep TLS service
This commit defines a TLS service interface. If the implementation is provided by the application when the provider is loaded, appropriate hooks are probed from the provider and the provider side hooks are initialized after the provider is loaded. A sample implementation to demostrate the use of TLS interface is provided in dbsim/db_tls.cpp. Also contains a change to thread service interface: The thread exit virtual method was changed to function pointer to allow thread exit path which does not involve C++.
This commit is contained in:
@ -30,7 +30,8 @@ namespace wsrep
|
||||
class wsrep_provider_v26 : public wsrep::provider
|
||||
{
|
||||
public:
|
||||
|
||||
void init_services(const wsrep::provider::services& services);
|
||||
void deinit_services();
|
||||
wsrep_provider_v26(wsrep::server_state&, const std::string&,
|
||||
const std::string&,
|
||||
const wsrep::provider::services& services);
|
||||
@ -107,6 +108,7 @@ namespace wsrep
|
||||
wsrep_provider_v26(const wsrep_provider_v26&);
|
||||
wsrep_provider_v26& operator=(const wsrep_provider_v26);
|
||||
struct wsrep_st* wsrep_;
|
||||
services services_enabled_;
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user