示例#1
0
bool_t
xdr_setattr3args (XDR *xdrs, setattr3args *objp)
{
	 if (!xdr_nfs_fh3 (xdrs, &objp->object))
		 return FALSE;
	 if (!xdr_sattr3 (xdrs, &objp->new_attributes))
		 return FALSE;
	 if (!xdr_sattrguard3 (xdrs, &objp->guard))
		 return FALSE;
	return TRUE;
}
示例#2
0
bool_t
xdr_SETATTR3args(register XDR *xdrs, SETATTR3args *objp)
{
	if (!xdr_nfs_fh3(xdrs, &objp->object))
		return (FALSE);
	if (!xdr_sattr3(xdrs, &objp->new_attributes))
		return (FALSE);
	if (!xdr_sattrguard3(xdrs, &objp->guard))
		return (FALSE);
	return (TRUE);
}
示例#3
0
文件: uvfs_prot.c 项目: bougyman/sfs
bool_t
xdr_uvfs_guard(XDR *xdrs, uvfs_guard *objp)
{

	 register int32_t *buf;

	 if (!xdr_sattrguard3(xdrs, objp)) {
		 return (FALSE);
	 }
	return (TRUE);
}
示例#4
0
文件: nfs3_prot.c 项目: bougyman/sfs
bool_t
xdr_setattr3args(XDR *xdrs, setattr3args *objp)
{

	 register int32_t *buf;

	 if (!xdr_nfs_fh3(xdrs, &objp->object)) {
		 return (FALSE);
	 }
	 if (!xdr_sattr3(xdrs, &objp->new_attributes)) {
		 return (FALSE);
	 }
	 if (!xdr_sattrguard3(xdrs, &objp->guard)) {
		 return (FALSE);
	 }
	return (TRUE);
}