s3:nmbd: s/struct event_context/struct tevent_context
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2013 08:58:40 +0000 (09:58 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2013 22:47:53 +0000 (23:47 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/include/event.h
source3/nmbd/nmbd.c
source3/nmbd/nmbd_processlogon.c
source3/nmbd/nmbd_proto.h

index 86af6fe..d5decaa 100644 (file)
@@ -23,9 +23,9 @@
 
 /* The following definitions come from lib/events.c  */
 struct pollfd;
-struct timeval *get_timed_events_timeout(struct event_context *event_ctx,
+struct timeval *get_timed_events_timeout(struct tevent_context *event_ctx,
                                         struct timeval *to_ret);
-void dump_event_list(struct event_context *event_ctx);
+void dump_event_list(struct tevent_context *event_ctx);
 struct tevent_context *s3_tevent_context_init(TALLOC_CTX *mem_ctx);
 
 bool event_add_to_poll_args(struct tevent_context *ev, TALLOC_CTX *mem_ctx,
@@ -34,7 +34,7 @@ bool event_add_to_poll_args(struct tevent_context *ev, TALLOC_CTX *mem_ctx,
 bool run_events_poll(struct tevent_context *ev, int pollrtn,
                     struct pollfd *pfds, int num_pfds);
 
-struct idle_event *event_add_idle(struct event_context *event_ctx,
+struct idle_event *event_add_idle(struct tevent_context *event_ctx,
                                  TALLOC_CTX *mem_ctx,
                                  struct timeval interval,
                                  const char *name,
index 49f0cdf..12afb00 100644 (file)
@@ -43,7 +43,7 @@ bool found_lm_clients = False;
 
 time_t StartupTime = 0;
 
-struct event_context *nmbd_event_context(void)
+struct tevent_context *nmbd_event_context(void)
 {
        return server_event_context();
 }
index ca77ebf..4dedb5f 100644 (file)
@@ -56,7 +56,7 @@ static bool delay_logon(const char *peer_name, const char *peer_addr)
        return list_match(delay_list, (const char *)peer, client_match);
 }
 
-static void delayed_init_logon_handler(struct event_context *event_ctx,
+static void delayed_init_logon_handler(struct tevent_context *event_ctx,
                                       struct timed_event *te,
                                       struct timeval now,
                                       void *private_data)
index 59ad423..4bcf100 100644 (file)
@@ -36,7 +36,7 @@ void kill_async_dns_child(void);
 
 /* The following definitions come from nmbd/nmbd.c  */
 
-struct event_context *nmbd_event_context(void);
+struct tevent_context *nmbd_event_context(void);
 
 /* The following definitions come from nmbd/nmbd_become_dmb.c  */