(output_hostent): Don't crash if h_aliases is NULL.
[glibc.git] / include / search.h
blob2b4c63ba532274c5bed629bd75defdbd1f59d14e
1 #ifndef _SEARCH_H
2 #include <misc/search.h>
4 /* Now define the internal interfaces. */
5 extern void __hdestroy __P ((void));
6 extern void *__tsearch __PMT ((__const void *__key, void **__rootp,
7 __compar_fn_t compar));
8 extern void *__tfind __PMT ((__const void *__key, void *__const *__rootp,
9 __compar_fn_t compar));
10 extern void *__tdelete __PMT ((__const void *__key, void **__rootp,
11 __compar_fn_t compar));
12 extern void __twalk __PMT ((__const void *__root, __action_fn_t action));
13 extern void __tdestroy __PMT ((void *__root, __free_fn_t freefct));
14 #endif