Lines Matching refs:ohash
1 /* $OpenBSD: src/lib/libutil/ohash.h,v 1.2 2014/06/02 18:52:03 deraadt Exp $ */
17 * $FreeBSD: releng/11.0/lib/libopenbsd/ohash.h 288629 2015-10-03 20:06:50Z bdrewery $
42 struct ohash {
57 void ohash_init(struct ohash *, unsigned, struct ohash_info *);
58 void ohash_delete(struct ohash *);
60 unsigned int ohash_lookup_interval(struct ohash *, const char *,
62 unsigned int ohash_lookup_memory(struct ohash *, const char *,
64 void *ohash_find(struct ohash *, unsigned int);
65 void *ohash_remove(struct ohash *, unsigned int);
66 void *ohash_insert(struct ohash *, unsigned int, void *);
67 void *ohash_first(struct ohash *, unsigned int *);
68 void *ohash_next(struct ohash *, unsigned int *);
69 unsigned int ohash_entries(struct ohash *);
74 unsigned int ohash_qlookupi(struct ohash *, const char *, const char **);
75 unsigned int ohash_qlookup(struct ohash *, const char *);