summaryrefslogtreecommitdiff
path: root/source3/libsmb/smb2cli.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-05-05 18:12:07 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-08 01:22:20 +0200
commitd82be9588add6d80012ffde7aaf38f8b0a6930c6 (patch)
tree1dcb99c1858f98a086572139ddb096039ba7f52a /source3/libsmb/smb2cli.h
parent40ecdeb3fb1abad44d0a42edc651edbcceeebbc9 (diff)
downloadsamba-d82be9588add6d80012ffde7aaf38f8b0a6930c6.tar.gz
samba-d82be9588add6d80012ffde7aaf38f8b0a6930c6.tar.bz2
samba-d82be9588add6d80012ffde7aaf38f8b0a6930c6.zip
s3:libsmb: add smb2cli_flush*()
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
Diffstat (limited to 'source3/libsmb/smb2cli.h')
-rw-r--r--source3/libsmb/smb2cli.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/libsmb/smb2cli.h b/source3/libsmb/smb2cli.h
index 1fbe2c2caa..31c593be89 100644
--- a/source3/libsmb/smb2cli.h
+++ b/source3/libsmb/smb2cli.h
@@ -94,4 +94,14 @@ NTSTATUS smb2cli_close_recv(struct tevent_req *req);
NTSTATUS smb2cli_close(struct cli_state *cli, uint16_t flags,
uint64_t fid_persistent, uint64_t fid_volatile);
+struct tevent_req *smb2cli_flush_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct cli_state *cli,
+ uint64_t fid_persistent,
+ uint64_t fid_volatile);
+NTSTATUS smb2cli_flush_recv(struct tevent_req *req);
+NTSTATUS smb2cli_flush(struct cli_state *cli,
+ uint64_t fid_persistent,
+ uint64_t fid_volatile);
+
#endif /* __SMB2CLI_H__ */