lib/compression/lzxpress compression: use a write context struct
[Samba.git] / libcli / smb / smb2_posix.h
blob0751814e3dd36a370da654733abe406e0955a2d9
1 /*
2 * Unix SMB/CIFS implementation.
4 * SMB2 Posix context handling
6 * Copyright (C) Jeremy Allison 2019
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 3 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef _LIBCLI_SMB_SMB2_POSIX_H_
23 #define _LIBCLI_SMB_SMB2_POSIX_H_
25 #include "replace.h"
26 #include "system/filesys.h"
27 #include <talloc.h>
28 #include "libcli/smb/smb2_create_blob.h"
29 #include "libcli/smb/smb_util.h"
31 NTSTATUS make_smb2_posix_create_ctx(
32 TALLOC_CTX *mem_ctx,
33 struct smb2_create_blobs **crb,
34 mode_t mode);
36 #endif /* _LIBCLI_SMB_SMB2_POSIX_H_ */