summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-25 14:26:17 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-25 17:58:33 +0200
commite947acaa8a36f574a8245c174da28d3ad7fab452 (patch)
tree7df809e151013b1a17424a05705be9e8bf7f7869
parentdd9d40a0e6a908ea6ea50161352cf166dc11b9ff (diff)
downloadsamba-e947acaa8a36f574a8245c174da28d3ad7fab452.tar.gz
samba-e947acaa8a36f574a8245c174da28d3ad7fab452.tar.xz
samba-e947acaa8a36f574a8245c174da28d3ad7fab452.zip
s3:libsmb: s/event_context/tevent_context/ in async_smb.[ch]
metze
-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 482c7ebc6ce..30c71a243ee 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 933b7e8c846..79194f5eba0 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,