s4:selftest: explicitly set NSS/RESOLV_WAPPER_* in wait_for_start
[Samba.git] / source3 / modules / nfs4acl_xattr_ndr.h
blob7db4ce734f5ea7c23ef5661cfe6b0ad0d1f9160f
1 /*
2 * Convert NFSv4 acls stored per http://www.suse.de/~agruen/nfs4acl/ to NT acls and vice versa.
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
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
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.
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.
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/>.
29 #ifndef __NFS4ACL_XATTR_NDR_H__
30 #define __NFS4ACL_XATTR_NDR_H__
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);
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);
42 #endif /* _VFS_NFS4ACL_XATTR_NDR_H */