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