Lines Matching refs:hash_table
21 struct hash_table;
26 struct hash_table *hash_create(unsigned size_hint);
27 void hash_destroy(struct hash_table *t);
28 void hash_wipe(struct hash_table *t);
30 void *hash_lookup(struct hash_table *t, const char *key);
31 int hash_insert(struct hash_table *t, const char *key, void *data);
32 void hash_remove(struct hash_table *t, const char *key);
34 void *hash_lookup_binary(struct hash_table *t, const char *key, uint32_t len);
35 int hash_insert_binary(struct hash_table *t, const char *key, uint32_t len,
37 void hash_remove_binary(struct hash_table *t, const char *key, uint32_t len);
39 unsigned hash_get_num_entries(struct hash_table *t);
40 void hash_iter(struct hash_table *t, iterate_fn f);
42 char *hash_get_key(struct hash_table *t, struct hash_node *n);
43 void *hash_get_data(struct hash_table *t, struct hash_node *n);
44 struct hash_node *hash_get_first(struct hash_table *t);
45 struct hash_node *hash_get_next(struct hash_table *t, struct hash_node *n);