valueshashtable.c
Include dependency graph for valueshashtable.c:
Defines
-
SMP_RDLOCK(htable) smp_rwlock_rdlock(htable->lock)
-
SMP_WRLOCK(htable) smp_rwlock_wrlock(htable->lock)
-
SMP_UNLOCK(htable) smp_rwlock_unlock(htable->lock)
-
DEFAULT_SIZE 8
Functions
-
struct ValuesHashTable *valueshashtable_new()
-
int valueshashtable_insert(struct ValuesHashTable *hash_table, unsigned long key, unsigned long value)
-
unsigned long valueshashtable_get_value(const struct ValuesHashTable *hash_table, unsigned long key, unsigned long default_value)
-
int valueshashtable_has_key(const struct ValuesHashTable *hash_table, unsigned long key)
-
struct HNode