atomshashtable.c
Include dependency graph for atomshashtable.c:
Defines
-
SMP_RDLOCK(htable)
-
SMP_WRLOCK(htable)
-
SMP_UNLOCK(htable)
-
DEFAULT_SIZE
Functions
-
static unsigned long sdbm_hash(const unsigned char *str, int len)
-
struct AtomsHashTable *atomshashtable_new()
-
int atomshashtable_insert(struct AtomsHashTable *hash_table, AtomString string, unsigned long value)
-
unsigned long atomshashtable_get_value(const struct AtomsHashTable *hash_table, const AtomString string, unsigned long default_value)
-
int atomshashtable_has_key(const struct AtomsHashTable *hash_table, const AtomString string)
-
struct HNode