s3:registry: Initialize struct security_ace ace[]
[samba4-gss.git] / source3 / modules / nfs4acl_xattr.h
blob0adede156ba8df2e8911b6a4c966b58477394d36
1 /*
2 * Copyright (C) Ralph Boehme 2017
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
19 #ifndef __NFS4ACL_XATTR_H__
20 #define __NFS4ACL_XATTR_H__
22 #define NFS4ACL_XDR_MAX_ACES 8192
24 enum nfs4acl_encoding {
25 NFS4ACL_ENCODING_NDR,
26 NFS4ACL_ENCODING_XDR,
27 NFS4ACL_ENCODING_NFS
30 struct nfs4acl_config {
31 unsigned nfs_version;
32 enum nfs4acl_encoding encoding;
33 char *xattr_name;
34 struct smbacl4_vfs_params nfs4_params;
35 enum default_acl_style default_acl_style;
36 bool nfs4_id_numeric;
37 bool validate_mode;
40 #endif /* __NFS4ACL_XATTR_H__ */