1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

codership/wsrep-lib#44 Provider name, version and vendor getters

Added methods to get provider name, version and vendor strings
into wsrep::provider interface. Implementations for v26 and mock
providers.
This commit is contained in:
Teemu Ollakka
2019-01-02 12:11:26 +02:00
parent cc67313515
commit 0441746368
4 changed files with 41 additions and 0 deletions

View File

@ -83,6 +83,9 @@ namespace wsrep
void reset_status();
std::string options() const;
enum wsrep::provider::status options(const std::string&);
std::string name() const;
std::string version() const;
std::string vendor() const;
void* native() const;
private:
wsrep_provider_v26(const wsrep_provider_v26&);