cctools
mergesort.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2009- The University of Notre Dame
3 This software is distributed under the GNU General Public License.
4 See the file COPYING for details.
5 */
6 
7 #ifndef MERGESORT_H
8 #define MERGESORT_H
9 
15 #include "list.h"
16 
17 typedef int (*cmp_op_t) (const void *, const void *);
18 
28 void mergesort_list(struct list *lst, cmp_op_t cmp);
29 
30 #endif
Double-linked non-intrusive list.
void mergesort_list(struct list *lst, cmp_op_t cmp)
Sort linked list using MergeSort.
Definition: list.h:49