summaryrefslogtreecommitdiffstats
path: root/sys/nwfs
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/nwfs
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/nwfs')
-rw-r--r--sys/nwfs/nwfs_node.h7
-rw-r--r--sys/nwfs/nwfs_subr.h12
2 files changed, 19 insertions, 0 deletions
diff --git a/sys/nwfs/nwfs_node.h b/sys/nwfs/nwfs_node.h
index c88c4b4..871c1e3 100644
--- a/sys/nwfs/nwfs_node.h
+++ b/sys/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/nwfs/nwfs_subr.h b/sys/nwfs/nwfs_subr.h
index 6112933..acec92c 100644
--- a/sys/nwfs/nwfs_subr.h
+++ b/sys/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