11553Srgrimes/*- 21553Srgrimes * Copyright (c) 1991, 1993 31553Srgrimes * The Regents of the University of California. All rights reserved. 41553Srgrimes * 51553Srgrimes * Redistribution and use in source and binary forms, with or without 61553Srgrimes * modification, are permitted provided that the following conditions 71553Srgrimes * are met: 81553Srgrimes * 1. Redistributions of source code must retain the above copyright 91553Srgrimes * notice, this list of conditions and the following disclaimer. 101553Srgrimes * 2. Redistributions in binary form must reproduce the above copyright 111553Srgrimes * notice, this list of conditions and the following disclaimer in the 121553Srgrimes * documentation and/or other materials provided with the distribution. 13121300Sphk * 3. Neither the name of the University nor the names of its contributors 141553Srgrimes * may be used to endorse or promote products derived from this software 151553Srgrimes * without specific prior written permission. 161553Srgrimes * 171553Srgrimes * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 181553Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 191553Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 201553Srgrimes * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 211553Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 221553Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 231553Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 241553Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 251553Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 261553Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 271553Srgrimes * SUCH DAMAGE. 281553Srgrimes * 291553Srgrimes * @(#)extern.h 8.1 (Berkeley) 6/6/93 3054375Sjoe * $FreeBSD$ 311553Srgrimes */ 32112214Srobertextern uint32_t crc_total; 331553Srgrimes 34122141Sphk#ifdef _FTS_H_ 3599800Salfredint compare(char *, NODE *, FTSENT *); 36122141Sphk#endif 37112214Srobertint crc(int, uint32_t *, off_t *); 3899800Salfredvoid cwalk(void); 3999800Salfredchar *flags_to_string(u_long); 4054375Sjoe 4199802Salfredconst char *inotype(u_int); 4299800Salfredu_int parsekey(char *, int *); 4399800Salfredchar *rlink(char *); 44122135SphkNODE *mtree_readspec(FILE *fi); 45122135Sphkint mtree_verifyspec(FILE *fi); 46122141Sphkint mtree_specspec(FILE *fi, FILE *fj); 4760418Swollman 4899800Salfredint check_excludes(const char *, const char *); 4999800Salfredvoid init_excludes(void); 5099800Salfredvoid read_excludes_file(const char *); 51122141Sphkconst char * ftype(u_int type); 52124387Sphk 53124387Sphkextern int ftsoptions; 54124387Sphkextern u_int keys; 55124387Sphkextern int lineno; 56124389Sphkextern int dflag, eflag, iflag, nflag, qflag, rflag, sflag, uflag, wflag; 57124387Sphk#ifdef MAXPATHLEN 58124387Sphkextern char fullpath[MAXPATHLEN]; 59124387Sphk#endif 60