s3:lib: s/struct timed_event/struct tevent_timer
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2013 09:18:29 +0000 (10:18 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2013 22:47:58 +0000 (23:47 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/include/smbldap.h
source3/lib/ctdbd_conn.c
source3/lib/smbldap.c

index ea944cf78ff94c2d8ea7857fb47fa7bd385c35d7..ec5ff1ce8415623617b52a0e549785e6f3425075 100644 (file)
@@ -53,7 +53,7 @@ struct smbldap_state {
 
        time_t last_use; /* monotonic */
        struct tevent_context *tevent_context;
-       struct timed_event *idle_event;
+       struct tevent_timer *idle_event;
 
        struct timeval last_rebind; /* monotonic */
 };
index 4e66c176aa0951778df77738c81799a1cdf2e03a..bae70c6fb5f5318ec270d0fec8888aefadecafcf 100644 (file)
@@ -280,7 +280,7 @@ struct deferred_msg_state {
  */
 
 static void deferred_message_dispatch(struct tevent_context *event_ctx,
-                                     struct timed_event *te,
+                                     struct tevent_timer *te,
                                      struct timeval now,
                                      void *private_data)
 {
@@ -414,7 +414,7 @@ static NTSTATUS ctdb_read_req(struct ctdbd_connection *conn, uint32_t reqid,
        ctdb_packet_dump(hdr);
 
        if (hdr->operation == CTDB_REQ_MESSAGE) {
-               struct timed_event *evt;
+               struct tevent_timer *evt;
                struct deferred_msg_state *msg_state;
                struct ctdb_req_message *msg = (struct ctdb_req_message *)hdr;
 
index 5dd6d8d65b39516a384a4242c56ce5c6e1bf760a..08640d070af05186e24059c37f8a9821eb3ccc62 100644 (file)
@@ -1022,7 +1022,7 @@ done:
 }
 
 static void smbldap_idle_fn(struct tevent_context *tevent_ctx,
-                           struct timed_event *te,
+                           struct tevent_timer *te,
                            struct timeval now_abs,
                            void *private_data);
 
@@ -1633,7 +1633,7 @@ int smbldap_search_suffix (struct smbldap_state *ldap_state,
 }
 
 static void smbldap_idle_fn(struct tevent_context *tevent_ctx,
-                           struct timed_event *te,
+                           struct tevent_timer *te,
                            struct timeval now_abs,
                            void *private_data)
 {