Split the service header into internal and external parts
The service header in include/maxscale/ contains the public part of the service API. These functions can be safely used by the modules. The internal header located in service/core/maxscale/ is used by the core to initialize MaxScale at startup or to provide other services in a more controlled way (the config_runtime, for example).
This commit is contained in:
@ -26,7 +26,6 @@
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <time.h>
|
||||
#include <maxscale/service.h>
|
||||
#include <maxscale/server.h>
|
||||
#include <maxscale/router.h>
|
||||
#include <maxscale/atomic.h>
|
||||
@ -47,6 +46,9 @@
|
||||
|
||||
#include <maxscale/version.h>
|
||||
|
||||
// This isn't really a clean way of testing
|
||||
#include "../../../../core/maxscale/service.h"
|
||||
|
||||
static void printVersion(const char *progname);
|
||||
static void printUsage(const char *progname);
|
||||
extern int blr_test_parse_change_master_command(char *input, char *error_string, CHANGE_MASTER_OPTIONS *config);
|
||||
|
Reference in New Issue
Block a user