1
#ifndef _CONFIG_PARSER_H_
2
#define _CONFIG_PARSER_H_
12
array *configs_stack; /* to parse nested block */
13
data_config *current; /* current started with { */
17
void *configparserAlloc(void *(*mallocProc)(size_t));
18
void configparserFree(void *p, void (*freeProc)(void*));
19
void configparser(void *yyp, int yymajor, buffer *yyminor, config_t *ctx);
20
int config_parse_file(server *srv, config_t *context, const char *fn);
21
int config_parse_cmd(server *srv, config_t *context, const char *cmd);
22
data_unset *configparser_merge_data(data_unset *op1, const data_unset *op2);