Debian Codegraph @

xlators/system/posix-acl/src/posix-acl-xattr.h

raw symbols SCIP
1 /*
2 Copyright (c) 2011-2012 Red Hat, Inc. <http://www.redhat.com>
3 This file is part of GlusterFS.
4
5 This file is licensed to you under your choice of the GNU Lesser
6 General Public License, version 3 or any later version (LGPLv3 or
7 later), or the GNU General Public License, version 2 (GPLv2), in all
8 cases as published by the Free Software Foundation.
9 */
10
11 #ifndef _POSIX_ACL_XATTR_H
12 #define _POSIX_ACL_XATTR_H
13
14 #include "posix-acl.h"
15 #include <glusterfs/glusterfs-acl.h>
16
17 struct posix_acl *
18 posix_acl_from_xattr(xlator_t *this, const char *buf, int size);
19
20 int
21 posix_acl_to_xattr(xlator_t *this, struct posix_acl *acl, char *buf, int size);
22
23 int
24 posix_acl_matches_xattr(xlator_t *this, struct posix_acl *acl, const char *buf,
25 int size);
26
27 #endif /* !_POSIX_ACL_XATTR_H */