summaryrefslogtreecommitdiffstats
path: root/include/rpc/clnt.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2001-10-04 21:03:17 +0000
committerwpaul <wpaul@FreeBSD.org>2001-10-04 21:03:17 +0000
commit6c9e575b196d51cc925335b293fd6b2b5c65741c (patch)
treef04cd3fc84edc685f5914bdfc6a024dc824eea72 /include/rpc/clnt.h
parent17c13225904c1761505c467deec9ae5ce1e4c53b (diff)
downloadFreeBSD-src-6c9e575b196d51cc925335b293fd6b2b5c65741c.zip
FreeBSD-src-6c9e575b196d51cc925335b293fd6b2b5c65741c.tar.gz
Add compatibility functions for the AF_LOCAL RPC transport stuff
that used to live in RPC 4.0. This is needed for yppasswd and rpc.yppasswdd to work correctly. Patch supplied by Martin Blapp.
Diffstat (limited to 'include/rpc/clnt.h')
-rw-r--r--include/rpc/clnt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rpc/clnt.h b/include/rpc/clnt.h
index 1303690..f8af9a2 100644
--- a/include/rpc/clnt.h
+++ b/include/rpc/clnt.h
@@ -338,6 +338,11 @@ extern CLIENT *clnt_vc_create __P((const int, const struct netbuf *,
const rpcprog_t, const rpcvers_t,
const u_int, const u_int));
/*
+ * Added for compatibility to old rpc 4.0. Obsoleted by clnt_vc_create().
+ */
+extern CLIENT *clntunix_create __P((struct sockaddr_un *,
+ u_long, u_long, int *, u_int, u_int));
+/*
* const int fd; -- open file descriptor
* const struct netbuf *svcaddr; -- servers address
* const rpcprog_t prog; -- program number
OpenPOWER on IntegriCloud