MXS-1929: Create internal server representation

The server now has an internal C++ version that extends the public one.
This commit is contained in:
Markus Mäkelä
2018-08-01 09:12:41 +03:00
parent ea8b522c8a
commit 4c7a5017bc
5 changed files with 125 additions and 170 deletions

View File

@ -16,6 +16,15 @@
* 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);