summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-08-27 19:30:57 +0200
committerVolker Lendecke <vl@samba.org>2008-08-28 18:16:00 +0200
commit228a12681bc7e6eb5bddb75b3b97a74c5eef1c3a (patch)
tree43fa6443cbbaabefbc88b9e574d0da0994988860 /source3/include/proto.h
parentbb0fc9cfceab7e961eaa9049d111121609ff8174 (diff)
downloadsamba-228a12681bc7e6eb5bddb75b3b97a74c5eef1c3a.tar.gz
samba-228a12681bc7e6eb5bddb75b3b97a74c5eef1c3a.tar.bz2
samba-228a12681bc7e6eb5bddb75b3b97a74c5eef1c3a.zip
Add async smbecho client support
(This used to be commit c1d645fbe39433541d8bfe6b818c855cee318dc5)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index f21cc2b17f..abfc79024a 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4338,8 +4338,11 @@ void cli_sockopt(struct cli_state *cli, const char *options);
uint16 cli_setpid(struct cli_state *cli, uint16 pid);
bool cli_set_case_sensitive(struct cli_state *cli, bool case_sensitive);
bool cli_send_keepalive(struct cli_state *cli);
-bool cli_echo(struct cli_state *cli, uint16 num_echos,
- unsigned char *data, size_t length);
+struct async_req *cli_echo_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
+ struct cli_state *cli, uint16_t num_echos,
+ DATA_BLOB data);
+NTSTATUS cli_echo_recv(struct async_req *req);
+NTSTATUS cli_echo(struct cli_state *cli, uint16_t num_echos, DATA_BLOB data);
/* The following definitions come from libsmb/clierror.c */