Lines Matching defs:hashtable
9 struct hashtable;
12 struct hashtable {
18 uint32_t (*hash)(const void *data, const struct hashtable *table);
28 struct hashtable *
31 const struct hashtable *table),
33 void hashtable_destroy(struct hashtable *h);
34 int hashtable_hash(const struct hashtable *table, const void *data);
35 struct hashtable_node *hashtable_find(const struct hashtable *table, const void *data, int id);
36 int hashtable_add(struct hashtable *table, struct hashtable_node *n, int id);
37 void hashtable_del(struct hashtable *table, struct hashtable_node *node);
38 int hashtable_flush(struct hashtable *table);
39 int hashtable_iterate(struct hashtable *table, void *data,
41 int hashtable_iterate_limit(struct hashtable *table, void *data, uint32_t from, uint32_t steps, int (*iterate)(void *data1, void *n));
42 unsigned int hashtable_counter(const struct hashtable *table);