summaryrefslogtreecommitdiff
path: root/source3/libsmb/cli_smb2_fnum.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-06-20 08:23:47 +0000
committerVolker Lendecke <vl@samba.org>2014-06-21 20:38:11 +0200
commitf0876ff68a664ab5dd10ae77cddf2186e8a39768 (patch)
tree412f94c278a170ac27c1115b919cac52ebac0c06 /source3/libsmb/cli_smb2_fnum.h
parentf52158d74039afd0af6fcf185349bf80e8c36511 (diff)
downloadsamba-f0876ff68a664ab5dd10ae77cddf2186e8a39768.tar.gz
libsmb: Make cli_smb2_create_fnum async
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libsmb/cli_smb2_fnum.h')
-rw-r--r--source3/libsmb/cli_smb2_fnum.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/libsmb/cli_smb2_fnum.h b/source3/libsmb/cli_smb2_fnum.h
index a5ed5a0072b..9394918dfc0 100644
--- a/source3/libsmb/cli_smb2_fnum.h
+++ b/source3/libsmb/cli_smb2_fnum.h
@@ -25,6 +25,18 @@ struct smbXcli_session;
struct cli_state;
struct file_info;
+struct tevent_req *cli_smb2_create_fnum_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct cli_state *cli,
+ const char *fname,
+ uint32_t create_flags,
+ uint32_t desired_access,
+ uint32_t file_attributes,
+ uint32_t share_access,
+ uint32_t create_disposition,
+ uint32_t create_options);
+NTSTATUS cli_smb2_create_fnum_recv(struct tevent_req *req, uint16_t *pfnum,
+ struct smb_create_returns *cr);
NTSTATUS cli_smb2_create_fnum(struct cli_state *cli,
const char *fname,
uint32_t create_flags,