MXS-1914: Move maxscale_shutdown() into the core

The core library now contains the maxscale_shutdown() command. This makes
it possible to resolve all symbols at link time even for administrative
modules.
This commit is contained in:
Markus Mäkelä
2018-06-16 05:29:50 +03:00
parent df24f09ce5
commit 13893cca3d
4 changed files with 61 additions and 70 deletions

View File

@ -96,6 +96,18 @@ typedef struct mxs_log_throttling
bool mxs_log_init(const char* ident, const char* logdir, mxs_log_target_t target);
void mxs_log_finish(void);
/**
* Start log flushing thread
*
* @return True if log flusher thread was started
*/
bool mxs_log_start_flush_thr();
/**
* Stop log flushing thread
*/
void mxs_log_stop_flush_thr();
int mxs_log_flush();
int mxs_log_flush_sync();
int mxs_log_rotate();