Back to index

glibc  2.9
search.h
Go to the documentation of this file.
00001 #ifndef _SEARCH_H
00002 #include <misc/search.h>
00003 
00004 libc_hidden_proto (hcreate_r)
00005 libc_hidden_proto (hdestroy_r)
00006 libc_hidden_proto (hsearch_r)
00007 libc_hidden_proto (lfind)
00008 
00009 /* Now define the internal interfaces.  */
00010 extern void __hdestroy (void);
00011 extern void *__tsearch (__const void *__key, void **__rootp,
00012                      __compar_fn_t compar);
00013 extern void *__tfind (__const void *__key, void *__const *__rootp,
00014                     __compar_fn_t compar);
00015 extern void *__tdelete (__const void *__key, void **__rootp,
00016                      __compar_fn_t compar);
00017 extern void __twalk (__const void *__root, __action_fn_t action);
00018 extern void __tdestroy (void *__root, __free_fn_t freefct);
00019 #endif