mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 23:05:49 +01:00
Forward declare some structs so that this header is more self-suifficent.
This commit is contained in:
parent
b33271069e
commit
f9ad65b0f2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55991
@ -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));
|
||||
|
@ -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 *);
|
||||
|
@ -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);
|
||||
|
@ -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,
|
||||
|
@ -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);
|
||||
|
@ -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 *);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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));
|
||||
|
@ -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 *);
|
||||
|
@ -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);
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user