diff options
author | Luk Claes <luk@debian.org> | 2012-05-26 11:45:09 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-28 14:49:50 +0200 |
commit | f7f73c4dbad4dc47e3f37cd09f90470c2e54a4c2 (patch) | |
tree | 4fb1a5c145e6f936e38d1f51c8090055c438c166 /source3/libsmb/clireadwrite.c | |
parent | 764b5e56108362a53acf8f435203dd1e56ecd2ce (diff) | |
download | samba-f7f73c4dbad4dc47e3f37cd09f90470c2e54a4c2.tar.gz samba-f7f73c4dbad4dc47e3f37cd09f90470c2e54a4c2.tar.bz2 samba-f7f73c4dbad4dc47e3f37cd09f90470c2e54a4c2.zip |
s3:libsmb: get rid of cli_has_async_calls
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb/clireadwrite.c')
-rw-r--r-- | source3/libsmb/clireadwrite.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/libsmb/clireadwrite.c b/source3/libsmb/clireadwrite.c index 7f82772721..758521f7bc 100644 --- a/source3/libsmb/clireadwrite.c +++ b/source3/libsmb/clireadwrite.c @@ -22,6 +22,7 @@ #include "../lib/util/tevent_ntstatus.h" #include "async_smb.h" #include "trans2.h" +#include "../libcli/smb/smbXcli_base.h" /**************************************************************************** Calculate the recommended read buffer size @@ -687,7 +688,7 @@ NTSTATUS cli_pull(struct cli_state *cli, uint16_t fnum, struct tevent_req *req; NTSTATUS status = NT_STATUS_OK; - if (cli_has_async_calls(cli)) { + if (smbXcli_conn_has_async_calls(cli->conn)) { /* * Can't use sync call while an async call is in flight */ @@ -1074,7 +1075,7 @@ NTSTATUS cli_writeall(struct cli_state *cli, uint16_t fnum, uint16_t mode, struct tevent_req *req; NTSTATUS status = NT_STATUS_NO_MEMORY; - if (cli_has_async_calls(cli)) { + if (smbXcli_conn_has_async_calls(cli->conn)) { /* * Can't use sync call while an async call is in flight */ @@ -1303,7 +1304,7 @@ NTSTATUS cli_push(struct cli_state *cli, uint16_t fnum, uint16_t mode, struct tevent_req *req; NTSTATUS status = NT_STATUS_OK; - if (cli_has_async_calls(cli)) { + if (smbXcli_conn_has_async_calls(cli->conn)) { /* * Can't use sync call while an async call is in flight */ |