]> git.ipfire.org Git - thirdparty/glibc.git/blame - include/search.h
Correct range checking in mallopt/mxfast/tcache [BZ #25194]
[thirdparty/glibc.git] / include / search.h
CommitLineData
6796bc80 1#ifndef _SEARCH_H
60478656 2#include <misc/search.h>
bdbf022d 3
31341567 4#ifndef _ISOMAC
4ffb1771
JM
5extern __typeof (hcreate_r) __hcreate_r;
6libc_hidden_proto (__hcreate_r)
7extern __typeof (hdestroy_r) __hdestroy_r;
8libc_hidden_proto (__hdestroy_r)
9extern __typeof (hsearch_r) __hsearch_r;
10libc_hidden_proto (__hsearch_r)
509d1b68
RM
11libc_hidden_proto (lfind)
12
bdbf022d 13/* Now define the internal interfaces. */
aaa8d85c 14extern void __hdestroy (void);
a784e502 15extern void *__tsearch (const void *__key, void **__rootp,
aaa8d85c 16 __compar_fn_t compar);
d051b143 17libc_hidden_proto (__tsearch)
a784e502 18extern void *__tfind (const void *__key, void *const *__rootp,
aaa8d85c 19 __compar_fn_t compar);
d051b143 20libc_hidden_proto (__tfind)
a784e502 21extern void *__tdelete (const void *__key, void **__rootp,
aaa8d85c 22 __compar_fn_t compar);
d051b143 23libc_hidden_proto (__tdelete)
a784e502 24extern void __twalk (const void *__root, __action_fn_t action);
d051b143 25libc_hidden_proto (__twalk)
7b807a35
FW
26extern __typeof__ (twalk_r) __twalk_r;
27libc_hidden_proto (__twalk_r)
aaa8d85c 28extern void __tdestroy (void *__root, __free_fn_t freefct);
fe84fed0 29libc_hidden_proto (__tdestroy)
6796bc80 30#endif
31341567 31#endif