2 * Written by J.T. Conklin <jtc@netbsd.org>
5 * $NetBSD: search.h,v 1.12 1999/02/22 10:34:28 christos Exp $
9 #define _rk_SEARCH_H_ 1
11 #ifndef ROKEN_LIB_FUNCTION
13 #define ROKEN_LIB_FUNCTION
14 #define ROKEN_LIB_CALL __cdecl
16 #define ROKEN_LIB_FUNCTION
17 #define ROKEN_LIB_CALL
21 #include <sys/cdefs.h>
22 #include <sys/types.h>
33 ROKEN_LIB_FUNCTION void * ROKEN_LIB_CALL rk_tdelete(const void * __restrict, void ** __restrict,
34 int (*)(const void *, const void *));
35 ROKEN_LIB_FUNCTION void * ROKEN_LIB_CALL rk_tfind(const void *, void * const *,
36 int (*)(const void *, const void *));
37 ROKEN_LIB_FUNCTION void * ROKEN_LIB_CALL rk_tsearch(const void *, void **, int (*)(const void *, const void *));
38 ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL rk_twalk(const void *, void (*)(const void *, VISIT, int));
42 #endif /* !_rk_SEARCH_H_ */