From e2641e09cc0daf44f63f654230f72d22acf3a9af Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 22 Jun 2010 00:07:48 +0200 Subject: redis.c split into many different C files. networking related stuff moved into networking.c moved more code more work on layout of source code SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;) cleanly compiling again after the first split, now splitting it in more C files moving more things around... work in progress split replication code splitting more Sets split Hash split replication split even more splitting more splitting minor change --- src/pqsort.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/pqsort.h (limited to 'src/pqsort.h') diff --git a/src/pqsort.h b/src/pqsort.h new file mode 100644 index 000000000..5054d5209 --- /dev/null +++ b/src/pqsort.h @@ -0,0 +1,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 -- cgit v1.2.1