aboutsummaryrefslogtreecommitdiff
path: root/include/rpc/svc.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-31 15:34:47 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-31 15:34:47 +0000
commite4aced47ae1046850d846137ec72adfe32c57186 (patch)
treef3250faefea176565c7fc836b0f351a96aa8937b /include/rpc/svc.h
parenta2e48a256abd7e745687cabe72f4f1219da95d74 (diff)
downloadglibc-e4aced47ae1046850d846137ec72adfe32c57186.tar
glibc-e4aced47ae1046850d846137ec72adfe32c57186.tar.gz
glibc-e4aced47ae1046850d846137ec72adfe32c57186.tar.bz2
glibc-e4aced47ae1046850d846137ec72adfe32c57186.zip
Update.
* posix/bsd-getpgrp.c: Add prototype to avoid warning. * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes. * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes. * include/rpc/rpc_msg.h: Add prototypes for some functions. * include/rpc/auth.h: Likewise. * include/rpc/auth_des.h: Likewise. * include/rpc/clnt.h: Likewise. * include/rpc/rpc.h: Likewise. * include/rpc/svc.h: Likewise. * include/rpc/svc_auth.h: Likewise. * include/rpc/des_crypt.h: New file.
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