Markus Mäkelä 4c7a5017bc
MXS-1929: Create internal server representation
The server now has an internal C++ version that extends the public one.
2018-08-06 21:20:29 +03:00

31 lines
693 B
C++

#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2022-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2 or later of the General
* Public License.
*/
/**
* Internal header for the server type
*/
#include <maxscale/server.h>
#include <maxscale/resultset.hh>
std::unique_ptr<ResultSet> serverGetList();
// Private server implementation
class Server: public SERVER
{
// TODO: Move everything here
};
void server_free(Server *server);