summaryrefslogtreecommitdiffstats
path: root/include/rpc/svc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc/svc.h')
-rw-r--r--include/rpc/svc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/rpc/svc.h b/include/rpc/svc.h
index 1f3c725..f779646 100644
--- a/include/rpc/svc.h
+++ b/include/rpc/svc.h
@@ -381,6 +381,11 @@ extern SVCXPRT *svc_vc_create __P((const int, const u_int, const u_int));
* const u_int recvsize; -- max recv size
*/
+/*
+ * Added for compatibility to old rpc 4.0. Obsoleted by svc_vc_create().
+ */
+extern SVCXPRT *svcunix_create __P((int, u_int, u_int, char *));
+
extern SVCXPRT *svc_dg_create __P((const int, const u_int, const u_int));
/*
* const int fd; -- open connection
@@ -401,6 +406,11 @@ extern SVCXPRT *svc_fd_create __P((const int, const u_int, const u_int));
*/
/*
+ * Added for compatibility to old rpc 4.0. Obsoleted by svc_fd_create().
+ */
+extern SVCXPRT *svcunixfd_create __P((int, u_int, u_int));
+
+/*
* Memory based rpc (for speed check and testing)
*/
extern SVCXPRT *svc_raw_create __P((void));
OpenPOWER on IntegriCloud