]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:torture: s/struct event_context/struct tevent_context
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2013 08:55:58 +0000 (09:55 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2013 22:47:51 +0000 (23:47 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/torture/test_notify_online.c
source3/torture/torture.c

index d2748f4f3425dc32c218aa758b0cfb6d57b052ce..b59ce203df9807b542d631a7c521585f363202e6 100644 (file)
@@ -236,7 +236,7 @@ static NTSTATUS notify_online(struct cli_state *cli,
                              bool *got_notify)
 {
        TALLOC_CTX *frame = talloc_stackframe();
-       struct event_context *ev;
+       struct tevent_context *ev;
        struct tevent_req *req;
        NTSTATUS status = NT_STATUS_NO_MEMORY;
 
index 825eaf53629a7d395202035e605586be2951319c..c70b5ffc8f3642026b3d89ff6411a1dbaec183b4 100644 (file)
@@ -180,7 +180,7 @@ static bool cli_bad_session_request(int fd,
        bool ret = false;
        uint8_t message_type;
        uint8_t error;
-       struct event_context *ev;
+       struct tevent_context *ev;
        struct tevent_req *req;
 
        frame = talloc_stackframe();
@@ -6604,7 +6604,7 @@ static void chain1_close_completion(struct tevent_req *req)
 static bool run_chain1(int dummy)
 {
        struct cli_state *cli1;
-       struct event_context *evt = samba_tevent_context_init(NULL);
+       struct tevent_context *evt = samba_tevent_context_init(NULL);
        struct tevent_req *reqs[3], *smbreqs[3];
        bool done = false;
        const char *str = "foobar";
@@ -6665,7 +6665,7 @@ static void chain2_tcon_completion(struct tevent_req *req)
 static bool run_chain2(int dummy)
 {
        struct cli_state *cli1;
-       struct event_context *evt = samba_tevent_context_init(NULL);
+       struct tevent_context *evt = samba_tevent_context_init(NULL);
        struct tevent_req *reqs[2], *smbreqs[2];
        bool done = false;
        NTSTATUS status;
@@ -8518,7 +8518,7 @@ static void wbclient_done(struct tevent_req *req)
 
 static bool run_local_wbclient(int dummy)
 {
-       struct event_context *ev;
+       struct tevent_context *ev;
        struct wb_context **wb_ctx;
        struct winbindd_request wb_req;
        bool result = false;