Deleted Added
full compact
search.h (62780) search.h (93032)
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 62780 2000-07-07 16:52:24Z alfred $ */
2/* $FreeBSD: head/include/search.h 93032 2002-03-23 17:24:55Z imp $ */
3
4/*
5 * Written by J.T. Conklin <jtc@netbsd.org>
6 * Public domain.
7 */
8
9#ifndef _SEARCH_H_
10#define _SEARCH_H_

--- 25 unchanged lines hidden (view full) ---

36#ifdef _SEARCH_PRIVATE
37typedef struct node {
38 char *key;
39 struct node *llink, *rlink;
40} node_t;
41#endif
42
43__BEGIN_DECLS
3
4/*
5 * Written by J.T. Conklin <jtc@netbsd.org>
6 * Public domain.
7 */
8
9#ifndef _SEARCH_H_
10#define _SEARCH_H_

--- 25 unchanged lines hidden (view full) ---

36#ifdef _SEARCH_PRIVATE
37typedef struct node {
38 char *key;
39 struct node *llink, *rlink;
40} node_t;
41#endif
42
43__BEGIN_DECLS
44int hcreate __P((size_t));
45void hdestroy __P((void));
46ENTRY *hsearch __P((ENTRY, ACTION));
47void *tdelete __P((const void *, void **,
48 int (*)(const void *, const void *)));
49void *tfind __P((const void *, void **,
50 int (*)(const void *, const void *)));
51void *tsearch __P((const void *, void **,
52 int (*)(const void *, const void *)));
53void twalk __P((const void *, void (*)(const void *, VISIT, int)));
44int hcreate(size_t);
45void hdestroy(void);
46ENTRY *hsearch(ENTRY, ACTION);
47void *tdelete(const void *, void **, int (*)(const void *, const void *));
48void *tfind(const void *, void **, int (*)(const void *, const void *));
49void *tsearch(const void *, void **, int (*)(const void *, const void *));
50void twalk(const void *, void (*)(const void *, VISIT, int));
54__END_DECLS
55
56#endif /* !_SEARCH_H_ */
51__END_DECLS
52
53#endif /* !_SEARCH_H_ */