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

@ -347,6 +347,26 @@ namespace wsrep
virtual std::string options() const = 0;
virtual enum status options(const std::string&) = 0;
/**
* Get provider name.
*
* @return Provider name string.
*/
virtual std::string name() const = 0;
/**
* Get provider version.
*
* @return Provider version string.
*/
virtual std::string version() const = 0;
/**
* Get provider vendor.
*
* @return Provider vendor string.
*/
virtual std::string vendor() const = 0;
/**
* Return pointer to native provider handle.