Check configuration with declared parameters
The declared parameters are now used to check whether the configuration is valid. As the filters and monitors don't use the new declarations, the code needs to be commented out. Once the parameter processing has been migrated to the new system, the code can be enabled.
This commit is contained in:
@ -220,12 +220,13 @@ SSL_LISTENER *make_ssl_structure(CONFIG_CONTEXT *obj, bool require_cert, int *er
|
||||
* does preliminary type checking for various basic values as well as enumerations.
|
||||
*
|
||||
* @param module Module name
|
||||
* @param type Module type
|
||||
* @param key Parameter key
|
||||
* @param value Parameter value
|
||||
*
|
||||
* @return True if the configuration parameter is valid
|
||||
*/
|
||||
bool config_param_is_valid(const char *module, const char *key, const char *value);
|
||||
bool config_param_is_valid(const char *module, const char *type, const char *key, const char *value);
|
||||
|
||||
/**
|
||||
* @brief Get a boolean value
|
||||
|
Reference in New Issue
Block a user