s3:libsmb: allow store_cldap_reply() to work with a ipv6 response
[samba.git] / source3 / modules / nfs4acl_xattr.h
1 /*
2  * Copyright (C) Ralph Boehme 2017
3  *
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.
8  *
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.
13  *
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/>.
16  *
17  */
18
19 #ifndef __NFS4ACL_XATTR_H__
20 #define __NFS4ACL_XATTR_H__
21
22 #define NFS4ACL_XDR_MAX_ACES 8192
23
24 enum nfs4acl_encoding {
25         NFS4ACL_ENCODING_NDR,
26         NFS4ACL_ENCODING_XDR,
27         NFS4ACL_ENCODING_NFS
28 };
29
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;
38 };
39
40 #endif /* __NFS4ACL_XATTR_H__ */