X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/e2fac8b15b12a7979f72090454d850e612fc5b13..b0d623f7f2ae71ed96e60569f61f9a9a27016e80:/bsd/sys/un.h?ds=sidebyside diff --git a/bsd/sys/un.h b/bsd/sys/un.h index 92017608d..479058ff2 100644 --- a/bsd/sys/un.h +++ b/bsd/sys/un.h @@ -90,6 +90,7 @@ struct sockaddr_un { #ifdef KERNEL #ifdef PRIVATE +#include __BEGIN_DECLS struct mbuf; struct socket; @@ -103,6 +104,9 @@ void unp_dispose(struct mbuf *m); int unp_externalize(struct mbuf *rights); void unp_init(void) __attribute__((section("__TEXT, initcode"))); extern struct pr_usrreqs uipc_usrreqs; +int unp_lock(struct socket *, int, void *); +int unp_unlock(struct socket *, int, void *); +lck_mtx_t* unp_getlock(struct socket *, int); __END_DECLS #endif /* PRIVATE */ #else /* !KERNEL */