mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-31 18:24:25 +03:00
Cleaning wsrep-API dependencies from library code
Replace all wsrep_api.h dependencies with similar code in library implementation. Also add gcc/g++ 4.4 to travis automation to get better compiler coverage.
This commit is contained in:
@ -25,6 +25,7 @@
|
||||
#include "buffer.hpp"
|
||||
#include "client_id.hpp"
|
||||
#include "transaction_id.hpp"
|
||||
#include "compiler.hpp"
|
||||
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
@ -404,6 +405,14 @@ namespace wsrep
|
||||
*/
|
||||
virtual void* native() const = 0;
|
||||
|
||||
|
||||
/**
|
||||
* Empty provider magic. If none provider is passed to make_provider(),
|
||||
* a dummy provider is loaded.
|
||||
*/
|
||||
static WSREP_CONSTEXPR_OR_INLINE
|
||||
const char* none() { return "none"; }
|
||||
|
||||
/**
|
||||
* Create a new provider.
|
||||
*
|
||||
|
Reference in New Issue
Block a user