Home | History | Annotate | Line # | Download | only in fsck_lfs
extern.h revision 1.2
      1  1.2    kleink /*	$NetBSD: extern.h,v 1.2 1999/07/03 19:55:03 kleink Exp $	*/
      2  1.1  perseant 
      3  1.1  perseant /*
      4  1.1  perseant  * Copyright (c) 1994 James A. Jegers
      5  1.1  perseant  * All rights reserved.
      6  1.1  perseant  *
      7  1.1  perseant  * Redistribution and use in source and binary forms, with or without
      8  1.1  perseant  * modification, are permitted provided that the following conditions
      9  1.1  perseant  * are met:
     10  1.1  perseant  * 1. Redistributions of source code must retain the above copyright
     11  1.1  perseant  *    notice, this list of conditions and the following disclaimer.
     12  1.1  perseant  * 2. The name of the author may not be used to endorse or promote products
     13  1.1  perseant  *    derived from this software without specific prior written permission
     14  1.1  perseant  *
     15  1.1  perseant  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
     16  1.1  perseant  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
     17  1.1  perseant  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     18  1.1  perseant  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
     19  1.1  perseant  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
     20  1.1  perseant  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     21  1.1  perseant  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     22  1.1  perseant  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     23  1.1  perseant  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
     24  1.1  perseant  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     25  1.1  perseant  */
     26  1.1  perseant 
     27  1.1  perseant void	adjust __P((struct inodesc *, short));
     28  1.1  perseant int	allocblk __P((long));
     29  1.1  perseant int	allocdir __P((ino_t, ino_t, int));
     30  1.1  perseant void	blkerror __P((ino_t, char *, daddr_t));
     31  1.1  perseant int	bread __P((int, char *, daddr_t, long));
     32  1.1  perseant void	bufinit __P((void));
     33  1.1  perseant void	bwrite __P((int, char *, daddr_t, long));
     34  1.1  perseant void	cacheino __P((struct dinode *, ino_t));
     35  1.1  perseant int	changeino __P((ino_t, char *, ino_t));
     36  1.1  perseant struct	fstab;
     37  1.1  perseant int	chkrange __P((daddr_t, int));
     38  1.1  perseant void	ckfini __P((int));
     39  1.1  perseant int	ckinode __P((struct dinode *, struct inodesc *));
     40  1.1  perseant void	clri __P((struct inodesc *, char *, int));
     41  1.1  perseant int	dircheck __P((struct inodesc *, struct direct *));
     42  1.1  perseant void	direrror __P((ino_t, char *));
     43  1.1  perseant int	dirscan __P((struct inodesc *));
     44  1.1  perseant int	dofix __P((struct inodesc *, char *));
     45  1.1  perseant void	fileerror __P((ino_t, ino_t, char *));
     46  1.1  perseant int	findino __P((struct inodesc *));
     47  1.1  perseant int	findname __P((struct inodesc *));
     48  1.1  perseant void	flush __P((int, struct bufarea *));
     49  1.1  perseant void	freeblk __P((daddr_t, long));
     50  1.1  perseant void	freeino __P((ino_t));
     51  1.1  perseant void	freeinodebuf __P((void));
     52  1.1  perseant int	ftypeok __P((struct dinode *));
     53  1.1  perseant void	getpathname __P((char *, ino_t, ino_t));
     54  1.1  perseant void	inocleanup __P((void));
     55  1.1  perseant void	inodirty __P((void));
     56  1.1  perseant int	linkup __P((ino_t, ino_t));
     57  1.1  perseant int	makeentry __P((ino_t, ino_t, char *));
     58  1.1  perseant void    pass0 __P((void));
     59  1.1  perseant void	pass1 __P((void));
     60  1.1  perseant void	pass1b __P((void));
     61  1.1  perseant void	pass2 __P((void));
     62  1.1  perseant void	pass3 __P((void));
     63  1.1  perseant void	pass4 __P((void));
     64  1.1  perseant int	pass1check __P((struct inodesc *));
     65  1.1  perseant int	pass4check __P((struct inodesc *));
     66  1.1  perseant void	pass5 __P((void));
     67  1.1  perseant void	pinode __P((ino_t));
     68  1.1  perseant void	propagate __P((void));
     69  1.1  perseant int	reply __P((char *));
     70  1.1  perseant void	resetinodebuf __P((void));
     71  1.1  perseant int	setup __P((const char *));
     72  1.1  perseant struct	dinode * getnextinode __P((ino_t));
     73  1.1  perseant void	catch __P((int));
     74  1.1  perseant void	catchquit __P((int));
     75  1.1  perseant void	voidquit __P((int));
     76