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
commit40ecdeb3fb1abad44d0a42edc651edbcceeebbc9 (patch)
tree0cc7a4382ce836f255124e2ddda8a419f6b74242 /source3/libsmb/smb2cli.h
parent2abc34cb4a45d83bfee49a0fb881ba9cbe271249 (diff)
downloadsamba-40ecdeb3fb1abad44d0a42edc651edbcceeebbc9.tar.gz
samba-40ecdeb3fb1abad44d0a42edc651edbcceeebbc9.tar.bz2
samba-40ecdeb3fb1abad44d0a42edc651edbcceeebbc9.zip
s3:libsmb: add smb2cli_close*()
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 86dc5b4363..1fbe2c2caa 100644
--- a/source3/libsmb/smb2cli.h
+++ b/source3/libsmb/smb2cli.h
@@ -84,4 +84,14 @@ NTSTATUS smb2cli_create(struct cli_state *cli,
uint64_t *fid_persistent,
uint64_t *fid_volatile);
+struct tevent_req *smb2cli_close_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct cli_state *cli,
+ uint16_t flags,
+ uint64_t fid_persistent,
+ uint64_t fid_volatile);
+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);
+
#endif /* __SMB2CLI_H__ */