X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=conf-parser.h;h=25b77eb4942b67ff479a4cab9af837f47511fa98;hp=8eb0635f808dfc0dd9e921c25dfc0ada18651ec2;hb=ceed357001a7543c62468c5b943cf80c2a644252;hpb=57d42a5f661084af3d460a80112fab5dffd91591 diff --git a/conf-parser.h b/conf-parser.h index 8eb0635f8..25b77eb49 100644 --- a/conf-parser.h +++ b/conf-parser.h @@ -21,7 +21,7 @@ typedef struct ConfigItem { /* The configuration file parsing routine. Expects a table of * config_items in *t that is terminated by an item where lvalue is * NULL */ -int config_parse(const char *filename, const ConfigItem *t, void *userdata); +int config_parse(const char *filename, const char* const * sections, const ConfigItem *t, void *userdata); /* Generic parsers */ int config_parse_int(const char *filename, unsigned line, const char *section, const char *lvalue, const char *rvalue, void *data, void *userdata);