Esempio n. 1
0
bool_t
xdr_ypresp_order (XDR *xdrs, ypresp_order *objp)
{
    if (!xdr_ypstat (xdrs, &objp->stat))
        return FALSE;
    return xdr_u_int (xdrs, &objp->ordernum);
}
Esempio n. 2
0
bool_t
xdr_ypresp_val (XDR *xdrs, ypresp_val *objp)
{
    if (!xdr_ypstat (xdrs, &objp->stat))
        return FALSE;
    return xdr_valdat (xdrs, &objp->val);
}
Esempio n. 3
0
bool_t
xdr_ypresp_master (XDR *xdrs, ypresp_master *objp)
{
    if (!xdr_ypstat (xdrs, &objp->stat))
        return FALSE;
    return xdr_peername (xdrs, &objp->peer);
}
Esempio n. 4
0
bool_t
xdr_ypresp_order(XDR *xdrs, struct ypresp_order *objp)
{
	if (!xdr_ypstat(xdrs, (ypstat *)&objp->stat)) {
		return FALSE;
	}
	return xdr_u_int(xdrs, (u_int *)&objp->ordernum);
}
Esempio n. 5
0
bool_t
xdr_ypresp_maplist (XDR *xdrs, ypresp_maplist *objp)
{
  if (!xdr_ypstat (xdrs, &objp->stat))
    return FALSE;
  return xdr_pointer (xdrs, (char **) &objp->maps, sizeof (ypmaplist),
		      (xdrproc_t) xdr_ypmaplist);
}
Esempio n. 6
0
bool_t
xdr_ypresp_maplist (XDR *xdrs, ypresp_maplist *objp)
{
    if (!xdr_ypstat (xdrs, &objp->stat))
        return FALSE;
    /* Prevent gcc warning about alias violation.  */
    char **tp = (void *) &objp->maps;
    return xdr_pointer (xdrs, tp, sizeof (ypmaplist), (xdrproc_t) xdr_ypmaplist);
}
Esempio n. 7
0
bool_t
xdr_ypresp_order(XDR *xdrs, ypresp_order *objp)
{
  if (!xdr_ypstat(xdrs, &objp->stat)) {
    return (FALSE);
  }
  if (!xdr_u_int(xdrs, &objp->ordernum)) {
    return (FALSE);
  }
  return (TRUE);
}
Esempio n. 8
0
bool_t
xdr_ypresp_master(XDR *xdrs, ypresp_master *objp)
{
  if (!xdr_ypstat(xdrs, &objp->stat)) {
    return (FALSE);
  }
  if (!xdr_peername(xdrs, &objp->peer)) {
    return (FALSE);
  }
  return (TRUE);
}
Esempio n. 9
0
bool_t
xdr_ypresp_val(XDR *xdrs, ypresp_val *objp)
{
  if (!xdr_ypstat(xdrs, &objp->stat)) {
    return (FALSE);
  }
  if (!xdr_valdat(xdrs, &objp->val)) {
    return (FALSE);
  }
  return (TRUE);
}
Esempio n. 10
0
bool_t
xdr_ypresp_key_val(XDR *xdrs, struct ypresp_key_val *objp)
{
	if (!xdr_ypstat(xdrs, (ypstat *)&objp->stat)) {
		return FALSE;
	}
	if (!xdr_valdat(xdrs, &objp->val)) {
		return FALSE;
	}
	return xdr_keydat(xdrs, &objp->key);
}