23 #include <sys/types.h>
36 if (hash_a < *(
const unsigned long*)b) {
40 if (hash_a > *(
const unsigned long*)b) {
48 hashDelete(Hash
this,
const char * search,
size_t nsearch)
50 unsigned long hash =
sdbm((
const unsigned char *)search, nsearch);
void * hashDeleteByVal(Hash this, unsigned long hash)
unsigned long sdbm(const unsigned char *, size_t)
unsigned long hashableGetHash(void *)
static int hashDeleteComp(const void *a, const void *b)
void * hashDelete(Hash this, const char *search, size_t nsearch)
void * treeDelete(Tree *, const void *, TreeComp)