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