summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-01-14 19:54:42 +0000
committerbde <bde@FreeBSD.org>2000-01-14 19:54:42 +0000
commit762f2e59e4ba65f08a6d2970935cd3df7bf5f743 (patch)
tree95e54a62bbab196bafbfb054727fbe432720745e /sys/fs
parente66131d4143150abdb0da6af95ad75b6618a9ade (diff)
downloadFreeBSD-src-762f2e59e4ba65f08a6d2970935cd3df7bf5f743.zip
FreeBSD-src-762f2e59e4ba65f08a6d2970935cd3df7bf5f743.tar.gz
Forward declare some structs so that this header is more self-suifficent.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/ntfs/ntfs_subr.h4
-rw-r--r--sys/fs/ntfs/ntfs_vfsops.h5
-rw-r--r--sys/fs/nwfs/nwfs_node.h7
-rw-r--r--sys/fs/nwfs/nwfs_subr.h12
4 files changed, 28 insertions, 0 deletions
diff --git a/sys/fs/ntfs/ntfs_subr.h b/sys/fs/ntfs/ntfs_subr.h
index 7f2d793..a0cda50 100644
--- a/sys/fs/ntfs/ntfs_subr.h
+++ b/sys/fs/ntfs/ntfs_subr.h
@@ -70,6 +70,10 @@ struct ntvattr {
#define va_a_iroot va_d.iroot
#define va_a_ialloc va_d.ialloc
+struct componentname;
+struct fnode;
+struct uio;
+
int ntfs_procfixups __P(( struct ntfsmount *, u_int32_t, caddr_t, size_t ));
int ntfs_parserun __P(( cn_t *, cn_t *, u_int8_t *, u_long, u_long *));
int ntfs_runtocn __P(( cn_t *, struct ntfsmount *, u_int8_t *, u_long, cn_t));
diff --git a/sys/fs/ntfs/ntfs_vfsops.h b/sys/fs/ntfs/ntfs_vfsops.h
index f124c77..c05686f 100644
--- a/sys/fs/ntfs/ntfs_vfsops.h
+++ b/sys/fs/ntfs/ntfs_vfsops.h
@@ -34,6 +34,11 @@
/* fnode */
#define VG_EXT 0x0004 /* This is not main record */
+struct mount;
+struct ntfsmount;
+struct proc;
+struct vnode;
+
int ntfs_vgetex(struct mount *, ino_t, u_int32_t, char *, u_long, u_long,
struct proc *, struct vnode **);
int ntfs_calccfree(struct ntfsmount *, cn_t *);
diff --git a/sys/fs/nwfs/nwfs_node.h b/sys/fs/nwfs/nwfs_node.h
index c88c4b4..871c1e3 100644
--- a/sys/fs/nwfs/nwfs_node.h
+++ b/sys/fs/nwfs/nwfs_node.h
@@ -79,6 +79,13 @@ struct nwnode {
#define NWCMPN(np1,np2) NWCMPF(&(np1)->n_fid, &(np2)->n_fid)
#define NWCMPV(vp1,vp2) NWCMPN(VTONW(vp1),VTONW(vp2))
+struct vop_getpages_args;
+struct vop_inactive_args;
+struct vop_putpages_args;
+struct vop_reclaim_args;
+struct ucred;
+struct uio;
+
void nwfs_hash_init(void);
void nwfs_hash_free(void);
int nwfs_allocvp(struct mount *mp, ncpfid fid, struct vnode **vpp);
diff --git a/sys/fs/nwfs/nwfs_subr.h b/sys/fs/nwfs/nwfs_subr.h
index 6112933..acec92c 100644
--- a/sys/fs/nwfs/nwfs_subr.h
+++ b/sys/fs/nwfs/nwfs_subr.h
@@ -40,6 +40,18 @@ extern int nwfs_debuglevel;
MALLOC_DECLARE(M_NWFSDATA);
#endif
+struct ncp_conn;
+struct ncp_nlstables;
+struct ncp_open_info;
+struct nw_entry_info;
+struct nw_search_info;
+struct nwmount;
+struct proc;
+struct timespec;
+struct ucred;
+struct vattr;
+struct vnode;
+
int ncp_initsearch(struct vnode *dvp,struct proc *p,struct ucred *cred);
int ncp_search_for_file_or_subdir(struct nwmount *nmp,struct nw_search_seq *seq,
struct nw_entry_info *target,
OpenPOWER on IntegriCloud