wscript: Add check for --wrap linker flag
[vlendec/samba-autobuild/.git] / source3 / modules / nfs4acl_xattr_ndr.h
1 /*
2  * Convert NFSv4 acls stored per http://www.suse.de/~agruen/nfs4acl/ to NT acls and vice versa.
3  *
4  * Copyright (C) Jiri Sasek, 2007
5  * based on the foobar.c module which is copyrighted by Volker Lendecke
6  * based on pvfs_acl_nfs4.c  Copyright (C) Andrew Tridgell 2006
7  *
8  * based on vfs_fake_acls:
9  * Copyright (C) Tim Potter, 1999-2000
10  * Copyright (C) Alexander Bokovoy, 2002
11  * Copyright (C) Andrew Bartlett, 2002,2012
12  * Copyright (C) Ralph Boehme 2017
13  *
14  * This program is free software; you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License as published by
16  * the Free Software Foundation; either version 3 of the License, or
17  * (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22  * GNU General Public License for more details.
23  *
24  * You should have received a copy of the GNU General Public License
25  * along with this program; if not, see <http://www.gnu.org/licenses/>.
26  *
27  */
28
29 #ifndef __NFS4ACL_XATTR_NDR_H__
30 #define __NFS4ACL_XATTR_NDR_H__
31
32 NTSTATUS nfs4acl_ndr_blob_to_smb4(struct vfs_handle_struct *handle,
33                                   TALLOC_CTX *mem_ctx,
34                                   DATA_BLOB *blob,
35                                   struct SMB4ACL_T **_smb4acl);
36
37 NTSTATUS nfs4acl_smb4acl_to_ndr_blob(vfs_handle_struct *handle,
38                                      TALLOC_CTX *mem_ctx,
39                                      struct SMB4ACL_T *smbacl,
40                                      DATA_BLOB *blob);
41
42 #endif /* _VFS_NFS4ACL_XATTR_NDR_H */