1 /*	$OpenBSD: ohash_int.h,v 1.3 2006/01/16 15:52:25 espie Exp $	*/
2 
3 #if HAVE_NBTOOL_CONFIG_H
4 #include "nbtool_config.h"
5 #endif
6 
7 #include <stddef.h>
8 #include <stdint.h>
9 #include <stdlib.h>
10 #include <string.h>
11 #include "ohash.h"
12 
13 struct _ohash_record {
14 	u_int32_t	hv;
15 	const char 	*p;
16 };
17 
18 #define DELETED		((const char *)h)
19 #define NONE		(h->size)
20 
21 /* Don't bother changing the hash table if the change is small enough.  */
22 #define MINSIZE		(1UL << 4)
23 #define MINDELETED	4
24