From 24236269ce5126dfa60af60a925da503a7338c4d Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Sun, 18 Mar 2012 16:20:38 -0700 Subject: Add new member get_pair to conf parser context To allow parsers more control over finding paramerter pairs add a new member get_pair to the parser struct conf_context. Initialize get_pair=conf_get_pair_equal for existing parsers. Signed-off-by: Geoff Levand --- discover/yaboot-parser.c | 1 + 1 file changed, 1 insertion(+) (limited to 'discover/yaboot-parser.c') diff --git a/discover/yaboot-parser.c b/discover/yaboot-parser.c index ace9945..4306492 100644 --- a/discover/yaboot-parser.c +++ b/discover/yaboot-parser.c @@ -301,6 +301,7 @@ static int yaboot_parse(struct discover_context *dc) conf->global_options = yaboot_global_options, conf_init_global_options(conf); conf->conf_files = yaboot_conf_files, + conf->get_pair = conf_get_pair_equal; conf->process_pair = yaboot_process_pair; conf->finish = yaboot_finish; conf->parser_info = state = talloc_zero(conf, struct yaboot_state); -- cgit v1.2.1