]> git.ipfire.org Git - thirdparty/glibc.git/blame - include/search.h
Remove pre-ISO C support
[thirdparty/glibc.git] / include / search.h
CommitLineData
6796bc80 1#ifndef _SEARCH_H
60478656 2#include <misc/search.h>
bdbf022d 3
a14f26ef
RM
4libc_hidden_proto (hcreate_r)
5libc_hidden_proto (hdestroy_r)
509d1b68
RM
6libc_hidden_proto (hsearch_r)
7libc_hidden_proto (lfind)
8
bdbf022d 9/* Now define the internal interfaces. */
aaa8d85c 10extern void __hdestroy (void);
a784e502 11extern void *__tsearch (const void *__key, void **__rootp,
aaa8d85c 12 __compar_fn_t compar);
a784e502 13extern void *__tfind (const void *__key, void *const *__rootp,
aaa8d85c 14 __compar_fn_t compar);
a784e502 15extern void *__tdelete (const void *__key, void **__rootp,
aaa8d85c 16 __compar_fn_t compar);
a784e502 17extern void __twalk (const void *__root, __action_fn_t action);
aaa8d85c 18extern void __tdestroy (void *__root, __free_fn_t freefct);
6796bc80 19#endif