extern.h revision 61575
125537Sdfr/*-
259603Sdfr * Copyright (c) 1991, 1993, 1994
325537Sdfr *	The Regents of the University of California.  All rights reserved.
425537Sdfr *
525537Sdfr * Redistribution and use in source and binary forms, with or without
625537Sdfr * modification, are permitted provided that the following conditions
725537Sdfr * are met:
825537Sdfr * 1. Redistributions of source code must retain the above copyright
925537Sdfr *    notice, this list of conditions and the following disclaimer.
1025537Sdfr * 2. Redistributions in binary form must reproduce the above copyright
1125537Sdfr *    notice, this list of conditions and the following disclaimer in the
1225537Sdfr *    documentation and/or other materials provided with the distribution.
1325537Sdfr * 3. All advertising materials mentioning features or use of this software
1425537Sdfr *    must display the following acknowledgement:
1525537Sdfr *	This product includes software developed by the University of
1625537Sdfr *	California, Berkeley and its contributors.
1725537Sdfr * 4. Neither the name of the University nor the names of its contributors
1825537Sdfr *    may be used to endorse or promote products derived from this software
1925537Sdfr *    without specific prior written permission.
2025537Sdfr *
2125537Sdfr * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2225537Sdfr * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2325537Sdfr * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2425537Sdfr * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2525537Sdfr * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2650477Speter * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2725537Sdfr * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2825537Sdfr * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2925537Sdfr * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3025537Sdfr * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3125537Sdfr * SUCH DAMAGE.
3255205Speter *
3325537Sdfr *	@(#)extern.h	8.3 (Berkeley) 4/16/94
3440138Speter *	$FreeBSD: head/usr.bin/find/extern.h 61575 2000-06-12 11:12:41Z roberto $
3559603Sdfr */
3640138Speter
3732152Sbde#include <sys/cdefs.h>
3832152Sbde
3932152Sbdevoid	 brace_subst __P((char *, char **, char *, int));
4025537Sdfrvoid	*emalloc __P((unsigned int));
4194321SbrianPLAN	*find_create __P((char ***));
4294321Sbrianint	 find_execute __P((PLAN *, char **));
4325537SdfrPLAN	*find_formplan __P((char **));
4425537SdfrPLAN	*not_squish __P((PLAN *));
4525537SdfrPLAN	*or_squish __P((PLAN *));
4625537SdfrPLAN	*paren_squish __P((PLAN *));
4760938Sjakestruct stat;
4825537Sdfrvoid	 printlong __P((char *, char *, struct stat *));
4943301Sdillonint	 queryuser __P((char **));
5043301Sdillon
5185736SgreenPLAN	*c_amin __P((char *));
5238275SdfrPLAN	*c_atime __P((char *));
5338275SdfrPLAN	*c_cmin __P((char *));
5438275SdfrPLAN	*c_ctime __P((char *));
5538275SdfrPLAN	*c_delete __P((void));
5638275SdfrPLAN	*c_depth __P((void));
5738275SdfrPLAN	*c_exec __P((char ***, int));
5838275SdfrPLAN	*c_flags __P((char *));
5938275SdfrPLAN	*c_execdir __P((char ***));
6038275SdfrPLAN	*c_follow __P((void));
6138275Sdfr#if !defined(__NetBSD__)
62179223SjbPLAN	*c_fstype __P((char *));
63173714Sjb#endif
6425537SdfrPLAN	*c_group __P((char *));
6560938SjakePLAN	*c_inum __P((char *));
6625537SdfrPLAN	*c_links __P((char *));
6725537SdfrPLAN	*c_ls __P((void));
6825537SdfrPLAN	*c_name __P((char *));
6925537SdfrPLAN	*c_newer __P((char *));
7025537SdfrPLAN	*c_nogroup __P((void));
7159603SdfrPLAN	*c_nouser __P((void));
7225537SdfrPLAN	*c_path __P((char *));
7340138SpeterPLAN	*c_perm __P((char *));
7443185SdfrPLAN	*c_print __P((void));
7543185SdfrPLAN	*c_print0 __P((void));
7660938SjakePLAN	*c_prune __P((void));
7725537SdfrPLAN	*c_size __P((char *));
78172862SjbPLAN	*c_type __P((char *));
7925537SdfrPLAN	*c_user __P((char *));
8025537SdfrPLAN	*c_xdev __P((void));
8125537SdfrPLAN	*c_openparen __P((void));
8286469SiedowsePLAN	*c_closeparen __P((void));
8386469SiedowsePLAN	*c_maxdepth __P((char *));
8460938SjakePLAN	*c_mindepth __P((char *));
8560938SjakePLAN	*c_mmin __P((char *));
8660938SjakePLAN	*c_mtime __P((char *));
87172862SjbPLAN	*c_not __P((void));
88172862SjbPLAN	*c_or __P((void));
89172862Sjb
90172862Sjbextern int ftsoptions, isdeprecated, isdepth, isoutput, issort, isxargs;
91172862Sjbextern int mindepth, maxdepth;
92172862Sjb