(root)/
glibc-2.38/
include/
search.h
       1  #ifndef _SEARCH_H
       2  #include <misc/search.h>
       3  
       4  #ifndef _ISOMAC
       5  extern __typeof (hcreate_r) __hcreate_r;
       6  libc_hidden_proto (__hcreate_r)
       7  extern __typeof (hdestroy_r) __hdestroy_r;
       8  libc_hidden_proto (__hdestroy_r)
       9  extern __typeof (hsearch_r) __hsearch_r;
      10  libc_hidden_proto (__hsearch_r)
      11  libc_hidden_proto (lfind)
      12  
      13  /* Now define the internal interfaces.  */
      14  extern void __hdestroy (void);
      15  extern void *__tsearch (const void *__key, void **__rootp,
      16  			__compar_fn_t compar);
      17  libc_hidden_proto (__tsearch)
      18  extern void *__tfind (const void *__key, void *const *__rootp,
      19  		      __compar_fn_t compar);
      20  libc_hidden_proto (__tfind)
      21  extern void *__tdelete (const void *__key, void **__rootp,
      22  			__compar_fn_t compar);
      23  libc_hidden_proto (__tdelete)
      24  extern void __twalk (const void *__root, __action_fn_t action);
      25  libc_hidden_proto (__twalk)
      26  extern __typeof__ (twalk_r) __twalk_r;
      27  libc_hidden_proto (__twalk_r)
      28  extern void __tdestroy (void *__root, __free_fn_t freefct);
      29  libc_hidden_proto (__tdestroy)
      30  #endif
      31  #endif