RPCBIND(3) | Library Functions Manual | RPCBIND(3) |
struct rpcblist *
rpcb_getmaps(const struct netconfig *netconf, const char *host);
bool_t
rpcb_getaddr(const rpcprog_t prognum, const rpcvers_t versnum, const struct netconfig *netconf, struct netbuf *svcaddr, const char *host);
bool_t
rpcb_gettime(const char *host, time_t * timep);
enum clnt_stat
rpcb_rmtcall(const struct netconfig *netconf, const char *host, const rpcprog_t prognum, const rpcvers_t versnum, const rpcproc_t procnum, const xdrproc_t inproc, const char *in, const xdrproc_t outproc, caddr_t out, const struct timeval tout, struct netbuf *svcaddr);
bool_t
rpcb_set(const rpcprog_t prognum, const rpcvers_t versnum, const struct netconfig *netconf, const struct netbuf *svcaddr);
bool_t
rpcb_unset(const rpcprog_t prognum, const rpcvers_t versnum, const struct netconfig *netconf);
This procedure should normally be used for a ``ping'' and nothing else. This routine allows programs to do lookup and call, all in one step.
Note: Even if the server is not running rpcb_rmtcall() does not return any error messages to the caller. In such a case, the caller times out.
Note: rpcb_rmtcall() is only available for connectionless transports.
December 4, 2005 | NetBSD 6.1 |