#include <gfarm/gfarm.h>
gfarm_error_t gfs_acl_to_any_text( |
acl, | |
| prefix, | ||
| separator, | ||
| options, | ||
str_p); |
gfarm_acl_t acl;const char *prefix;char separator;int options;char **str_p;aclAn ACL structure type.
prefixIf the argument prefix is not NULL, each
entry can have this character string.
separatorACL entries are separeted by
this separator character.
optionsBitwise combinations of the following OPTIONS section.
str_pA pointer to the long text form string of the ACL.
GFARM_ACL_TEXT_ABBREVIATEInstead of the full tag type keywords, single letter abbreviations are used.
GFARM_ACL_TEXT_SOME_EFFECTIVEA comment containing the effective permissions in some ACL entries.
GFARM_ACL_TEXT_ALL_EFFECTIVEA comment containing the effective permissions in all ACL entries.
GFARM_ACL_TEXT_SMART_INDENTIf this option is used with the GFARM_ACL_TEXT_SOME_EFFECTIVE or GFARM_ACL_TEXT_ALL_EFFECTIVE option, the effective comment is aligned to column 40.