diff options
author | Haru <haru@dotalux.com> | 2015-10-10 21:37:48 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-10-11 05:14:59 +0200 |
commit | 34bdc27cabdc2c37e9b486013bf5ab42e8995e88 (patch) | |
tree | 5408c9abe51397df3277e4eccfb5cfce6b7f7420 /src/common/conf.h | |
parent | 2d51cded8d5612b7ecbe171a6ca309e91d14bfd7 (diff) | |
download | hercules-34bdc27cabdc2c37e9b486013bf5ab42e8995e88.tar.gz hercules-34bdc27cabdc2c37e9b486013bf5ab42e8995e88.tar.bz2 hercules-34bdc27cabdc2c37e9b486013bf5ab42e8995e88.tar.xz hercules-34bdc27cabdc2c37e9b486013bf5ab42e8995e88.zip |
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 <haru@dotalux.com>
Diffstat (limited to 'src/common/conf.h')
-rw-r--r-- | src/common/conf.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |