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