Lines Matching refs:db_table_desc
50 typedef bool_t (*db_func)(XDR *, db_table_desc *);
133 /* Delete contents of single db_table_desc pointed to by 'current.' */
135 delete_table_desc(db_table_desc *current)
146 db_table_desc** answer)
148 db_table_desc *newtab;
149 if ((newtab = new db_table_desc) == NULL) {
186 /* Delete list of db_table_desc pointed to by 'head.' */
188 delete_bucket(db_table_desc *head)
190 db_table_desc * nextone, *current;
201 db_table_desc* bucket;
220 relocate_bucket(db_table_desc* bucket,
238 enumerate_bucket(db_table_desc* bucket, db_status(*func)(db_table_desc *))
257 search_bucket(db_table_desc* bucket, unsigned long hval, char *target)
316 add_to_bucket(db_table_desc_p bucket, db_table_desc **head, db_table_desc_p td)
346 print_bucket(db_table_desc *head)
348 db_table_desc *np;
355 print_table(db_table_desc *tbl)
458 enumerate_dictionary(db_dict_desc *dd, db_status (*func) (db_table_desc*))
461 db_table_desc *bucket;
481 * Look up target table_name in hashtable and return its db_table_desc.
484 static db_table_desc *
515 register db_table_desc *fst;
535 * Add a new db_table_desc to the dictionary.
542 * db_table_desc *td pointer to table entry to be added. The
543 * db_table_desc.next field will be altered
550 add_to_dictionary(db_dict_desc_p dd, db_table_desc *td)
630 * and add it to a new dictionary, loop through the db_table_desc->next list
634 db_dictionary::db_clone_bucket(db_table_desc *bucket, db_table_desc **clone)
660 *clone = (db_table_desc *) calloc(1, (size_t) size * sizeof (char));
689 db_dictionary::change_table_name(db_table_desc *clone, char *tok, char *repl)
842 db_table_desc *bucket, *np, *clone, *next_np;
948 db_table_desc *tbl = NULL, *clone = NULL, *next_td = NULL;
1012 db_table_desc *tbl = NULL;
1052 db_table_desc *tbl, *clone;
1053 db_table_desc tbl_ent;
1424 db_table_desc *tbl;
1452 * Returns db_table_desc of table name 'tab'. 'prev', if supplied,
1455 db_table_desc*
1458 db_table_desc *ret;
1470 db_table_desc *
1472 db_table_desc *ret = NULL;
1489 db_dictionary::find_table(char *tab, db_table_desc **where) {
1495 db_dictionary::find_table(char *tab, db_table_desc **where,
1501 db_dictionary::find_table(char *tab, db_table_desc **where,
1546 db_dictionary::find_table_noLDAP(char *tab, db_table_desc **where,
1552 db_table_desc* tbl;
1667 db_table_desc *tbl;
1755 db_table_desc *new_table = 0;
1823 db_dictionary::translate_to_query(db_table_desc* tbl, int numattrs,
1854 get_table_name(db_table_desc* tbl)
1896 db_checkpoint_aux(db_table_desc *current)
1930 db_checkpoint_aux_cont(db_table_desc *current)
1943 db_table_desc *tbl;
2235 db_table_desc *tbl = find_table_desc(table);
2240 db_table_desc *clone, *savenext = tbl->next;
2242 * Only want to clone one db_table_desc, so temporarily
2334 db_table_desc *old = search_dictionary(deferred.dictionary, table);
2335 db_table_desc *upd = search_dictionary(dictionary, table);
2405 db_table_desc *old = search_dictionary(deferred.dictionary, table);