]> git.saurik.com Git - redis.git/blame - pqsort.h
Merge branch 'lists' of git://github.com/pietern/redis
[redis.git] / pqsort.h
CommitLineData
75fd597d 1/* The following is the NetBSD libc qsort implementation modified in order to
2 * support partial sorting of ranges for Redis.
3 *
12d090d2 4 * Copyright(C) 2009-2010 Salvatore Sanfilippo. All rights reserved.
75fd597d 5 *
6 * See the pqsort.c file for the original copyright notice. */
7
8#ifndef __PQSORT_H
9#define __PQSORT_H
10
11void
12pqsort(void *a, size_t n, size_t es,
5cf5fa65 13 int (*cmp) (const void *, const void *), size_t lrange, size_t rrange);
75fd597d 14
15#endif