From 34bdc27cabdc2c37e9b486013bf5ab42e8995e88 Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 10 Oct 2015 21:37:48 +0200 Subject: Added support to libconfig for key names containing '.' or beginnig with digits. - Note: Since '.' (period) is a valid character for key names, it is no longer a valid path separator for lookups. Please use '/' (forward slash) or ':' (semicolon) instead. Signed-off-by: Haru --- src/common/conf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/conf.h b/src/common/conf.h index ac97a5427..0ef86adea 100644 --- a/src/common/conf.h +++ b/src/common/conf.h @@ -16,8 +16,8 @@ struct libconfig_interface { int (*read) (config_t *config, FILE *stream); void (*write) (const config_t *config, FILE *stream); /* */ - void (*set_auto_convert) (config_t *config, int flag); - int (*get_auto_convert) (const config_t *config); + void (*set_auto_convert) (config_t *config, int flag); // TODO: Replace with config_set_options + int (*get_auto_convert) (const config_t *config); // TODO: Replace with config_get_options /* */ int (*read_string) (config_t *config, const char *str); int (*read_file_src) (config_t *config, const char *filename); -- cgit v1.2.3-70-g09d2