aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-09 23:57:52 +0200
committerMax Kellermann <max@duempel.org>2011-09-09 23:59:46 +0200
commit5cce56199bdd74d8862da51d3a0bd7a748b42520 (patch)
tree312a599119ca13290d83e551fa2748324d011658 /src
parent3cc12817f686064fe18112cf05d8bd541abcd398 (diff)
downloadmpd-5cce56199bdd74d8862da51d3a0bd7a748b42520.tar.gz
mpd-5cce56199bdd74d8862da51d3a0bd7a748b42520.tar.xz
mpd-5cce56199bdd74d8862da51d3a0bd7a748b42520.zip
conf: export config_param_free()
Diffstat (limited to 'src')
-rw-r--r--src/conf.c2
-rw-r--r--src/conf.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c
index 155e75207..66d8b2643 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -143,7 +143,7 @@ config_new_param(const char *value, int line)
return ret;
}
-static void
+void
config_param_free(struct config_param *param)
{
g_free(param->value);
diff --git a/src/conf.h b/src/conf.h
index d91d464ce..815c739b1 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -218,6 +218,9 @@ struct config_param *
config_new_param(const char *value, int line);
void
+config_param_free(struct config_param *param);
+
+void
config_add_block_param(struct config_param * param, const char *name,
const char *value, int line);