summaryrefslogtreecommitdiffstats
path: root/debian/htdig/htdig-3.2.0b6/htlib/myqsort.h
blob: 415324f657fdc884d17963603b0cc97a3be9366e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Part of the ht://Dig package   <http://www.htdig.org/>
 * Copyright (c) 1999-2004 The ht://Dig Group
 * For copyright details, see the file COPYING in your distribution
 * or the GNU Library General Public License (LGPL) version 2 or later 
 * <http://www.gnu.org/copyleft/lgpl.html>
 */
#ifndef _myqsort_h
#define _myqsort_h

#ifdef __cplusplus
extern "C" {
#endif

typedef int (*myqsort_cmp)(void *data, void *a, void *b);

void myqsort(void *const pbase, size_t total_elems, size_t size, myqsort_cmp cmp, void *data);

#ifdef __cplusplus
}
#endif

#endif /* _myqsort_h */