Lines Matching defs:chead
70 static struct parser chead[MAX_CFG] = { NULL };
225 * ie. parser info for sndr is chead[3].tag.l_word
236 if (chead[i].tag.l_word[0] == '\0') {
240 if (strcmp(chead[i].tag.l_word, section) == 0)
471 if (cfg_filter_node(cfg, &chead[0], buf, section))
498 needed = cfg_get_item(&chead[0], section, itemp);
569 nflds = cfg_get_num_flds(&chead[0], section, &tbl_off);
628 fieldnum = cfg_get_item(&chead[0], section, fldbuf[j]);
785 if (cfg_filter_node(cfg, &chead[0], tmpbuf,
806 nflds = cfg_get_num_flds(&chead[0], section, &table_index);
840 cfg_insert_node(cfg, &chead[0], buf, section);
878 if (cfg_filter_node(cfg, &chead[0], buf,
899 nflds = cfg_get_num_flds(&chead[0], section, &table_index);
900 fldnum = cfg_get_item(&chead[0], section, itemp);
918 cnodepos = cfg_get_item(&chead[0], section, "cnode");
921 cfg_insert_node(cfg, &chead[0],
948 nflds = cfg_get_num_flds(&chead[0], section, &table_index);
951 cnodepos = cfg_get_item(&chead[0], section, "cnode");
969 cfg_insert_node(cfg, &chead[0], buf, section);
973 if (cfg_is_cnode(cfg, &chead[0], buf, section) &&
2392 tbl = chead;
2447 * chead for configuration parser entries
2481 thead = chead;
2545 strdup(chead[i].tag.l_word);
2705 /* only as many lists as chead has */
2706 if (chead[i].tag.l_word[0] == '\0') {
2782 if (chead)
2783 p = chead[i].fld;
2793 bzero(chead, MAX_CFG * sizeof (struct parser));
3223 while ((i < MAX_CFG) && (chead[i].tag.l_word[0] != '\0')) {
3224 list[i] = strdup(chead[i].tag.l_word);
3435 sortby.offset = cfg_get_item(&chead[0], section, field);