summaryrefslogtreecommitdiff
path: root/src/pqsort.h
blob: 5054d5209ac70eacfd08bcabb8c072c0fec3f605 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* The following is the NetBSD libc qsort implementation modified in order to
 * support partial sorting of ranges for Redis.
 *
 * Copyright(C) 2009-2010 Salvatore Sanfilippo. All rights reserved.
 *
 * See the pqsort.c file for the original copyright notice. */

#ifndef __PQSORT_H
#define __PQSORT_H

void
pqsort(void *a, size_t n, size_t es,
    int (*cmp) (const void *, const void *), size_t lrange, size_t rrange);

#endif