00001 /* 00002 * Part of the ht://Dig package <http://www.htdig.org/> 00003 * Copyright (c) 1999, 2000, 2001 The ht://Dig Group 00004 * For copyright details, see the file COPYING in your distribution 00005 * or the GNU General Public License version 2 or later 00006 * <http://www.gnu.org/copyleft/gpl.html> 00007 */ 00008 #ifndef _myqsort_h 00009 #define _myqsort_h 00010 00011 #ifdef __cplusplus 00012 extern "C" { 00013 #endif 00014 00015 typedef int (*myqsort_cmp)(void *data, void *a, void *b); 00016 00017 void myqsort(void *const pbase, size_t total_elems, size_t size, myqsort_cmp cmp, void *data); 00018 00019 #ifdef __cplusplus 00020 } 00021 #endif 00022 00023 #endif /* _myqsort_h */