#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
;acl
An ACL structure type.
prefix
If the argument prefix
is not NULL, each
entry can have this character string.
separator
ACL entries are separeted by
this separator
character.
options
Bitwise combinations of the following OPTIONS section.
str_p
A pointer to the long text form string of the ACL.
GFARM_ACL_TEXT_ABBREVIATE
Instead of the full tag type keywords, single letter abbreviations are used.
GFARM_ACL_TEXT_SOME_EFFECTIVE
A comment containing the effective permissions in some ACL entries.
GFARM_ACL_TEXT_ALL_EFFECTIVE
A comment containing the effective permissions in all ACL entries.
GFARM_ACL_TEXT_SMART_INDENT
If 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.