diff options
-rw-r--r-- | sys/sys/un.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sys/sys/un.h b/sys/sys/un.h index c71b13ada58..819985ff12c 100644 --- a/sys/sys/un.h +++ b/sys/sys/un.h @@ -1,4 +1,4 @@ -/* $OpenBSD: un.h,v 1.8 2003/06/02 23:28:22 millert Exp $ */ +/* $OpenBSD: un.h,v 1.9 2009/01/23 21:51:13 blambert Exp $ */ /* $NetBSD: un.h,v 1.11 1996/02/04 02:12:47 christos Exp $ */ /* @@ -48,18 +48,18 @@ struct sockaddr_un { struct unpcb; struct socket; -int unp_attach(struct socket *so); -int unp_bind(struct unpcb *unp, struct mbuf *nam, struct proc *p); -int unp_connect(struct socket *so, struct mbuf *nam, struct proc *p); -int unp_connect2(struct socket *so, struct socket *so2); -void unp_detach(struct unpcb *unp); -void unp_discard(struct file *fp); -void unp_disconnect(struct unpcb *unp); -void unp_drop(struct unpcb *unp, int errno); +int unp_attach(struct socket *); +int unp_bind(struct unpcb *, struct mbuf *, struct proc *); +int unp_connect(struct socket *, struct mbuf *, struct proc *); +int unp_connect2(struct socket *, struct socket *); +void unp_detach(struct unpcb *); +void unp_discard(struct file *); +void unp_disconnect(struct unpcb *); +void unp_drop(struct unpcb *, int); void unp_gc(void); -void unp_mark(struct file *fp); -void unp_scan(struct mbuf *m0, void (*op)(struct file *), int); -void unp_shutdown(struct unpcb *unp); +void unp_mark(struct file *); +void unp_scan(struct mbuf *, void (*)(struct file *), int); +void unp_shutdown(struct unpcb *); int unp_externalize(struct mbuf *); int unp_internalize(struct mbuf *, struct proc *); void unp_dispose(struct mbuf *); |