about summary refs log tree commit diff
path: root/include/rpc/svc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc/svc.h')
-rw-r--r--include/rpc/svc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/rpc/svc.h b/include/rpc/svc.h
index 68aa67b429..bf948d51e2 100644
--- a/include/rpc/svc.h
+++ b/include/rpc/svc.h
@@ -1 +1,14 @@
+#ifndef _RPC_SVC_H
 #include <sunrpc/rpc/svc.h>
+
+/* Now define the internal interfaces.  */
+extern int registerrpc (u_long prognum, u_long versnum, u_long procnum,
+			char *(*progname) (char *), xdrproc_t inproc,
+			xdrproc_t outproc);
+
+extern SVCXPRT *svcfd_create (int fd, u_int sendsize, u_int recvsize);
+
+extern int svcudp_enablecache (SVCXPRT *transp, u_long size);
+extern SVCXPRT *svcunixfd_create (int fd, u_int sendsize, u_int recvsize);
+
+#endif