MXS-2304 Remove config_get_string() and config_get_value_string()

Some functions accessing internal pointers still remain.
This commit is contained in:
Esa Korhonen
2019-02-04 18:41:42 +02:00
parent 4b2c0b3edd
commit 934be45b68
4 changed files with 54 additions and 82 deletions

View File

@ -245,13 +245,3 @@ bool config_can_modify_at_runtime(const char* name);
* @return The parameter or NULL if the parameter was not found
*/
MXS_CONFIG_PARAMETER* config_get_param(MXS_CONFIG_PARAMETER* params, const char* name);
/**
* @brief Get a string value
*
* @param params List of configuration parameters
* @param key Parameter name
*
* @return The raw string value or an empty string if no parameter was found
*/
const char* config_get_string(const MXS_CONFIG_PARAMETER* params, const char* key);