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:
Markus Makela
2016-11-25 15:10:19 +02:00
parent 88677946f8
commit 691989ff04
8 changed files with 137 additions and 101 deletions

View File

@ -17,6 +17,8 @@
#include <maxscale/gwdirs.h>
#include <maxscale/spinlock.h>
#include "maxscale/service.h"
static SPINLOCK crt_lock = SPINLOCK_INIT;
bool runtime_link_server(SERVER *server, const char *target)