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