result = clnt_call (clnt, YPPROC_ALL, (xdrproc_t) xdr_ypreq_nokey, &req, (xdrproc_t) __xdr_ypresp_all, &status, TIMEOUT);
result = clnt_call (clnt, YPPROC_ALL, (xdrproc_t) xdr_ypreq_nokey, (caddr_t) &req, (xdrproc_t) __xdr_ypresp_all, (caddr_t) &status, TIMEOUT);
yp_all (const char *indomain, const char *inmap,	const struct ypall_callback *incallback){  struct ypreq_nokey req;  dom_binding *ydb;  int try, result;  struct sockaddr_in clnt_sin;  CLIENT *clnt;  unsigned long status;  int clnt_sock;  if (indomain == NULL || indomain[0] == '\0' ||      inmap == NULL || inmap == '\0')    return YPERR_BADARGS;  try = 0;  result = YPERR_YPERR;  while (try < MAXTRIES && result != RPC_SUCCESS)    {      __libc_lock_lock (ypbindlist_lock);      if (__yp_bind (indomain, &ydb) != 0)	{	  __libc_lock_unlock (ypbindlist_lock);	  return YPERR_DOMAIN;	}      /* YPPROC_ALL get its own TCP channel to ypserv */      clnt_sock = RPC_ANYSOCK;      clnt_sin = ydb->dom_server_addr;      clnt_sin.sin_port = 0;      clnt = clnttcp_create (&clnt_sin, YPPROG, YPVERS, &clnt_sock, 0, 0);      if (clnt == NULL)	{	  puts ("yp_all: clnttcp_create failed");	  __libc_lock_unlock (ypbindlist_lock);	  return YPERR_PMAP;	}      req.domain = (char *) indomain;      req.map = (char *) inmap;      ypall_foreach = incallback->foreach;      ypall_data = (void *) incallback->data;      result = clnt_call (clnt, YPPROC_ALL, (xdrproc_t) xdr_ypreq_nokey, &req,			  (xdrproc_t) __xdr_ypresp_all, &status, TIMEOUT);      if (result != RPC_SUCCESS)	{	  clnt_perror (ydb->dom_client, "yp_all: clnt_call");	  clnt_destroy (clnt);	  __yp_unbind (ydb);	  result = YPERR_RPC;	}      else	{	  clnt_destroy (clnt);	  result = YPERR_SUCCESS;	}      __libc_lock_unlock (ypbindlist_lock);      if (status != YP_NOMORE)	return ypprot_err (status);      try++;    }  return result;}