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