search.h (102227) | search.h (103012) |
---|---|
1/* $NetBSD: search.h,v 1.12 1999/02/22 10:34:28 christos Exp $ */ | 1/* $NetBSD: search.h,v 1.12 1999/02/22 10:34:28 christos Exp $ */ |
2/* $FreeBSD: head/include/search.h 102227 2002-08-21 16:20:02Z mike $ */ | 2/* $FreeBSD: head/include/search.h 103012 2002-09-06 11:24:06Z tjr $ */ |
3 4/* 5 * Written by J.T. Conklin <jtc@netbsd.org> 6 * Public domain. 7 */ 8 9#ifndef _SEARCH_H_ 10#define _SEARCH_H_ --- 28 unchanged lines hidden (view full) --- 39 struct node *llink, *rlink; 40} node_t; 41#endif 42 43__BEGIN_DECLS 44int hcreate(size_t); 45void hdestroy(void); 46ENTRY *hsearch(ENTRY, ACTION); | 3 4/* 5 * Written by J.T. Conklin <jtc@netbsd.org> 6 * Public domain. 7 */ 8 9#ifndef _SEARCH_H_ 10#define _SEARCH_H_ --- 28 unchanged lines hidden (view full) --- 39 struct node *llink, *rlink; 40} node_t; 41#endif 42 43__BEGIN_DECLS 44int hcreate(size_t); 45void hdestroy(void); 46ENTRY *hsearch(ENTRY, ACTION); |
47void *tdelete(const void *__restrict, void **__restrict, | 47void *tdelete(const void * __restrict, void ** __restrict, |
48 int (*)(const void *, const void *)); 49void *tfind(const void *, void **, int (*)(const void *, const void *)); 50void *tsearch(const void *, void **, int (*)(const void *, const void *)); 51void twalk(const void *, void (*)(const void *, VISIT, int)); 52__END_DECLS 53 54#endif /* !_SEARCH_H_ */ | 48 int (*)(const void *, const void *)); 49void *tfind(const void *, void **, int (*)(const void *, const void *)); 50void *tsearch(const void *, void **, int (*)(const void *, const void *)); 51void twalk(const void *, void (*)(const void *, VISIT, int)); 52__END_DECLS 53 54#endif /* !_SEARCH_H_ */ |