.
[glibc/history.git] / include / search.h
blobe82f02832be0278d68c39c576a9bdd89f9254780
1 #ifndef _SEARCH_H
2 #include <misc/search.h>
4 libc_hidden_proto (hcreate_r)
5 libc_hidden_proto (hdestroy_r)
6 libc_hidden_proto (hsearch_r)
7 libc_hidden_proto (lfind)
9 /* Now define the internal interfaces. */
10 extern void __hdestroy (void);
11 extern void *__tsearch (__const void *__key, void **__rootp,
12 __compar_fn_t compar);
13 extern void *__tfind (__const void *__key, void *__const *__rootp,
14 __compar_fn_t compar);
15 extern void *__tdelete (__const void *__key, void **__rootp,
16 __compar_fn_t compar);
17 extern void __twalk (__const void *__root, __action_fn_t action);
18 extern void __tdestroy (void *__root, __free_fn_t freefct);
19 #endif