s4:smbd: use tevent_ fn names instead of leagcy event_ ones
authorSimo Sorce <ssorce@redhat.com>
Tue, 25 May 2010 19:28:10 +0000 (15:28 -0400)
committerSimo Sorce <idra@samba.org>
Sat, 13 Aug 2011 13:54:16 +0000 (09:54 -0400)
source4/smbd/process_onefork.c
source4/smbd/process_prefork.c
source4/smbd/process_standard.c
source4/smbd/process_thread.c

index 979a8e10ad0f4a2d085b5975f3a692a989e60943..251e5074c84a6dda67bd4a76387e05b21436e87a 100644 (file)
@@ -120,7 +120,7 @@ static void onefork_new_task(struct tevent_context *ev,
        /* setup this new connection: process will bind to it's sockets etc */
        new_task_fn(ev, lp_ctx, cluster_id(pid, 0), private_data);
 
-       event_loop_wait(ev);
+       tevent_loop_wait(ev);
 
        talloc_free(ev);
        exit(0);
index a0aaf9290a1afadda4957320cf5b2ba33b80f97e..e4a519a1d586d4f2074ef027d3313c4628862357 100644 (file)
@@ -136,7 +136,7 @@ static void prefork_new_task(struct tevent_context *ev,
 
                /* We don't want any kids hanging around for this one,
                 * let the parent do all the work */
-               event_loop_wait(ev2);
+               tevent_loop_wait(ev2);
                
                talloc_free(ev2);
                exit(0);
@@ -160,7 +160,7 @@ static void prefork_new_task(struct tevent_context *ev,
                        /* we can't return to the top level here, as that event context is gone,
                           so we now process events in the new event context until there are no
                           more to process */      
-                       event_loop_wait(ev2);
+                       tevent_loop_wait(ev2);
                        
                        talloc_free(ev2);
                        exit(0);
@@ -178,7 +178,7 @@ static void prefork_new_task(struct tevent_context *ev,
        /* we can't return to the top level here, as that event context is gone,
           so we now process events in the new event context until there are no
           more to process */      
-       event_loop_wait(ev_parent);
+       tevent_loop_wait(ev_parent);
        
        talloc_free(ev_parent);
        exit(0);
index 6857674e7fe7bf44a61baba2567d5deafcff6e9e..1e9b8ed8ac2999dc8880e993a4a319758875c803 100644 (file)
@@ -146,7 +146,7 @@ static void standard_accept_connection(struct tevent_context *ev,
        /* we can't return to the top level here, as that event context is gone,
           so we now process events in the new event context until there are no
           more to process */      
-       event_loop_wait(ev);
+       tevent_loop_wait(ev);
 
        talloc_free(ev);
        exit(0);
@@ -196,7 +196,7 @@ static void standard_new_task(struct tevent_context *ev,
        /* we can't return to the top level here, as that event context is gone,
           so we now process events in the new event context until there are no
           more to process */      
-       event_loop_wait(ev);
+       tevent_loop_wait(ev);
 
        talloc_free(ev);
        exit(0);
index cf94234c34f9d2abc36978c5e94a5278de5b5301..764c1f36d5d21d8dfd84a4c6d7ca526cdc59d29b 100644 (file)
@@ -52,7 +52,7 @@ static void *thread_connection_fn(void *thread_parm)
        new_conn->new_conn(new_conn->ev, new_conn->lp_ctx, new_conn->sock, pthread_self(), new_conn->private_data);
 
        /* run this connection from here */
-       event_loop_wait(new_conn->ev);
+       tevent_loop_wait(new_conn->ev);
 
        talloc_free(new_conn);
 
@@ -137,7 +137,7 @@ static void *thread_task_fn(void *thread_parm)
                           new_task->private_data);
 
        /* run this connection from here */
-       event_loop_wait(new_task->ev);
+       tevent_loop_wait(new_task->ev);
 
        talloc_free(new_task);