summaryrefslogtreecommitdiff
path: root/sys/adosfs/adosfs.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-24 09:37:04 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-24 09:37:04 +0000
commitd1e286aee3e9807d435c8e5e4b402d5eebcfb708 (patch)
tree41ba0b11246854fb0677acfa743d0718447dfbcc /sys/adosfs/adosfs.h
parent7102964779390c6ec9a75a2fae4541ea2d5e4da9 (diff)
Add forward decls.
Fix vop_link, vop_symlink, and vop_remove semantics in several ways: * Change the argument names to vop_link so they actually make sense. * Implement vop_link and vop_symlink for all file systems, so they do proper cleanup. * Require the file system to decide whether or not linking and unlinking of directories is allowed, and disable it for all current file systems. Adosfs prototyping changes. Compiler warning police.
Diffstat (limited to 'sys/adosfs/adosfs.h')
-rw-r--r--sys/adosfs/adosfs.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/adosfs/adosfs.h b/sys/adosfs/adosfs.h
index dcd4e1b6d61..d92510fd2d5 100644
--- a/sys/adosfs/adosfs.h
+++ b/sys/adosfs/adosfs.h
@@ -1,4 +1,4 @@
-/* $NetBSD: adosfs.h,v 1.8 1995/08/18 15:14:35 chopps Exp $ */
+/* $NetBSD: adosfs.h,v 1.9 1996/02/09 19:06:39 christos Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@@ -124,11 +124,13 @@ struct adosfsmount {
long adoswordn __P((struct buf *, int));
long adoscksum __P((struct buf *, long));
int adoshash __P((const char *, int, int));
+int adunixprot __P((int));
+int adosfs_getblktype __P((struct adosfsmount *, struct buf *));
struct vnode *adosfs_ahashget __P((struct mount *, ino_t));
void adosfs_ainshash __P((struct adosfsmount *, struct anode *));
void adosfs_aremhash __P((struct anode *));
-int adosfs_lookup __P((struct vop_lookup_args *));
+int adosfs_lookup __P((void *));
-int (**adosfs_vnodeop_p)();
+int (**adosfs_vnodeop_p) __P((void *));