logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gfs_acl_to_xattr_value - convert a Gfarm ACL to binary data for Gfarm extended attribute

Input Arguments

acl
           An ACL structure type which is sorted.

       xattr_value_p
           A pointer to the converted binary data.

       size_p
           A value pointed to by size_p is set to the length of the converted binary data.

Name

       gfs_acl_to_xattr_value - convert a Gfarm ACL to binary data for Gfarm extended attribute

Return Values

GFARM_ERR_NO_ERROR
           The function terminated successfully.

       GFARM_ERR_NO_MEMORY
           Insufficient memory was available.

       Others
           An error except the above occurred. The reason is shown by gfarm_error_string(3).

See Also

gfs_acl_sort(3), gfs_acl_set_file(3), gfs_setxattr(3), gfs_acl_from_xattr_value(3)

Gfarm                                              14 Feb 2011                           GFS_ACL_TO_XATTR_VAL(3)

Synopsis

#include<gfarm/gfarm.h>gfarm_error_tgfs_acl_to_xattr_value(gfarm_acl_tacl,void**xattr_value_p,size_t*size_p);

See Also