mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Remove unnecessary include directives from the public interface
This commit is contained in:
@ -23,7 +23,8 @@
|
|||||||
#include "db_params.hpp"
|
#include "db_params.hpp"
|
||||||
|
|
||||||
#include "wsrep/mutex.hpp"
|
#include "wsrep/mutex.hpp"
|
||||||
#include "wsrep/client_state.hpp"
|
#include "wsrep/view.hpp"
|
||||||
|
#include "wsrep/transaction.hpp"
|
||||||
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <unordered_set>
|
#include <unordered_set>
|
||||||
|
@ -31,12 +31,9 @@
|
|||||||
#ifndef WSREP_CLIENT_STATE_HPP
|
#ifndef WSREP_CLIENT_STATE_HPP
|
||||||
#define WSREP_CLIENT_STATE_HPP
|
#define WSREP_CLIENT_STATE_HPP
|
||||||
|
|
||||||
#include "server_state.hpp"
|
|
||||||
#include "server_service.hpp"
|
|
||||||
#include "provider.hpp"
|
#include "provider.hpp"
|
||||||
#include "transaction.hpp"
|
#include "transaction.hpp"
|
||||||
#include "client_id.hpp"
|
#include "client_id.hpp"
|
||||||
#include "client_service.hpp"
|
|
||||||
#include "mutex.hpp"
|
#include "mutex.hpp"
|
||||||
#include "lock.hpp"
|
#include "lock.hpp"
|
||||||
#include "buffer.hpp"
|
#include "buffer.hpp"
|
||||||
@ -46,8 +43,10 @@
|
|||||||
|
|
||||||
namespace wsrep
|
namespace wsrep
|
||||||
{
|
{
|
||||||
|
class client_service;
|
||||||
class server_state;
|
class server_state;
|
||||||
class provider;
|
class provider;
|
||||||
|
class condition_variable;
|
||||||
|
|
||||||
enum client_error
|
enum client_error
|
||||||
{
|
{
|
||||||
|
@ -24,11 +24,11 @@
|
|||||||
#ifndef WSREP_HIGH_PRIORITY_SERVICE_HPP
|
#ifndef WSREP_HIGH_PRIORITY_SERVICE_HPP
|
||||||
#define WSREP_HIGH_PRIORITY_SERVICE_HPP
|
#define WSREP_HIGH_PRIORITY_SERVICE_HPP
|
||||||
|
|
||||||
#include "xid.hpp"
|
|
||||||
#include "server_state.hpp"
|
#include "server_state.hpp"
|
||||||
|
|
||||||
namespace wsrep
|
namespace wsrep
|
||||||
{
|
{
|
||||||
|
class xid;
|
||||||
class ws_handle;
|
class ws_handle;
|
||||||
class ws_meta;
|
class ws_meta;
|
||||||
class const_buffer;
|
class const_buffer;
|
||||||
|
@ -22,13 +22,11 @@
|
|||||||
#define WSREP_TRANSACTION_HPP
|
#define WSREP_TRANSACTION_HPP
|
||||||
|
|
||||||
#include "provider.hpp"
|
#include "provider.hpp"
|
||||||
#include "server_state.hpp"
|
|
||||||
#include "transaction_id.hpp"
|
#include "transaction_id.hpp"
|
||||||
#include "streaming_context.hpp"
|
#include "streaming_context.hpp"
|
||||||
#include "lock.hpp"
|
#include "lock.hpp"
|
||||||
#include "sr_key_set.hpp"
|
#include "sr_key_set.hpp"
|
||||||
#include "buffer.hpp"
|
#include "buffer.hpp"
|
||||||
#include "client_service.hpp"
|
|
||||||
#include "xid.hpp"
|
#include "xid.hpp"
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
@ -40,6 +38,7 @@ namespace wsrep
|
|||||||
class client_state;
|
class client_state;
|
||||||
class key;
|
class key;
|
||||||
class const_buffer;
|
class const_buffer;
|
||||||
|
class server_service;
|
||||||
|
|
||||||
class transaction
|
class transaction
|
||||||
{
|
{
|
||||||
|
@ -20,6 +20,9 @@
|
|||||||
#include "wsrep/client_state.hpp"
|
#include "wsrep/client_state.hpp"
|
||||||
#include "wsrep/compiler.hpp"
|
#include "wsrep/compiler.hpp"
|
||||||
#include "wsrep/logger.hpp"
|
#include "wsrep/logger.hpp"
|
||||||
|
#include "wsrep/server_state.hpp"
|
||||||
|
#include "wsrep/server_service.hpp"
|
||||||
|
#include "wsrep/client_service.hpp"
|
||||||
|
|
||||||
#include <unistd.h> // usleep()
|
#include <unistd.h> // usleep()
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include "wsrep/server_state.hpp"
|
#include "wsrep/server_state.hpp"
|
||||||
#include "wsrep/client_state.hpp"
|
#include "wsrep/client_state.hpp"
|
||||||
#include "wsrep/server_service.hpp"
|
#include "wsrep/server_service.hpp"
|
||||||
|
#include "wsrep/client_service.hpp"
|
||||||
#include "wsrep/high_priority_service.hpp"
|
#include "wsrep/high_priority_service.hpp"
|
||||||
#include "wsrep/transaction.hpp"
|
#include "wsrep/transaction.hpp"
|
||||||
#include "wsrep/view.hpp"
|
#include "wsrep/view.hpp"
|
||||||
|
@ -25,6 +25,8 @@
|
|||||||
#include "wsrep/key.hpp"
|
#include "wsrep/key.hpp"
|
||||||
#include "wsrep/logger.hpp"
|
#include "wsrep/logger.hpp"
|
||||||
#include "wsrep/compiler.hpp"
|
#include "wsrep/compiler.hpp"
|
||||||
|
#include "wsrep/server_service.hpp"
|
||||||
|
#include "wsrep/client_service.hpp"
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
#include "wsrep/client_state.hpp"
|
#include "wsrep/client_state.hpp"
|
||||||
#include "wsrep/mutex.hpp"
|
#include "wsrep/mutex.hpp"
|
||||||
#include "wsrep/compiler.hpp"
|
#include "wsrep/compiler.hpp"
|
||||||
|
#include "wsrep/client_service.hpp"
|
||||||
|
#include "wsrep/condition_variable.hpp"
|
||||||
|
|
||||||
#include "test_utils.hpp"
|
#include "test_utils.hpp"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user