diff options
author | wpaul <wpaul@FreeBSD.org> | 2001-10-04 21:03:17 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2001-10-04 21:03:17 +0000 |
commit | 6c9e575b196d51cc925335b293fd6b2b5c65741c (patch) | |
tree | f04cd3fc84edc685f5914bdfc6a024dc824eea72 /include/rpc/clnt.h | |
parent | 17c13225904c1761505c467deec9ae5ce1e4c53b (diff) | |
download | FreeBSD-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.h | 5 |
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 |