Beispiel #1
0
bool_t
xdr_ypreq_nokey (XDR *xdrs, ypreq_nokey *objp)
{
    if (!xdr_domainname (xdrs, &objp->domain))
        return FALSE;
    return xdr_mapname (xdrs, &objp->map);
}
Beispiel #2
0
bool_t
xdr_ypreq_nokey(XDR *xdrs, struct ypreq_nokey *objp)
{
	if (!xdr_domainname(xdrs, (domainname *)&objp->domain)) {
		return FALSE;
	}
	return xdr_mapname(xdrs, (mapname *)&objp->map);
}
Beispiel #3
0
bool_t
xdr_ypbind_setdom (XDR *xdrs, ypbind_setdom *objp)
{
    if (!xdr_domainname (xdrs, &objp->ypsetdom_domain))
        return FALSE;
    if (!xdr_ypbind_binding (xdrs, &objp->ypsetdom_binding))
        return FALSE;
    return xdr_u_int (xdrs, &objp->ypsetdom_vers);
}
Beispiel #4
0
bool_t
xdr_ypmap_parms (XDR *xdrs, ypmap_parms *objp)
{
    if (!xdr_domainname (xdrs, &objp->domain))
        return FALSE;
    if (!xdr_mapname (xdrs, &objp->map))
        return FALSE;
    if (!xdr_u_int (xdrs, &objp->ordernum))
        return FALSE;
    return xdr_peername (xdrs, &objp->peer);
}
Beispiel #5
0
bool_t
xdr_ypreq_nokey(XDR *xdrs, ypreq_nokey *objp)
{
  if (!xdr_domainname(xdrs, &objp->domain)) {
    return (FALSE);
  }
  if (!xdr_mapname(xdrs, &objp->map)) {
    return (FALSE);
  }
  return (TRUE);
}
Beispiel #6
0
bool_t
xdr_ypbind_setdom(XDR *xdrs, ypbind_setdom *objp)
{
  if (!xdr_domainname(xdrs, &objp->ypsetdom_domain)) {
    return (FALSE);
  }
  if (!xdr_ypbind_binding(xdrs, &objp->ypsetdom_binding)) {
    return (FALSE);
  }
  if (!xdr_u_int(xdrs, &objp->ypsetdom_vers)) {
    return (FALSE);
  }
  return (TRUE);
}
Beispiel #7
0
bool_t
xdr_ypmap_parms(XDR *xdrs, ypmap_parms *objp)
{
  if (!xdr_domainname(xdrs, &objp->domain)) {
    return (FALSE);
  }
  if (!xdr_mapname(xdrs, &objp->map)) {
    return (FALSE);
  }
  if (!xdr_u_int(xdrs, &objp->ordernum)) {
    return (FALSE);
  }
  if (!xdr_peername(xdrs, &objp->peer)) {
    return (FALSE);
  }
  return (TRUE);
}