Lines Matching refs:tbl
133 cfg_get_item(struct parser *tbl, const char *tag, const char *field)
140 if (tbl[i].tag.l_word[0] == '\0') {
144 if (strcmp(tbl[i].tag.l_word, tag) == 0)
150 p = tbl[i].fld;
167 cfg_get_num_flds(struct parser *tbl, const char *tag, int *table_index)
175 if (tbl[i].tag.l_word[0] == '\0') {
179 if (strcmp(tbl[i].tag.l_word, tag) == 0) {
187 p = tbl[i].fld;
304 cfg_filter_node(CFGFILE *cfg, struct parser *tbl, char *buf, char *tag)
314 fld = cfg_get_item(tbl, tag, "cnode");
340 cfg_insert_node(CFGFILE *cfg, struct parser *tbl, char *buf, char *tag)
349 fld = cfg_get_item(tbl, tag, "cnode");
350 nflds = cfg_get_num_flds(tbl, tag, &table_index);
370 cfg_is_cnode(CFGFILE *cfg, struct parser *tbl, char *buf, char *tag)
373 int fld = cfg_get_item(tbl, tag, "cnode");
2372 struct parser *tbl;
2392 tbl = chead;
2400 size = cfg_get_item(tbl, ky, fld);