Man page - gfs_acl_from_text_with_default(3)

Packages contains this manual

Manual

GFS_ACL_FROM_TEXT_WI

NAME
SYNOPSIS
INPUT ARGUMENTS
RETURN VALUES
SEE ALSO

NAME

gfs_acl_from_text_with_default - create a Gfarm ACL from text with default prefix

SYNOPSIS

#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).

SEE ALSO

gfs_acl_free (3), gfs_acl_to_any_text (3), gfs_acl_to_text (3), gfs_acl_from_text (3)