#include <gfarm/gfarm.h>
gfarm_error_t gfs_acl_get_file( |
gfarm_url, | |
| type, | ||
acl_p); |
const char *gfarm_url;gfarm_acl_type_t type;gfarm_acl_t *acl_p;gfarm_urlA path name in the Gfarm filesystem.
typeGFARM_ACL_TYPE_ACCESS (to get the access ACL) or GFARM_ACL_TYPE_DEFAULT (to get the default ACL).
acl_pA pointer of ACL structure type.
GFARM_ERR_NO_ERRORThe function terminated successfully.
GFARM_ERR_NO_SUCH_OBJECTThe gfarm_url does not exist or The gfarm_url does not have the type of ACL.
GFARM_ERR_NO_MEMORYInsufficient memory was available.
An error except the above occurred. The reason is shown by gfarm_error_string(3).