Lines Matching refs:ohash
1 /* $OpenBSD: ohash.h,v 1.2 2014/06/02 18:52:03 deraadt Exp $ */
38 struct ohash {
52 void ohash_init(struct ohash *, unsigned, struct ohash_info *);
53 void ohash_delete(struct ohash *);
55 unsigned int ohash_lookup_interval(struct ohash *, const char *,
57 unsigned int ohash_lookup_memory(struct ohash *, const char *,
59 void *ohash_find(struct ohash *, unsigned int);
60 void *ohash_remove(struct ohash *, unsigned int);
61 void *ohash_insert(struct ohash *, unsigned int, void *);
62 void *ohash_first(struct ohash *, unsigned int *);
63 void *ohash_next(struct ohash *, unsigned int *);
64 unsigned int ohash_entries(struct ohash *);
69 unsigned int ohash_qlookupi(struct ohash *, const char *, const char **);
70 unsigned int ohash_qlookup(struct ohash *, const char *);