about summary refs log blame commit diff
path: root/include/search.h
blob: 14d913a63ce68efa56c91ba4a58d8e3980883c1c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
                 
                        
                                          







                                                                  
      
#ifndef _SEARCH_H
#include <misc/search.h>

/* Now define the internal interfaces.  */
extern void __hdestroy (void);
extern void *__tsearch (__const void *__key, void **__rootp,
			__compar_fn_t compar);
extern void *__tfind (__const void *__key, void *__const *__rootp,
		      __compar_fn_t compar);
extern void *__tdelete (__const void *__key, void **__rootp,
			__compar_fn_t compar);
extern void __twalk (__const void *__root, __action_fn_t action);
extern void __tdestroy (void *__root, __free_fn_t freefct);
#endif