Document call_rcu() usage
[urcu.git] / urcu-ht.h
CommitLineData
ab7d5fc6
MD
1#ifndef _URCU_HT_H
2#define _URCU_HT_H
3
4#define HASH_SIZE 4096
5typedef unsigned long (*ht_hash_fct)(void *key);
6
7struct rcu_ht *ht_new(ht_hash_fct hash_fct, void (*free_fct)(void *data));
8
9void ht_delete_all(struct rcu_ht *ht);
10
11void ht_destroy(struct rcu_ht *ht);
12
13void *ht_lookup(struct rcu_ht *ht, void *key);
14
15int ht_add(struct rcu_ht *ht, void *key, void *data);
16
17int ht_delete(struct rcu_ht *ht, void *key);
18
19void *ht_steal(struct rcu_ht *ht, void *key);
20
21unsigned long stupid_hash(void *key);
22
23#endif /* _URCU_HT_H */
This page took 0.028627 seconds and 4 git commands to generate.