extern int bindresvport();
extern bool_t xdr_opaque_auth();
-__private_extern__ u_short pmap_getport_timeout(struct sockaddr_in *address, uint32_t program, uint32_t version, uint32_t protocol, struct timeval *timeout, struct timeval *totaltimeout);
+extern u_short pmap_getport_timeout(struct sockaddr_in *address, uint32_t program, uint32_t version, uint32_t protocol, struct timeval *timeout, struct timeval *totaltimeout);
extern int errno;
* sendsz and recvsz are the maximum allowable packet sizes that can be
* sent and received.
*/
-__private_extern__ CLIENT *
+CLIENT *
clntudp_bufcreate_timeout(struct sockaddr_in *raddr, uint32_t program, uint32_t version, int *sockp, uint32_t sendsz, uint32_t recvsz, struct timeval *retry_timeout, struct timeval *total_timeout)
{
CLIENT *cl;
#ifdef __LP64__
if ((! XDR_PUTLONG(xdrs, (int *)&proc)) ||
(! AUTH_MARSHALL(cl->cl_auth, xdrs)) ||
- (! (*xargs)(xdrs, argsp)))
+ (! (*xargs)(xdrs, argsp, 0)))
return (cu->cu_error.re_status = RPC_CANTENCODEARGS);
#else
if ((! XDR_PUTLONG(xdrs, (long *)&proc)) ||
(! AUTH_MARSHALL(cl->cl_auth, xdrs)) ||
- (! (*xargs)(xdrs, argsp)))
+ (! (*xargs)(xdrs, argsp, 0)))
return (cu->cu_error.re_status = RPC_CANTENCODEARGS);
#endif
outlen = (int)XDR_GETPOS(xdrs);
register XDR *xdrs = &(cu->cu_outxdrs);
xdrs->x_op = XDR_FREE;
- return ((*xdr_res)(xdrs, res_ptr));
+ return ((*xdr_res)(xdrs, res_ptr, 0));
}
static void