58 // TODO |
58 // TODO |
59 } |
59 } |
60 |
60 |
61 int serverconf_parse(void *p, ConfigLine *begin, ConfigLine *end, sstr_t line){ |
61 int serverconf_parse(void *p, ConfigLine *begin, ConfigLine *end, sstr_t line){ |
62 ServerConfig *conf = p; |
62 ServerConfig *conf = p; |
63 |
63 |
64 begin->type = cfg_get_line_type(line); |
64 begin->type = cfg_get_line_type(line); |
65 switch(begin->type) { |
65 switch(begin->type) { |
66 case LINE_BEGIN_TAG: { |
66 case LINE_BEGIN_TAG: { |
67 ConfigTag *tag = cfg_parse_begin_tag(line, conf->parser.mp); |
67 ConfigTag *tag = cfg_parse_begin_tag(line, conf->parser.mp); |
68 |
68 |