summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-01-03 18:46:57 +0100
committerVolker Lendecke <vl@samba.org>2010-01-03 21:14:57 +0100
commit99f292479f1253c4cb1845461ae9edec8f155133 (patch)
tree0bec446395b32bb8d55f5e16ede3a40f82700047 /source3/include
parent41a5149981eb7293a54f0497c3a4f4fc50661157 (diff)
downloadsamba-99f292479f1253c4cb1845461ae9edec8f155133.tar.gz
samba-99f292479f1253c4cb1845461ae9edec8f155133.tar.bz2
samba-99f292479f1253c4cb1845461ae9edec8f155133.zip
s3: Convert cli_tdis to the async API
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 87701bf0b5..635cc73bb3 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2180,7 +2180,11 @@ struct tevent_req *cli_tcon_andx_send(TALLOC_CTX *mem_ctx,
NTSTATUS cli_tcon_andx_recv(struct tevent_req *req);
NTSTATUS cli_tcon_andx(struct cli_state *cli, const char *share,
const char *dev, const char *pass, int passlen);
-bool cli_tdis(struct cli_state *cli);
+struct tevent_req *cli_tdis_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct cli_state *cli);
+NTSTATUS cli_tdis_recv(struct tevent_req *req);
+NTSTATUS cli_tdis(struct cli_state *cli);
void cli_negprot_sendsync(struct cli_state *cli);
NTSTATUS cli_negprot(struct cli_state *cli);
struct tevent_req *cli_negprot_send(TALLOC_CTX *mem_ctx,