Lines Matching refs:chead
70 static struct parser chead[MAX_CFG] = { NULL }; variable
236 if (chead[i].tag.l_word[0] == '\0') { in cfg_get_parser_offset()
240 if (strcmp(chead[i].tag.l_word, section) == 0) in cfg_get_parser_offset()
471 if (cfg_filter_node(cfg, &chead[0], buf, section)) in cfg_get_cstring()
498 needed = cfg_get_item(&chead[0], section, itemp); in cfg_get_cstring()
569 nflds = cfg_get_num_flds(&chead[0], section, &tbl_off); in cfg_find_cstring()
628 fieldnum = cfg_get_item(&chead[0], section, fldbuf[j]); in cfg_find_cstring()
785 if (cfg_filter_node(cfg, &chead[0], tmpbuf, in cfg_put_cstring()
806 nflds = cfg_get_num_flds(&chead[0], section, &table_index); in cfg_put_cstring()
840 cfg_insert_node(cfg, &chead[0], buf, section); in cfg_put_cstring()
878 if (cfg_filter_node(cfg, &chead[0], buf, in cfg_put_cstring()
899 nflds = cfg_get_num_flds(&chead[0], section, &table_index); in cfg_put_cstring()
900 fldnum = cfg_get_item(&chead[0], section, itemp); in cfg_put_cstring()
918 cnodepos = cfg_get_item(&chead[0], section, "cnode"); in cfg_put_cstring()
921 cfg_insert_node(cfg, &chead[0], in cfg_put_cstring()
948 nflds = cfg_get_num_flds(&chead[0], section, &table_index); in cfg_put_cstring()
951 cnodepos = cfg_get_item(&chead[0], section, "cnode"); in cfg_put_cstring()
969 cfg_insert_node(cfg, &chead[0], buf, section); in cfg_put_cstring()
973 if (cfg_is_cnode(cfg, &chead[0], buf, section) && in cfg_put_cstring()
2392 tbl = chead; in cfg_update_parser_config()
2481 thead = chead; in cfg_read_parser_config()
2545 strdup(chead[i].tag.l_word); in cfg_read_parser_config()
2706 if (chead[i].tag.l_word[0] == '\0') { in cfg_replace_lists()
2782 if (chead) in cfg_free_parser_tree()
2783 p = chead[i].fld; in cfg_free_parser_tree()
2793 bzero(chead, MAX_CFG * sizeof (struct parser)); in cfg_free_parser_tree()
3223 while ((i < MAX_CFG) && (chead[i].tag.l_word[0] != '\0')) { in cfg_get_tags()
3224 list[i] = strdup(chead[i].tag.l_word); in cfg_get_tags()
3435 sortby.offset = cfg_get_item(&chead[0], section, field); in cfg_get_srtdsec()