26 #include <sys/types.h>
39 if (hash_a < *(
const unsigned long*)b) {
43 if (hash_a > *(
const unsigned long*)b) {
51 hashGet(Hash
this,
const char * search,
size_t nsearch)
53 unsigned long hash =
sdbm((
const unsigned char *)search, nsearch);
unsigned long sdbm(const unsigned char *, size_t)
unsigned long hashableGetHash(void *)
static int hashGetComp(const void *a, const void *b)
void * hashGetByVal(Hash this, unsigned long hash)
void * treeFind(Tree, const void *, TreeComp)
void * hashGet(Hash this, const char *search, size_t nsearch)