s3:libsmb: s/event_context/tevent_context/ in async_smb.[ch]
authorStefan Metzmacher <metze@samba.org>
Tue, 25 Oct 2011 12:26:17 +0000 (14:26 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 25 Oct 2011 15:58:33 +0000 (17:58 +0200)
metze

source3/include/async_smb.h
source3/libsmb/async_smb.c

index 482c7ebc6ce1459925c7207cb20e52aaec3982a5..30c71a243ee35c26d60ff6b0a738098a165f46b4 100644 (file)
@@ -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,
index 933b7e8c84666a13ccf9699847b113f8e62f1967..79194f5eba0b869e41ea49dc6402d8b63ad67252 100644 (file)
@@ -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,