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/clirap.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/clirap.c')
-rw-r--r-- | source3/libsmb/clirap.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c index 175fa3e6a1..db2d7c059c 100644 --- a/source3/libsmb/clirap.c +++ b/source3/libsmb/clirap.c @@ -28,6 +28,7 @@ #include "libsmb/libsmb.h" #include "libsmb/clirap.h" #include "trans2.h" +#include "../libcli/smb/smbXcli_base.h" #define PIPE_LANMAN "\\PIPE\\LANMAN" @@ -670,7 +671,7 @@ NTSTATUS cli_qpathinfo1(struct cli_state *cli, 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 */ @@ -845,7 +846,7 @@ NTSTATUS cli_qpathinfo2(struct cli_state *cli, const char *fname, 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 */ @@ -956,7 +957,7 @@ NTSTATUS cli_qpathinfo_streams(struct cli_state *cli, const char *fname, 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 */ @@ -1244,7 +1245,7 @@ NTSTATUS cli_qpathinfo_basic(struct cli_state *cli, const char *name, 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 */ |