Files
glibc/include/search.h
T

32 lines
1001 B
C
Raw Normal View History

1998-09-06 23:45:24 +00:00
#ifndef _SEARCH_H
#include <misc/search.h>
1998-08-09 17:39:48 +00:00
#ifndef _ISOMAC
2015-02-18 18:47:34 +00:00
extern __typeof (hcreate_r) __hcreate_r;
libc_hidden_proto (__hcreate_r)
extern __typeof (hdestroy_r) __hdestroy_r;
libc_hidden_proto (__hdestroy_r)
extern __typeof (hsearch_r) __hsearch_r;
libc_hidden_proto (__hsearch_r)
libc_hidden_proto (lfind)
1998-08-09 17:39:48 +00:00
/* Now define the internal interfaces. */
1999-11-23 17:31:31 +00:00
extern void __hdestroy (void);
2012-01-07 23:57:22 -05:00
extern void *__tsearch (const void *__key, void **__rootp,
1999-11-23 17:31:31 +00:00
__compar_fn_t compar);
libc_hidden_proto (__tsearch)
2012-01-07 23:57:22 -05:00
extern void *__tfind (const void *__key, void *const *__rootp,
1999-11-23 17:31:31 +00:00
__compar_fn_t compar);
libc_hidden_proto (__tfind)
2012-01-07 23:57:22 -05:00
extern void *__tdelete (const void *__key, void **__rootp,
1999-11-23 17:31:31 +00:00
__compar_fn_t compar);
libc_hidden_proto (__tdelete)
2012-01-07 23:57:22 -05:00
extern void __twalk (const void *__root, __action_fn_t action);
libc_hidden_proto (__twalk)
2019-05-02 11:42:51 +02:00
extern __typeof__ (twalk_r) __twalk_r;
libc_hidden_proto (__twalk_r)
1999-11-23 17:31:31 +00:00
extern void __tdestroy (void *__root, __free_fn_t freefct);
libc_hidden_proto (__tdestroy)
1998-09-06 23:45:24 +00:00
#endif
#endif