diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-08-19 14:22:45 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-08-09 20:14:10 +0200 |
commit | 82952bb16eeb8d27b4357fa16b76a8ee8819964b (patch) | |
tree | 4e823d9f5b22fa348216734409cf3ca4f79eff24 /src/common/config-parser.h | |
parent | c12bdb94ecdc44f200a8030dfde4a5ec46053ea6 (diff) | |
download | blogc-82952bb16eeb8d27b4357fa16b76a8ee8819964b.tar.gz blogc-82952bb16eeb8d27b4357fa16b76a8ee8819964b.tar.bz2 blogc-82952bb16eeb8d27b4357fa16b76a8ee8819964b.zip |
common: config-parser: mark section as list by prefixfeature/make-generic-rule
Diffstat (limited to 'src/common/config-parser.h')
-rw-r--r-- | src/common/config-parser.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/config-parser.h b/src/common/config-parser.h index 0b75ff8..fa29437 100644 --- a/src/common/config-parser.h +++ b/src/common/config-parser.h @@ -18,7 +18,8 @@ typedef struct { } bc_config_t; bc_config_t* bc_config_parse(const char *src, size_t src_len, - const char *list_sections[], bc_error_t **err); + const char *list_sections[], const char *list_sections_prefix[], + bc_error_t **err); char** bc_config_list_sections(bc_config_t *config); char** bc_config_list_keys(bc_config_t *config, const char *section); const char* bc_config_get(bc_config_t *config, const char *section, |