summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2012-05-26 11:58:34 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-03 23:37:02 +0200
commitaea996dba6d99d75b508628118c268f8f0619191 (patch)
tree9f3361c5c1082fcc6b06759d1e0911015c5614b0 /source3/torture
parent9c80b91d8f793ad97736d8fb75566ca4d907e9cd (diff)
downloadsamba-aea996dba6d99d75b508628118c268f8f0619191.tar.gz
samba-aea996dba6d99d75b508628118c268f8f0619191.tar.bz2
samba-aea996dba6d99d75b508628118c268f8f0619191.zip
s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_send
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jun 3 23:37:02 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/test_chain3.c3
-rw-r--r--source3/torture/torture.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/source3/torture/test_chain3.c b/source3/torture/test_chain3.c
index 7b9eeb0b7b..a4b30ea940 100644
--- a/source3/torture/test_chain3.c
+++ b/source3/torture/test_chain3.c
@@ -25,6 +25,7 @@
#include "async_smb.h"
#include "lib/util/tevent_ntstatus.h"
#include "libcli/security/security.h"
+#include "libcli/smb/smbXcli_base.h"
struct chain3_andx_state {
uint16_t fnum;
@@ -75,7 +76,7 @@ static struct tevent_req *chain3_andx_send(TALLOC_CTX *mem_ctx,
}
tevent_req_set_callback(subreq, chain3_andx_close_done, req);
- status = cli_smb_chain_send(smbreqs, ARRAY_SIZE(smbreqs));
+ status = smb1cli_req_chain_submit(smbreqs, ARRAY_SIZE(smbreqs));
if (tevent_req_nterror(req, status)) {
return tevent_req_post(req, ev);
}
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 1f463f6672..1fc80fe6a4 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -6540,7 +6540,7 @@ static bool run_chain1(int dummy)
if (reqs[2] == NULL) return false;
tevent_req_set_callback(reqs[2], chain1_close_completion, &done);
- status = cli_smb_chain_send(smbreqs, ARRAY_SIZE(smbreqs));
+ status = smb1cli_req_chain_submit(smbreqs, ARRAY_SIZE(smbreqs));
if (!NT_STATUS_IS_OK(status)) {
return false;
}
@@ -6596,7 +6596,7 @@ static bool run_chain2(int dummy)
if (reqs[1] == NULL) return false;
tevent_req_set_callback(reqs[1], chain2_tcon_completion, &done);
- status = cli_smb_chain_send(smbreqs, ARRAY_SIZE(smbreqs));
+ status = smb1cli_req_chain_submit(smbreqs, ARRAY_SIZE(smbreqs));
if (!NT_STATUS_IS_OK(status)) {
return false;
}