mirror of
https://github.com/samba-team/samba.git
synced 2025-02-22 05:57:43 +03:00
s3:lib: s/struct timed_event/struct tevent_timer
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
39660e6d88
commit
59b8f803d7
@ -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 */
|
||||
};
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user