MXS-1992 Expose config.cc:runtime_error as config_runtime_error

This commit is contained in:
Johan Wikman
2018-08-07 10:15:25 +03:00
parent fbb79adc52
commit 326bb88f70
2 changed files with 100 additions and 90 deletions

View File

@ -26,6 +26,18 @@
#include "service.hh"
#include "filter.hh"
/**
* @brief Log error to be returned to client
*
* This function logs an error message that later will be returned to
* the client. Note that each call to this function will overwrite
* an already logged error message.
*
* @param fmt Printf format string.
*/
void config_runtime_error(const char* fmt, ...) mxs_attribute((format (printf, 1, 2)));
/**
* @brief Create a new server
*