aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/tsearch.h
blob: c6d873b490126b52675aef7d1aa52354bbf09dd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*-
 * Written by J.T. Conklin <jtc@netbsd.org>
 * Public domain.
 *
 *	$NetBSD: search.h,v 1.12 1999/02/22 10:34:28 christos Exp $
 */

#ifndef _TSEARCH_H_
#define _TSEARCH_H_

#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */

void    *tdelete (const void *, void **,
                  int (*)(const void *, const void *));

void    *tfind (const void *, void * const *,
                int (*)(const void *, const void *));

void    *tsearch (const void *, void **,
                  int (*)(const void *, const void *));

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* !_TSEARCH_H_ */