예제 #1
0
bool_t
xdr_nlm4_unlockargs (XDR *xdrs, nlm4_unlockargs *objp)
{
    if (!xdr_netobj (xdrs, &objp->cookie))
        return FALSE;
    if (!xdr_nlm4_lock (xdrs, &objp->alock))
        return FALSE;
    return TRUE;
}
예제 #2
0
bool_t
xdr_nlm4_testargs (XDR *xdrs, nlm4_testargs *objp)
{
    if (!xdr_netobj (xdrs, &objp->cookie))
        return FALSE;
    if (!xdr_bool (xdrs, &objp->exclusive))
        return FALSE;
    if (!xdr_nlm4_lock (xdrs, &objp->alock))
        return FALSE;
    return TRUE;
}
예제 #3
0
bool_t
xdr_nlm4_cancargs(XDR *xdrs, nlm4_cancargs *objp)
{

	if (!xdr_netobj(xdrs, &objp->cookie))
		return (FALSE);
	if (!xdr_bool(xdrs, &objp->block))
		return (FALSE);
	if (!xdr_bool(xdrs, &objp->exclusive))
		return (FALSE);
	if (!xdr_nlm4_lock(xdrs, &objp->alock))
		return (FALSE);
	return (TRUE);
}
예제 #4
0
bool_t xdr_nlm4_cancargs(XDR * xdrs, nlm4_cancargs * objp)
{
  register int32_t *buf;

  if(!xdr_netobj(xdrs, &objp->cookie))
    return FALSE;
  if(!xdr_bool(xdrs, &objp->block))
    return FALSE;
  if(!xdr_bool(xdrs, &objp->exclusive))
    return FALSE;
  if(!xdr_nlm4_lock(xdrs, &objp->alock))
    return FALSE;
  return TRUE;
}
예제 #5
0
bool_t
xdr_nlm4_lockargs (XDR *xdrs, nlm4_lockargs *objp)
{
    if (!xdr_netobj (xdrs, &objp->cookie))
        return FALSE;
    if (!xdr_bool (xdrs, &objp->block))
        return FALSE;
    if (!xdr_bool (xdrs, &objp->exclusive))
        return FALSE;
    if (!xdr_nlm4_lock (xdrs, &objp->alock))
        return FALSE;
    if (!xdr_bool (xdrs, &objp->reclaim))
        return FALSE;
    if (!xdr_int (xdrs, &objp->state))
        return FALSE;
    return TRUE;
}