vfs_glusterfs: Use glfs_readlinkat() for SMB_VFS_READLINKAT
[Samba.git] / source3 / modules / nfs4acl_xattr_xdr.h
blob4a79a0da93fc3d7b024326a12770e3283d927728
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_XDR_H__
20 #define __NFS4ACL_XATTR_XDR_H__
22 #define NFS4ACL_XDR_XATTR_NAME "security.nfs4acl_xdr"
24 NTSTATUS nfs4acl_xdr_blob_to_smb4(struct vfs_handle_struct *handle,
25 TALLOC_CTX *mem_ctx,
26 DATA_BLOB *blob,
27 struct SMB4ACL_T **_smb4acl);
29 NTSTATUS nfs4acl_smb4acl_to_xdr_blob(vfs_handle_struct *handle,
30 TALLOC_CTX *mem_ctx,
31 struct SMB4ACL_T *smbacl,
32 DATA_BLOB *blob);
34 #endif /* __NFS4ACL_XATTR_XDR_H__ */