s3:libsmb: use 'tevent_' instead of 'event_' in clitrans.c
authorStefan Metzmacher <metze@samba.org>
Wed, 26 Oct 2011 13:43:08 +0000 (15:43 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 26 Oct 2011 13:43:08 +0000 (15:43 +0200)
metze

source3/libsmb/clitrans.c
source3/libsmb/proto.h

index f487a34864ab3dcb34bbd60c7a81a8b57bf3be37..bde2ef3d76e9604b92aca7ce84a9010408e94f80 100644 (file)
@@ -29,7 +29,7 @@ struct trans_recvblob {
 
 struct cli_trans_state {
        struct cli_state *cli;
-       struct event_context *ev;
+       struct tevent_context *ev;
        uint8_t cmd;
        uint16_t mid;
        const char *pipe_name;
@@ -375,7 +375,7 @@ static void cli_trans_format(struct cli_trans_state *state, uint8_t *pwct,
 static void cli_trans_done(struct tevent_req *subreq);
 
 struct tevent_req *cli_trans_send(
-       TALLOC_CTX *mem_ctx, struct event_context *ev,
+       TALLOC_CTX *mem_ctx, struct tevent_context *ev,
        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,
@@ -723,7 +723,7 @@ NTSTATUS cli_trans(TALLOC_CTX *mem_ctx, struct cli_state *cli,
                   uint8_t **rdata, uint32_t min_rdata, uint32_t *num_rdata)
 {
        TALLOC_CTX *frame = talloc_stackframe();
-       struct event_context *ev;
+       struct tevent_context *ev;
        struct tevent_req *req;
        NTSTATUS status = NT_STATUS_OK;
 
@@ -735,7 +735,7 @@ NTSTATUS cli_trans(TALLOC_CTX *mem_ctx, struct cli_state *cli,
                goto fail;
        }
 
-       ev = event_context_init(frame);
+       ev = tevent_context_init(frame);
        if (ev == NULL) {
                status = NT_STATUS_NO_MEMORY;
                goto fail;
index ffb2ca0117371a91c4ada4ad0dde56f189c0fabf..e1f2c3e6336f55140001b7c484fb84aa0e3e1a44 100644 (file)
@@ -822,7 +822,7 @@ size_t clistr_pull_talloc(TALLOC_CTX *ctx,
 /* The following definitions come from libsmb/clitrans.c  */
 
 struct tevent_req *cli_trans_send(
-       TALLOC_CTX *mem_ctx, struct event_context *ev,
+       TALLOC_CTX *mem_ctx, struct tevent_context *ev,
        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,