Lines Matching defs:db_table_desc
53 typedef bool_t (*db_func)(XDR *, db_table_desc *);
136 /* Delete contents of single db_table_desc pointed to by 'current.' */
138 delete_table_desc(db_table_desc *current)
149 db_table_desc** answer)
151 db_table_desc *newtab;
152 if ((newtab = new db_table_desc) == NULL) {
189 /* Delete list of db_table_desc pointed to by 'head.' */
191 delete_bucket(db_table_desc *head)
193 db_table_desc * nextone, *current;
204 db_table_desc* bucket;
223 relocate_bucket(db_table_desc* bucket,
241 enumerate_bucket(db_table_desc* bucket, db_status(*func)(db_table_desc *))
260 search_bucket(db_table_desc* bucket, unsigned long hval, char *target)
319 add_to_bucket(db_table_desc_p bucket, db_table_desc **head, db_table_desc_p td)
349 print_bucket(db_table_desc *head)
351 db_table_desc *np;
358 print_table(db_table_desc *tbl)
461 enumerate_dictionary(db_dict_desc *dd, db_status (*func) (db_table_desc*))
464 db_table_desc *bucket;
484 * Look up target table_name in hashtable and return its db_table_desc.
487 static db_table_desc *
518 register db_table_desc *fst;
538 * Add a new db_table_desc to the dictionary.
545 * db_table_desc *td pointer to table entry to be added. The
546 * db_table_desc.next field will be altered
553 add_to_dictionary(db_dict_desc_p dd, db_table_desc *td)
633 * and add it to a new dictionary, loop through the db_table_desc->next list
637 db_dictionary::db_clone_bucket(db_table_desc *bucket, db_table_desc **clone)
663 *clone = (db_table_desc *) calloc(1, (size_t) size * sizeof (char));
692 db_dictionary::change_table_name(db_table_desc *clone, char *tok, char *repl)
845 db_table_desc *bucket, *np, *clone, *next_np;
951 db_table_desc *tbl = NULL, *clone = NULL, *next_td = NULL;
1015 db_table_desc *tbl = NULL;
1055 db_table_desc *tbl, *clone;
1056 db_table_desc tbl_ent;
1427 db_table_desc *tbl;
1455 * Returns db_table_desc of table name 'tab'. 'prev', if supplied,
1458 db_table_desc*
1461 db_table_desc *ret;
1473 db_table_desc *
1475 db_table_desc *ret = NULL;
1492 db_dictionary::find_table(char *tab, db_table_desc **where) {
1498 db_dictionary::find_table(char *tab, db_table_desc **where,
1504 db_dictionary::find_table(char *tab, db_table_desc **where,
1549 db_dictionary::find_table_noLDAP(char *tab, db_table_desc **where,
1555 db_table_desc* tbl;
1670 db_table_desc *tbl;
1758 db_table_desc *new_table = 0;
1826 db_dictionary::translate_to_query(db_table_desc* tbl, int numattrs,
1857 get_table_name(db_table_desc* tbl)
1899 db_checkpoint_aux(db_table_desc *current)
1933 db_checkpoint_aux_cont(db_table_desc *current)
1946 db_table_desc *tbl;
2238 db_table_desc *tbl = find_table_desc(table);
2243 db_table_desc *clone, *savenext = tbl->next;
2245 * Only want to clone one db_table_desc, so temporarily
2337 db_table_desc *old = search_dictionary(deferred.dictionary, table);
2338 db_table_desc *upd = search_dictionary(dictionary, table);
2408 db_table_desc *old = search_dictionary(deferred.dictionary, table);