mfs_extern.h revision 1.1
11.1Smycroft/*-
21.1Smycroft * Copyright (c) 1991, 1993
31.1Smycroft *	The Regents of the University of California.  All rights reserved.
41.1Smycroft *
51.1Smycroft * Redistribution and use in source and binary forms, with or without
61.1Smycroft * modification, are permitted provided that the following conditions
71.1Smycroft * are met:
81.1Smycroft * 1. Redistributions of source code must retain the above copyright
91.1Smycroft *    notice, this list of conditions and the following disclaimer.
101.1Smycroft * 2. Redistributions in binary form must reproduce the above copyright
111.1Smycroft *    notice, this list of conditions and the following disclaimer in the
121.1Smycroft *    documentation and/or other materials provided with the distribution.
131.1Smycroft * 3. All advertising materials mentioning features or use of this software
141.1Smycroft *    must display the following acknowledgement:
151.1Smycroft *	This product includes software developed by the University of
161.1Smycroft *	California, Berkeley and its contributors.
171.1Smycroft * 4. Neither the name of the University nor the names of its contributors
181.1Smycroft *    may be used to endorse or promote products derived from this software
191.1Smycroft *    without specific prior written permission.
201.1Smycroft *
211.1Smycroft * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
221.1Smycroft * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
231.1Smycroft * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
241.1Smycroft * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
251.1Smycroft * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
261.1Smycroft * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
271.1Smycroft * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
281.1Smycroft * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
291.1Smycroft * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
301.1Smycroft * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
311.1Smycroft * SUCH DAMAGE.
321.1Smycroft *
331.1Smycroft *	from: @(#)mfs_extern.h	8.1 (Berkeley) 6/11/93
341.1Smycroft *	$Id: mfs_extern.h,v 1.1 1994/06/08 11:42:54 mycroft Exp $
351.1Smycroft */
361.1Smycroft
371.1Smycroftstruct buf;
381.1Smycroftstruct mount;
391.1Smycroftstruct nameidata;
401.1Smycroftstruct proc;
411.1Smycroftstruct statfs;
421.1Smycroftstruct ucred;
431.1Smycroftstruct vnode;
441.1Smycroft
451.1Smycroft__BEGIN_DECLS
461.1Smycroftint	mfs_badop __P((void));
471.1Smycroftint	mfs_bmap __P((struct vop_bmap_args *));
481.1Smycroftint	mfs_close __P((struct vop_close_args *));
491.1Smycroftvoid	mfs_doio __P((struct buf *bp, caddr_t base));
501.1Smycroftint	mfs_inactive __P((struct vop_inactive_args *)); /* XXX */
511.1Smycroftint	mfs_reclaim __P((struct vop_reclaim_args *));
521.1Smycroftint	mfs_init __P((void));
531.1Smycroftint	mfs_ioctl __P((struct vop_ioctl_args *));
541.1Smycroftint	mfs_mount __P((struct mount *mp,
551.1Smycroft	    char *path, caddr_t data, struct nameidata *ndp, struct proc *p));
561.1Smycroftint	mfs_open __P((struct vop_open_args *));
571.1Smycroftint	mfs_print __P((struct vop_print_args *)); /* XXX */
581.1Smycroftint	mfs_start __P((struct mount *mp, int flags, struct proc *p));
591.1Smycroftint	mfs_statfs __P((struct mount *mp, struct statfs *sbp, struct proc *p));
601.1Smycroftint	mfs_strategy __P((struct vop_strategy_args *)); /* XXX */
611.1Smycroft__END_DECLS
62