xref: /openbsd/usr.bin/sort/radixsort.h (revision 79428148)
1*79428148Smillert /*	$OpenBSD: radixsort.h,v 1.1 2015/03/17 17:45:13 millert Exp $	*/
2*79428148Smillert 
3*79428148Smillert /*-
4*79428148Smillert  * Copyright (C) 2012 Oleg Moskalenko <mom040267@gmail.com>
5*79428148Smillert  * Copyright (C) 2012 Gabor Kovesdan <gabor@FreeBSD.org>
6*79428148Smillert  * All rights reserved.
7*79428148Smillert  *
8*79428148Smillert  * Redistribution and use in source and binary forms, with or without
9*79428148Smillert  * modification, are permitted provided that the following conditions
10*79428148Smillert  * are met:
11*79428148Smillert  * 1. Redistributions of source code must retain the above copyright
12*79428148Smillert  *    notice, this list of conditions and the following disclaimer.
13*79428148Smillert  * 2. Redistributions in binary form must reproduce the above copyright
14*79428148Smillert  *    notice, this list of conditions and the following disclaimer in the
15*79428148Smillert  *    documentation and/or other materials provided with the distribution.
16*79428148Smillert  *
17*79428148Smillert  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18*79428148Smillert  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19*79428148Smillert  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20*79428148Smillert  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21*79428148Smillert  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22*79428148Smillert  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23*79428148Smillert  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24*79428148Smillert  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25*79428148Smillert  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26*79428148Smillert  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27*79428148Smillert  * SUCH DAMAGE.
28*79428148Smillert  */
29*79428148Smillert 
30*79428148Smillert #if !defined(__SORT_RADIX_H__)
31*79428148Smillert #define	__SORT_RADIX_H__
32*79428148Smillert 
33*79428148Smillert #include "coll.h"
34*79428148Smillert #include "sort.h"
35*79428148Smillert 
36*79428148Smillert void rxsort(struct sort_list_item **base, size_t nmemb);
37*79428148Smillert 
38*79428148Smillert #endif /* __SORT_RADIX_H__ */
39