Lines Matching refs:hashtable
28 struct hashtable *
31 const struct hashtable *table),
35 struct hashtable *h;
36 int size = sizeof(struct hashtable)
39 h = (struct hashtable *) calloc(size, 1);
56 void hashtable_destroy(struct hashtable *h)
61 int hashtable_hash(const struct hashtable *table, const void *data)
67 hashtable_find(const struct hashtable *table, const void *data, int id)
82 int hashtable_add(struct hashtable *table, struct hashtable_node *n, int id)
94 void hashtable_del(struct hashtable *table, struct hashtable_node *n)
100 int hashtable_flush(struct hashtable *table)
116 hashtable_iterate_limit(struct hashtable *table, void *data,
134 int hashtable_iterate(struct hashtable *table, void *data,
140 unsigned int hashtable_counter(const struct hashtable *table)