Debian Codegraph @

xlators/system/posix-acl/src/posix-acl.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_H
12 #define _POSIX_ACL_H
13
14 struct posix_acl *
15 posix_acl_new(xlator_t *this, int entry_count);
16 struct posix_acl *
17 posix_acl_ref(xlator_t *this, struct posix_acl *acl);
18 void
19 posix_acl_unref(xlator_t *this, struct posix_acl *acl);
20 void
21 posix_acl_destroy(xlator_t *this, struct posix_acl *acl);
22 struct posix_acl_ctx *
23 posix_acl_ctx_get(inode_t *inode, xlator_t *this);
24 int
25 posix_acl_get(inode_t *inode, xlator_t *this, struct posix_acl **acl_access_p,
26 struct posix_acl **acl_default_p);
27 int
28 posix_acl_set(inode_t *inode, xlator_t *this, struct posix_acl *acl_access,
29 struct posix_acl *acl_default);
30
31 #endif /* !_POSIX_ACL_H */