Commit 5cce5619 authored by Max Kellermann's avatar Max Kellermann

conf: export config_param_free()

parent 3cc12817
...@@ -143,7 +143,7 @@ config_new_param(const char *value, int line) ...@@ -143,7 +143,7 @@ config_new_param(const char *value, int line)
return ret; return ret;
} }
static void void
config_param_free(struct config_param *param) config_param_free(struct config_param *param)
{ {
g_free(param->value); g_free(param->value);
......
...@@ -218,6 +218,9 @@ struct config_param * ...@@ -218,6 +218,9 @@ struct config_param *
config_new_param(const char *value, int line); config_new_param(const char *value, int line);
void void
config_param_free(struct config_param *param);
void
config_add_block_param(struct config_param * param, const char *name, config_add_block_param(struct config_param * param, const char *name,
const char *value, int line); const char *value, int line);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment