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