s3:libsmb: allow store_cldap_reply() to work with a ipv6 response
[samba.git] / source3 / modules / nfs4acl_xattr_xdr.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_XDR_H__
20 #define __NFS4ACL_XATTR_XDR_H__
21
22 #define NFS4ACL_XDR_XATTR_NAME "security.nfs4acl_xdr"
23
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);
28
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);
33
34 #endif /* __NFS4ACL_XATTR_XDR_H__ */