summaryrefslogtreecommitdiffstats
path: root/sys
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
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')
-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
-rw-r--r--sys/netncp/ncp_ncp.h5
-rw-r--r--sys/netncp/ncp_rq.h2
-rw-r--r--sys/netncp/ncp_sock.h7
-rw-r--r--sys/netncp/ncp_subr.h3
-rw-r--r--sys/ntfs/ntfs_subr.h4
-rw-r--r--sys/ntfs/ntfs_vfsops.h5
-rw-r--r--sys/nwfs/nwfs_node.h7
-rw-r--r--sys/nwfs/nwfs_subr.h12
12 files changed, 73 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,
diff --git a/sys/netncp/ncp_ncp.h b/sys/netncp/ncp_ncp.h
index e430641..b43370d 100644
--- a/sys/netncp/ncp_ncp.h
+++ b/sys/netncp/ncp_ncp.h
@@ -105,6 +105,11 @@ struct ncp_bursthdr {
u_short bh_misfrags; /* HL */
} __attribute__((packed));
+struct ncp_conn;
+struct ncp_conn_args;
+struct ncp_rq;
+struct proc;
+struct ucred;
int ncp_request(struct ncp_conn *conn,struct ncp_rq *rqp);
int ncp_ncp_connect(struct ncp_conn *conn);
diff --git a/sys/netncp/ncp_rq.h b/sys/netncp/ncp_rq.h
index b6cf706..7c90e9f 100644
--- a/sys/netncp/ncp_rq.h
+++ b/sys/netncp/ncp_rq.h
@@ -160,6 +160,8 @@ void ncp_sign_init(const char *logindata, char *sign_root);
#define ncp_add_byte(conn,x) (conn)->packet[(conn)->rqsize++]=x
+struct ncp_buf;
+
__BEGIN_DECLS
void ncp_init_request(struct ncp_buf *);
diff --git a/sys/netncp/ncp_sock.h b/sys/netncp/ncp_sock.h
index 1f88e65..acd2380 100644
--- a/sys/netncp/ncp_sock.h
+++ b/sys/netncp/ncp_sock.h
@@ -34,6 +34,13 @@
#ifndef _NETNCP_NCP_SOCK_H_
#define _NETNCP_NCP_SOCK_H_
+struct ncp_conn;
+struct mbuf;
+struct ncp_rq;
+struct proc;
+struct socket;
+struct timeval;
+
int ncp_sock_connect_ipx(struct ncp_conn *);
int ncp_sock_connect_in(struct ncp_conn *);
int ncp_sock_recv(struct socket *so, struct mbuf **mp, int *rlen);
diff --git a/sys/netncp/ncp_subr.h b/sys/netncp/ncp_subr.h
index 1d99763..7f493af 100644
--- a/sys/netncp/ncp_subr.h
+++ b/sys/netncp/ncp_subr.h
@@ -105,6 +105,9 @@ struct ncp_open_info {
extern int ncp_debuglevel;
+struct proc;
+struct ucred;
+
int ncp_init(void);
void ncp_done(void);
int ncp_chkintr(struct ncp_conn *conn, struct proc *p);
diff --git a/sys/ntfs/ntfs_subr.h b/sys/ntfs/ntfs_subr.h
index 7f2d793..a0cda50 100644
--- a/sys/ntfs/ntfs_subr.h
+++ b/sys/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/ntfs/ntfs_vfsops.h b/sys/ntfs/ntfs_vfsops.h
index f124c77..c05686f 100644
--- a/sys/ntfs/ntfs_vfsops.h
+++ b/sys/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/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