gfs_acl_from_text_with_default(3)

gfs_acl_from_text_with_default3

Create a gfarm acl from text with default prefix

Usage

#include <gfarm/gfarm.h>

gfarm_error_t gfs_acl_from_text_with_default(const char *str, gfarm_acl_t *acl_acc_p, gfarm_acl_t *acl_def_p);

Input arguments

str

An ACL text string (long text form or short text form). The ACL entries can have "default:" prefix.

acl_acc_p

A pointer of the ACL structure type for access ACL.

acl_acc_p

A pointer of the ACL structure type for default ACL.

Return values

GFARM_ERR_NO_ERROR

The function terminated successfully.

GFARM_ERR_NO_MEMORY

Insufficient memory was available.

GFARM_ERR_INVALID_ARGUMENT

The argument str cannot be translated into an ACL.

Others

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

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9–10
  2. 11–13

From libgfarm-dev 2.7.20+dfsg-1.2+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.