about summary refs log tree commit diff
path: root/include/search.h
blob: 05dc75aee98f65a831d4c4c592990b15484daf0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <misc/search.h>

/* Now define the internal interfaces.  */
extern void __hdestroy __P ((void));
extern void *__tsearch __PMT ((__const void *__key, void **__rootp,
			       __compar_fn_t compar));
extern void *__tfind __PMT ((__const void *__key, void *__const *__rootp,
			     __compar_fn_t compar));
extern void *__tdelete __PMT ((__const void *__key, void **__rootp,
			       __compar_fn_t compar));
extern void __twalk __PMT ((__const void *__root, __action_fn_t action));
extern void __tdestroy __PMT ((void *__root, __free_fn_t freefct));