diff options
Diffstat (limited to 'sys/netncp')
-rw-r--r-- | sys/netncp/ncp_ncp.h | 5 | ||||
-rw-r--r-- | sys/netncp/ncp_rq.h | 2 | ||||
-rw-r--r-- | sys/netncp/ncp_sock.h | 7 | ||||
-rw-r--r-- | sys/netncp/ncp_subr.h | 3 |
4 files changed, 17 insertions, 0 deletions
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); |