Allow runtime changes to service parameters

General service parameters can now be altered at runtime.
This commit is contained in:
Markus Mäkelä
2017-04-25 16:01:09 +03:00
parent f7fefad2e6
commit d282b14b36
3 changed files with 150 additions and 0 deletions

View File

@ -120,6 +120,17 @@ bool runtime_enable_server_ssl(SERVER *server, const char *key, const char *cert
*/
bool runtime_alter_monitor(MXS_MONITOR *monitor, const char *key, const char *value);
/**
* @brief Alter service parameters
*
* @param monitor Service to alter
* @param key Key to modify
* @param value New value
*
* @return True if @c key was one of the supported parameters
*/
bool runtime_alter_service(SERVICE *service, const char* zKey, const char* zValue);
/**
* @brief Create a new listener for a service
*