diff options
author | Bill Paul <wpaul@FreeBSD.org> | 2001-10-04 21:03:17 +0000 |
---|---|---|
committer | Bill Paul <wpaul@FreeBSD.org> | 2001-10-04 21:03:17 +0000 |
commit | e6f9ad07792a97a11670dae42dbd6151c1c7ccf7 (patch) | |
tree | f04cd3fc84edc685f5914bdfc6a024dc824eea72 /include/rpc/clnt.h | |
parent | 003c0a008a881d6bca50c8d0dd26f4652944f66c (diff) | |
download | src-e6f9ad07792a97a11670dae42dbd6151c1c7ccf7.tar.gz src-e6f9ad07792a97a11670dae42dbd6151c1c7ccf7.zip |
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.
Notes
Notes:
svn path=/head/; revision=84487
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 130369058db7..f8af9a232def 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 |