/* $OpenBSD: ohash_int.h,v 1.4 2012/09/23 15:05:23 espie Exp $ */ #include #include #include #include #include "ohash.h" struct _ohash_record { uint32_t hv; const char *p; }; #define DELETED ((const char *)h) #define NONE (h->size) /* Don't bother changing the hash table if the change is small enough. */ #define MINSIZE (1UL << 4) #define MINDELETED 4