MXS-1929: Make core ResultSet functions private

The functions in the core that generate a ResultSet are now private.
This commit is contained in:
Markus Mäkelä
2018-07-31 10:01:18 +03:00
parent bd48db28ec
commit 8ababa1d39
13 changed files with 82 additions and 25 deletions

View File

@ -21,7 +21,6 @@
#include <maxscale/cdefs.h>
#include <maxscale/config.h>
#include <maxscale/dcb.h>
#include <maxscale/resultset.h>
#include <maxscale/jansson.h>
MXS_BEGIN_DECLS
@ -480,6 +479,5 @@ extern void dprintAllServersJson(DCB *);
extern void dprintServer(DCB *, const SERVER *);
extern void dprintPersistentDCBs(DCB *, const SERVER *);
extern void dListServers(DCB *);
extern RESULTSET *serverGetList();
MXS_END_DECLS

View File

@ -32,7 +32,6 @@
#include <maxscale/server.h>
#include <maxscale/listener.h>
#include <maxscale/filter.h>
#include <maxscale/resultset.h>
#include <maxscale/config.h>
#include <maxscale/jansson.h>
@ -248,8 +247,6 @@ void dprintService(DCB *dcb, SERVICE *service);
void dListServices(DCB *dcb);
void dListListeners(DCB *dcb);
int serviceSessionCountAll(void);
RESULTSET* serviceGetList(void);
RESULTSET* serviceGetListenerList(void);
/**
* Get the capabilities of the servive.

View File

@ -21,9 +21,9 @@
#include <time.h>
#include <maxscale/atomic.h>
#include <maxscale/dcb.h>
#include <maxscale/buffer.h>
#include <maxscale/log_manager.h>
#include <maxscale/resultset.h>
#include <maxscale/spinlock.h>
#include <maxscale/jansson.h>