summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-05 20:51:52 +0200
committerVolker Lendecke <vl@samba.org>2009-04-06 21:32:06 +0200
commit7ef78bd7b5b5d1b2c5c06d1170f80ea77f036353 (patch)
tree699ffaebaadd736b2097e5be8dce74d0ceb752c9 /source3/include/proto.h
parentdec928e884f492c7a5e5e8c87e2ff0c1944da5f1 (diff)
downloadsamba-7ef78bd7b5b5d1b2c5c06d1170f80ea77f036353.tar.gz
samba-7ef78bd7b5b5d1b2c5c06d1170f80ea77f036353.tar.bz2
samba-7ef78bd7b5b5d1b2c5c06d1170f80ea77f036353.zip
Convert cli_trans to tevent_req
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index fc1d4618a3..b07cecc136 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2889,14 +2889,14 @@ bool cli_send_nt_trans(struct cli_state *cli,
bool cli_receive_nt_trans(struct cli_state *cli,
char **param, unsigned int *param_len,
char **data, unsigned int *data_len);
-struct async_req *cli_trans_send(
+struct tevent_req *cli_trans_send(
TALLOC_CTX *mem_ctx, struct event_context *ev,
- struct cli_state *cli, uint8_t trans_cmd,
+ struct cli_state *cli, uint8_t cmd,
const char *pipe_name, uint16_t fid, uint16_t function, int flags,
uint16_t *setup, uint8_t num_setup, uint8_t max_setup,
uint8_t *param, uint32_t num_param, uint32_t max_param,
uint8_t *data, uint32_t num_data, uint32_t max_data);
-NTSTATUS cli_trans_recv(struct async_req *req, TALLOC_CTX *mem_ctx,
+NTSTATUS cli_trans_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
uint16_t **setup, uint8_t *num_setup,
uint8_t **param, uint32_t *num_param,
uint8_t **data, uint32_t *num_data);