summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/async_smb.h4
-rw-r--r--source3/libsmb/async_smb.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/async_smb.h b/source3/include/async_smb.h
index 482c7ebc6c..30c71a243e 100644
--- a/source3/include/async_smb.h
+++ b/source3/include/async_smb.h
@@ -23,7 +23,7 @@
struct cli_state;
struct tevent_req *cli_smb_req_create(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
+ struct tevent_context *ev,
struct cli_state *cli,
uint8_t smb_command,
uint8_t additional_flags,
@@ -40,7 +40,7 @@ uint16_t cli_smb_req_mid(struct tevent_req *req);
void cli_smb_req_set_mid(struct tevent_req *req, uint16_t mid);
uint32_t cli_smb_req_seqnum(struct tevent_req *req);
void cli_smb_req_set_seqnum(struct tevent_req *req, uint32_t seqnum);
-struct tevent_req *cli_smb_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
+struct tevent_req *cli_smb_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev,
struct cli_state *cli,
uint8_t smb_command, uint8_t additional_flags,
uint8_t wct, uint16_t *vwv,
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index 933b7e8c84..79194f5eba 100644
--- a/source3/libsmb/async_smb.c
+++ b/source3/libsmb/async_smb.c
@@ -373,7 +373,7 @@ static uint8_t *iov_concat(TALLOC_CTX *mem_ctx, const struct iovec *iov,
}
struct tevent_req *cli_smb_req_create(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
+ struct tevent_context *ev,
struct cli_state *cli,
uint8_t smb_command,
uint8_t additional_flags,
@@ -554,7 +554,7 @@ NTSTATUS cli_smb_req_send(struct tevent_req *req)
}
struct tevent_req *cli_smb_send(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
+ struct tevent_context *ev,
struct cli_state *cli,
uint8_t smb_command,
uint8_t additional_flags,