From aea996dba6d99d75b508628118c268f8f0619191 Mon Sep 17 00:00:00 2001 From: Luk Claes Date: Sat, 26 May 2012 11:58:34 +0200 Subject: s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_send Signed-off-by: Luk Claes Signed-off-by: Stefan Metzmacher Autobuild-User: Stefan Metzmacher Autobuild-Date: Sun Jun 3 23:37:02 CEST 2012 on sn-devel-104 --- source3/torture/test_chain3.c | 3 ++- source3/torture/torture.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'source3/torture') 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; } -- cgit