Subversion Repositories Kolibri OS

Rev

Rev 4874 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4874 Rev 4921
Line 40... Line 40...
40
{
40
{
41
  struct internal_head *htable;
41
  struct internal_head *htable;
42
  size_t htablesize;
42
  size_t htablesize;
43
};
43
};
Line -... Line 44...
-
 
44
 
-
 
45
#ifndef __compar_fn_t_defined
-
 
46
#define __compar_fn_t_defined
-
 
47
typedef int (*__compar_fn_t) (const void *, const void *);
-
 
48
#endif
44
 
49
 
45
__BEGIN_DECLS
50
__BEGIN_DECLS
46
int	 hcreate(size_t);
51
int	 hcreate(size_t);
47
void	 hdestroy(void);
52
void	 hdestroy(void);
48
ENTRY	*hsearch(ENTRY, ACTION);
53
ENTRY	*hsearch(ENTRY, ACTION);
49
int	 hcreate_r(size_t, struct hsearch_data *);
54
int	 hcreate_r(size_t, struct hsearch_data *);
50
void	 hdestroy_r(struct hsearch_data *);
55
void	 hdestroy_r(struct hsearch_data *);
51
int	hsearch_r(ENTRY, ACTION, ENTRY **, struct hsearch_data *);
56
int	hsearch_r(ENTRY, ACTION, ENTRY **, struct hsearch_data *);
52
void	*tdelete(const void *, void **, int (*)(const void *, const void *));
57
void	*tdelete(const void *__restrict, void **__restrict, __compar_fn_t);
53
void	tdestroy (void *, void (*)(void *));
58
void	tdestroy (void *, void (*)(void *));
54
void	*tfind(const void *, void **, int (*)(const void *, const void *));
59
void	*tfind(const void *, void **, __compar_fn_t);
55
void	*tsearch(const void *, void **, int (*)(const void *, const void *));
60
void	*tsearch(const void *, void **, __compar_fn_t);
56
void      twalk(const void *, void (*)(const void *, VISIT, int));
61
void      twalk(const void *, void (*)(const void *, VISIT, int));
Line 57... Line 62...
57
__END_DECLS
62
__END_DECLS