Add monitor alteration to config_runtime.h

Moved the monitor alteration to config_runtime.c.
This commit is contained in:
Markus Makela
2016-11-22 16:06:18 +02:00
parent e75a27e8db
commit 498395cd3d
3 changed files with 88 additions and 76 deletions

View File

@ -106,3 +106,13 @@ bool runtime_alter_server(SERVER *server, char *key, char *value);
*/
bool runtime_enable_server_ssl(SERVER *server, const char *key, const char *cert,
const char *ca, const char *version, const char *depth);
/**
* @brief Alter monitor parameters
*
* @param monitor Monitor to aler
* @param key Key to modify
* @param value New value
* @return True if @c key was one of the supported parameters
*/
bool runtime_alter_monitor(MONITOR *monitor, char *key, char *value);