]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/nfs/krpc.h
xnu-792.24.17.tar.gz
[apple/xnu.git] / bsd / nfs / krpc.h
index f4e4701a19600ec7b40cbdcd56ff32dd6b0f1315..5d69fd6f6547667506643d4e8fc368b6e42a4a2f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  * @APPLE_LICENSE_HEADER_END@
  */
 /* Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved */
-/*
- *
- * The NEXTSTEP Software License Agreement specifies the terms
- * and conditions for redistribution.
- *
- */
+
+#ifndef __NFS_KRPC_H__
+#define __NFS_KRPC_H__
+
+#include <sys/appleapiopts.h>
+
 #include <sys/cdefs.h>
 
-int krpc_call __P((struct sockaddr_in *sin,
+#ifdef __APPLE_API_PRIVATE
+int krpc_call(struct sockaddr_in *sin, u_int sotype,
        u_int prog, u_int vers, u_int func,
-       struct mbuf **data, struct sockaddr_in **from));
+       mbuf_t *data, struct sockaddr_in *from);
 
-int krpc_portmap __P((struct sockaddr_in *sin,
-       u_int prog, u_int vers, u_int16_t *portp));
+int krpc_portmap(struct sockaddr_in *sin,
+       u_int prog, u_int vers, u_int proto, u_int16_t *portp);
 
 
 /*
@@ -59,3 +59,5 @@ int krpc_portmap __P((struct sockaddr_in *sin,
 #define BOOTPARAM_WHOAMI       1
 #define BOOTPARAM_GETFILE      2
 
+#endif /* __APPLE_API_PRIVATE */
+#endif /* __NFS_KRPC_H__ */