Lines Matching refs:cfg_parser

26 config_parser_state_type* cfg_parser = 0;  variable
211 if(!cfg_parser) { in parse_options_file()
212 cfg_parser = (config_parser_state_type*)region_alloc( in parse_options_file()
214 cfg_parser->chroot = 0; in parse_options_file()
216 cfg_parser->err = err; in parse_options_file()
217 cfg_parser->err_arg = err_arg; in parse_options_file()
218 cfg_parser->filename = (char*)file; in parse_options_file()
219 cfg_parser->line = 1; in parse_options_file()
220 cfg_parser->errors = 0; in parse_options_file()
221 cfg_parser->opt = opt; in parse_options_file()
222 cfg_parser->pattern = NULL; in parse_options_file()
223 cfg_parser->zone = NULL; in parse_options_file()
224 cfg_parser->key = NULL; in parse_options_file()
225 cfg_parser->tls_auth = NULL; in parse_options_file()
227 in = fopen(cfg_parser->filename, "r"); in parse_options_file()
305 if(cfg_parser->errors > 0) in parse_options_file()
311 cfg_parser->errors); in parse_options_file()
316 cfg_parser->errors); in parse_options_file()
753 cfg_parser->errors++; in c_error_va_list_pos()
757 if(cfg_parser->err) { in c_error_va_list_pos()
759 snprintf(m, sizeof(m), "%s:%d: ", cfg_parser->filename, in c_error_va_list_pos()
760 cfg_parser->line); in c_error_va_list_pos()
761 (*cfg_parser->err)(cfg_parser->err_arg, m); in c_error_va_list_pos()
764 (*cfg_parser->err)(cfg_parser->err_arg, m); in c_error_va_list_pos()
766 (*cfg_parser->err)(cfg_parser->err_arg, "error: "); in c_error_va_list_pos()
768 (*cfg_parser->err)(cfg_parser->err_arg, m); in c_error_va_list_pos()
769 (*cfg_parser->err)(cfg_parser->err_arg, "\n"); in c_error_va_list_pos()
772 fprintf(stderr, "%s:%d: ", cfg_parser->filename, cfg_parser->line); in c_error_va_list_pos()
2314 struct acl_options* acl = copy_acl(cfg_parser->opt->region, in copy_and_append_acls()
2331 struct pattern_options* pat = pattern_options_find(cfg_parser->opt, in config_apply_pattern()
2340 dest->zonefile = region_strdup(cfg_parser->opt->region, in config_apply_pattern()
2343 dest->zonestats = region_strdup(cfg_parser->opt->region, in config_apply_pattern()
2418 region_type *region = cfg_parser->opt->region; in config_apply_pattern()