Fix monitor creation

When the monitor was created, no parameters were passed to it.
This commit is contained in:
Markus Mäkelä
2019-03-20 18:17:08 +02:00
parent 0f1bc60431
commit c2fc80f122
3 changed files with 35 additions and 18 deletions

View File

@ -217,11 +217,13 @@ bool runtime_destroy_listener(Service* service, const char* name);
/**
* @brief Create a new monitor
*
* @param name Name of the monitor
* @param name Name of the monitor
* @param module Monitor module
* @param params Parameters for the monitor
*
* @return True if new monitor was created and persisted
*/
bool runtime_create_monitor(const char* name, const char* module);
bool runtime_create_monitor(const char* name, const char* module, MXS_CONFIG_PARAMETER* params);
/**
* @brief Create a new filter