diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-02-18 10:18:29 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-02-19 23:47:58 +0100 |
commit | 59b8f803d74c45e2477c533b5b380afb011f8ebe (patch) | |
tree | 4b9b0d6ff53c8657669f3af128c2b32691a7fb12 /source3 | |
parent | 39660e6d88b54aee668e3f78bba83f036f1ff95c (diff) | |
download | samba-59b8f803d74c45e2477c533b5b380afb011f8ebe.tar.gz samba-59b8f803d74c45e2477c533b5b380afb011f8ebe.tar.bz2 samba-59b8f803d74c45e2477c533b5b380afb011f8ebe.zip |
s3:lib: s/struct timed_event/struct tevent_timer
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/smbldap.h | 2 | ||||
-rw-r--r-- | source3/lib/ctdbd_conn.c | 4 | ||||
-rw-r--r-- | source3/lib/smbldap.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h index ea944cf78f..ec5ff1ce84 100644 --- a/source3/include/smbldap.h +++ b/source3/include/smbldap.h @@ -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 */ }; diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 4e66c176aa..bae70c6fb5 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -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; diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c index 5dd6d8d65b..08640d070a 100644 --- a/source3/lib/smbldap.c +++ b/source3/lib/smbldap.c @@ -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) { |