1*b7ef8cfbSLionel Sambuc /* $NetBSD: extern.h,v 1.17 2011/08/29 14:44:21 joerg Exp $ */ 2*b7ef8cfbSLionel Sambuc 3*b7ef8cfbSLionel Sambuc /*- 4*b7ef8cfbSLionel Sambuc * Copyright (c) 1991, 1993 5*b7ef8cfbSLionel Sambuc * The Regents of the University of California. All rights reserved. 6*b7ef8cfbSLionel Sambuc * 7*b7ef8cfbSLionel Sambuc * Redistribution and use in source and binary forms, with or without 8*b7ef8cfbSLionel Sambuc * modification, are permitted provided that the following conditions 9*b7ef8cfbSLionel Sambuc * are met: 10*b7ef8cfbSLionel Sambuc * 1. Redistributions of source code must retain the above copyright 11*b7ef8cfbSLionel Sambuc * notice, this list of conditions and the following disclaimer. 12*b7ef8cfbSLionel Sambuc * 2. Redistributions in binary form must reproduce the above copyright 13*b7ef8cfbSLionel Sambuc * notice, this list of conditions and the following disclaimer in the 14*b7ef8cfbSLionel Sambuc * documentation and/or other materials provided with the distribution. 15*b7ef8cfbSLionel Sambuc * 3. Neither the name of the University nor the names of its contributors 16*b7ef8cfbSLionel Sambuc * may be used to endorse or promote products derived from this software 17*b7ef8cfbSLionel Sambuc * without specific prior written permission. 18*b7ef8cfbSLionel Sambuc * 19*b7ef8cfbSLionel Sambuc * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 20*b7ef8cfbSLionel Sambuc * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21*b7ef8cfbSLionel Sambuc * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22*b7ef8cfbSLionel Sambuc * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 23*b7ef8cfbSLionel Sambuc * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24*b7ef8cfbSLionel Sambuc * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25*b7ef8cfbSLionel Sambuc * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26*b7ef8cfbSLionel Sambuc * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27*b7ef8cfbSLionel Sambuc * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28*b7ef8cfbSLionel Sambuc * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29*b7ef8cfbSLionel Sambuc * SUCH DAMAGE. 30*b7ef8cfbSLionel Sambuc * 31*b7ef8cfbSLionel Sambuc * @(#)extern.h 8.1 (Berkeley) 5/31/93 32*b7ef8cfbSLionel Sambuc */ 33*b7ef8cfbSLionel Sambuc 34*b7ef8cfbSLionel Sambuc int acccmp(const FTSENT *, const FTSENT *); 35*b7ef8cfbSLionel Sambuc int revacccmp(const FTSENT *, const FTSENT *); 36*b7ef8cfbSLionel Sambuc int modcmp(const FTSENT *, const FTSENT *); 37*b7ef8cfbSLionel Sambuc int revmodcmp(const FTSENT *, const FTSENT *); 38*b7ef8cfbSLionel Sambuc int namecmp(const FTSENT *, const FTSENT *); 39*b7ef8cfbSLionel Sambuc int revnamecmp(const FTSENT *, const FTSENT *); 40*b7ef8cfbSLionel Sambuc int statcmp(const FTSENT *, const FTSENT *); 41*b7ef8cfbSLionel Sambuc int revstatcmp(const FTSENT *, const FTSENT *); 42*b7ef8cfbSLionel Sambuc int sizecmp(const FTSENT *, const FTSENT *); 43*b7ef8cfbSLionel Sambuc int revsizecmp(const FTSENT *, const FTSENT *); 44*b7ef8cfbSLionel Sambuc 45*b7ef8cfbSLionel Sambuc int ls_main(int, char *[]); 46*b7ef8cfbSLionel Sambuc 47*b7ef8cfbSLionel Sambuc int printescaped(const char *); 48*b7ef8cfbSLionel Sambuc void printacol(DISPLAY *); 49*b7ef8cfbSLionel Sambuc void printcol(DISPLAY *); 50*b7ef8cfbSLionel Sambuc void printlong(DISPLAY *); 51*b7ef8cfbSLionel Sambuc void printscol(DISPLAY *); 52*b7ef8cfbSLionel Sambuc void printstream(DISPLAY *); 53*b7ef8cfbSLionel Sambuc int safe_print(const char *); 54