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:
@ -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.
|
||||
|
Reference in New Issue
Block a user