python: models: rename argument ldb to samdb
[samba.git] / source3 / modules / nfs4acl_xattr_nfs.h
blob3c4109c4813026a0ec6c5ba7822b993ba469ce26
1 /*
2 * Copyright (C) Ralph Boehme 2018
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_NFS_H__
20 #define __NFS4ACL_XATTR_NFS_H__
22 #define NFS4ACL_NFS_XATTR_NAME "system.nfs4_acl"
24 struct SMB4ACL_T;
26 NTSTATUS nfs4acl_nfs_blob_to_smb4(struct vfs_handle_struct *handle,
27 TALLOC_CTX *mem_ctx,
28 DATA_BLOB *blob,
29 struct SMB4ACL_T **_smb4acl);
31 NTSTATUS nfs4acl_smb4acl_to_nfs_blob(vfs_handle_struct *handle,
32 TALLOC_CTX *mem_ctx,
33 struct SMB4ACL_T *smbacl,
34 DATA_BLOB *blob);
36 #endif /* __NFS4ACL_XATTR_NFS_H__ */