Make build-many-glibcs.py re-exec itself if changed by checkout.
[glibc.git] / include / search.h
bloba941959dbebbc611407c255a2bd7f5ee269e492c
1 #ifndef _SEARCH_H
2 #include <misc/search.h>
4 #ifndef _ISOMAC
5 extern __typeof (hcreate_r) __hcreate_r;
6 libc_hidden_proto (__hcreate_r)
7 extern __typeof (hdestroy_r) __hdestroy_r;
8 libc_hidden_proto (__hdestroy_r)
9 extern __typeof (hsearch_r) __hsearch_r;
10 libc_hidden_proto (__hsearch_r)
11 libc_hidden_proto (lfind)
13 /* Now define the internal interfaces. */
14 extern void __hdestroy (void);
15 extern void *__tsearch (const void *__key, void **__rootp,
16 __compar_fn_t compar);
17 libc_hidden_proto (__tsearch)
18 extern void *__tfind (const void *__key, void *const *__rootp,
19 __compar_fn_t compar);
20 libc_hidden_proto (__tfind)
21 extern void *__tdelete (const void *__key, void **__rootp,
22 __compar_fn_t compar);
23 libc_hidden_proto (__tdelete)
24 extern void __twalk (const void *__root, __action_fn_t action);
25 libc_hidden_proto (__twalk)
26 extern void __tdestroy (void *__root, __free_fn_t freefct);
27 #endif
28 #endif