diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/conf.c | 2 | ||||
-rw-r--r-- | src/conf.h | 3 |
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); |