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_get_file - get a Gfarm ACL by filename

Input Arguments

gfarm_url
           A path name in the Gfarm filesystem.

       type
           GFARM_ACL_TYPE_ACCESS (to get the access ACL) or GFARM_ACL_TYPE_DEFAULT (to get the default ACL).

       acl_p
           A pointer of ACL structure type.

Name

       gfs_acl_get_file - get a Gfarm ACL by filename

Return Values

GFARM_ERR_NO_ERROR
           The function terminated successfully.

       GFARM_ERR_NO_SUCH_OBJECT
           The gfarm_url does not exist or The gfarm_url does not have the type of ACL.

       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_free(3), gfs_acl_get_entry(3), gfs_acl_set_file(3), gfs_attr(5)

Gfarm                                              14 Feb 2011                               GFS_ACL_GET_FILE(3)

Synopsis

#include<gfarm/gfarm.h>gfarm_error_tgfs_acl_get_file(constchar*gfarm_url,gfarm_acl_type_ttype,gfarm_acl_t*acl_p);

See Also