summaryrefslogtreecommitdiff
path: root/source3/libsmb/smb2cli.h
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2012-05-10 18:40:56 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-12 01:01:31 +0200
commitc7a129262857ede4d4985a1c368b7066811ed2c3 (patch)
tree833088031d9a2f5c9a1bd184a8b90112f040cdaf /source3/libsmb/smb2cli.h
parent50d88c96bc03206b59a882669ab13f763945d41f (diff)
downloadsamba-c7a129262857ede4d4985a1c368b7066811ed2c3.tar.gz
samba-c7a129262857ede4d4985a1c368b7066811ed2c3.tar.bz2
samba-c7a129262857ede4d4985a1c368b7066811ed2c3.zip
s3/libsmb: Generalise cli_state in smb2 write calls
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb/smb2cli.h')
-rw-r--r--source3/libsmb/smb2cli.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/libsmb/smb2cli.h b/source3/libsmb/smb2cli.h
index e562945358..6fa77f4ff3 100644
--- a/source3/libsmb/smb2cli.h
+++ b/source3/libsmb/smb2cli.h
@@ -142,7 +142,10 @@ NTSTATUS smb2cli_read(struct smbXcli_conn *conn,
struct tevent_req *smb2cli_write_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
- struct cli_state *cli,
+ struct smbXcli_conn *conn,
+ uint32_t timeout_msec,
+ struct smbXcli_session *session,
+ uint32_t tcon_id,
uint32_t length,
uint64_t offset,
uint64_t fid_persistent,
@@ -151,7 +154,10 @@ struct tevent_req *smb2cli_write_send(TALLOC_CTX *mem_ctx,
uint32_t flags,
const uint8_t *data);
NTSTATUS smb2cli_write_recv(struct tevent_req *req);
-NTSTATUS smb2cli_write(struct cli_state *cli,
+NTSTATUS smb2cli_write(struct smbXcli_conn *conn,
+ uint32_t timeout_msec,
+ struct smbXcli_session *session,
+ uint32_t tcon_id,
uint32_t length,
uint64_t offset,
uint64_t fid_persistent,