'\" t
.\" Title: gfs_acl_from_xattr_value
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1
.\" Date: 14 Feb 2011
.\" Manual: Gfarm
.\" Source: Gfarm
.\" Language: English
.\"
.TH "GFS_ACL_FROM_XATTR_V" "3" "14 Feb 2011" "Gfarm" "Gfarm"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
gfs_acl_from_xattr_value \- convert an ACL binary data of Gfarm extended attribute to a Gfarm ACL
.SH "SYNOPSIS"
.sp
.ft B
.nf
#include
.fi
.ft
.HP \w'gfarm_error_t\ gfs_acl_from_xattr_value('u
.BI "gfarm_error_t\ gfs_acl_from_xattr_value(const\ void\ *" "xattr_value" ", size_t\ " "size" ", gfarm_acl_t\ *" "acl_p" ");"
.SH "INPUT ARGUMENTS"
.PP
\fIxattr_value\fR
.RS 4
An ACL binary data from Gfarm extended attribute\&.
.RE
.PP
\fIsize\fR
.RS 4
The length of
\fIxattr_value\fR\&.
.RE
.PP
\fIacl_p\fR
.RS 4
A pointer of a converted ACL\&.
.RE
.SH "RETURN VALUES"
.PP
\fBGFARM_ERR_NO_ERROR\fR
.RS 4
The function terminated successfully\&.
.RE
.PP
\fBGFARM_ERR_NO_MEMORY\fR
.RS 4
Insufficient memory was available\&.
.RE
.PP
Others
.RS 4
An error except the above occurred\&. The reason is shown by
\fBgfarm_error_string\fR(3)\&.
.RE
.SH "SEE ALSO"
.PP
\fBgfs_acl_sort\fR(3),
\fBgfs_acl_get_file\fR(3),
\fBgfs_getxattr\fR(3),
\fBgfs_acl_from_xattr_value\fR(3)