s3:winbindd: s/struct timed_event/struct tevent_timer
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2013 09:17:40 +0000 (10:17 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2013 22:47:55 +0000 (23:47 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/winbindd/winbindd.h
source3/winbindd/winbindd_cm.c
source3/winbindd/winbindd_cred_cache.c
source3/winbindd/winbindd_dual.c

index c01cac7ab3a0f1e6609f9075e873b304f995dabd..5a8aed193075a7db17e2ece763a5a4aa77a5aae1 100644 (file)
@@ -137,8 +137,8 @@ struct winbindd_child {
        struct tevent_queue *queue;
        struct dcerpc_binding_handle *binding_handle;
 
-       struct timed_event *lockout_policy_event;
-       struct timed_event *machine_password_change_event;
+       struct tevent_timer *lockout_policy_event;
+       struct tevent_timer *machine_password_change_event;
 
        const struct winbindd_child_dispatch_table *table;
 };
@@ -213,7 +213,7 @@ struct winbindd_domain {
        /* Callback we use to try put us back online. */
 
        uint32 check_online_timeout;
-       struct timed_event *check_online_event;
+       struct tevent_timer *check_online_event;
 
        /* Linked list info */
 
@@ -386,7 +386,7 @@ struct WINBINDD_CCACHE_ENTRY {
        time_t create_time;
        time_t renew_until;
        time_t refresh_time;
-       struct timed_event *event;
+       struct tevent_timer *event;
 };
 
 #include "winbindd/winbindd_proto.h"
index 25bb0345dc47aca69ed8a08283d2fc4735d0995a..b2f8cc481a0b923733efe3a7268a116bf0d94812 100644 (file)
@@ -287,7 +287,7 @@ static bool fork_child_dc_connect(struct winbindd_domain *domain)
 ****************************************************************/
 
 static void check_domain_online_handler(struct tevent_context *ctx,
-                                       struct timed_event *te,
+                                       struct tevent_timer *te,
                                        struct timeval now,
                                        void *private_data)
 {
index ac5b329d85e698e66a8f9fbd859d041c6eedf6c3..293a821a23a5d3ddec80faba6a0b777d861bedf9 100644 (file)
@@ -39,7 +39,7 @@
 
 static struct WINBINDD_CCACHE_ENTRY *ccache_list;
 static void krb5_ticket_gain_handler(struct tevent_context *,
-                                    struct timed_event *,
+                                    struct tevent_timer *,
                                     struct timeval,
                                     void *);
 static void add_krb5_ticket_gain_handler_event(struct WINBINDD_CCACHE_ENTRY *,
@@ -105,7 +105,7 @@ void ccache_remove_all_after_fork(void)
 ****************************************************************/
 
 static void krb5_ticket_refresh_handler(struct tevent_context *event_ctx,
-                                       struct timed_event *te,
+                                       struct tevent_timer *te,
                                        struct timeval now,
                                        void *private_data)
 {
@@ -298,7 +298,7 @@ done:
 ****************************************************************/
 
 static void krb5_ticket_gain_handler(struct tevent_context *event_ctx,
-                                    struct timed_event *te,
+                                    struct tevent_timer *te,
                                     struct timeval now,
                                     void *private_data)
 {
@@ -417,7 +417,7 @@ void ccache_regain_all_now(void)
        struct timeval t = timeval_current();
 
        for (cur = ccache_list; cur; cur = cur->next) {
-               struct timed_event *new_event;
+               struct tevent_timer *new_event;
 
                /*
                 * if refresh_time is 0, we know that the
index 29bb1f8940742e2c1de7f9246d31d615ca480674..b4ef0bd79ebaaae80f28e9e1bc317da50e5bb8c3 100644 (file)
@@ -860,7 +860,7 @@ void winbind_msg_dump_domain_list(struct messaging_context *msg_ctx,
 }
 
 static void account_lockout_policy_handler(struct tevent_context *ctx,
-                                          struct timed_event *te,
+                                          struct tevent_timer *te,
                                           struct timeval now,
                                           void *private_data)
 {
@@ -977,7 +977,7 @@ static bool calculate_next_machine_pwd_change(const char *domain,
 }
 
 static void machine_password_change_handler(struct tevent_context *ctx,
-                                           struct timed_event *te,
+                                           struct tevent_timer *te,
                                            struct timeval now,
                                            void *private_data)
 {