support/tst-test_compare: Fix 32-bit/64-bit expected output mismatch
[glibc.git] / include / search.h
blobe17693022d947a43f8d4bfc050f91ffaabe45dd9
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 libc_hidden_proto (__tdestroy)
28 #endif
29 #endif