Lines Matching defs:table
60 /* The type of the items in the table */
92 /* Internal functions for the "piles" hash table */
116 * ENGINEs from the implementation table */
117 int engine_table_register(ENGINE_TABLE **table, ENGINE_CLEANUP_CB *cleanup,
123 if(!(*table))
125 if(!int_table_check(table, 1))
133 fnd = lh_retrieve(&(*table)->piles, &tmplate);
147 lh_insert(&(*table)->piles, fnd);
192 void engine_table_unregister(ENGINE_TABLE **table, ENGINE *e)
195 if(int_table_check(table, 0))
196 lh_doall_arg(&(*table)->piles,
209 void engine_table_cleanup(ENGINE_TABLE **table)
212 if(*table)
214 lh_doall(&(*table)->piles, LHASH_DOALL_FN(int_cleanup_cb));
215 lh_free(&(*table)->piles);
216 *table = NULL;
223 ENGINE *engine_table_select(ENGINE_TABLE **table, int nid)
225 ENGINE *engine_table_select_tmp(ENGINE_TABLE **table, int nid, const char *f, int l)
232 if(!(*table))
244 if(!int_table_check(table, 0)) goto end;
246 fnd = lh_retrieve(&(*table)->piles, &tmplate);