summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 09:58:40 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:47:53 +0100
commit5743277ed6297ce77afcdb7b336c8929c83af8a3 (patch)
tree87de31bd07ec873bef99001bacf48efa79204a11 /source3/nmbd
parent99367d413ac00d631fe0e559473395feee6cfc5a (diff)
downloadsamba-5743277ed6297ce77afcdb7b336c8929c83af8a3.tar.gz
samba-5743277ed6297ce77afcdb7b336c8929c83af8a3.tar.bz2
samba-5743277ed6297ce77afcdb7b336c8929c83af8a3.zip
s3:nmbd: s/struct event_context/struct tevent_context
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd.c2
-rw-r--r--source3/nmbd/nmbd_processlogon.c2
-rw-r--r--source3/nmbd/nmbd_proto.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 49f0cdf457..12afb00993 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -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();
}
diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c
index ca77ebf1d2..4dedb5fa5f 100644
--- a/source3/nmbd/nmbd_processlogon.c
+++ b/source3/nmbd/nmbd_processlogon.c
@@ -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)
diff --git a/source3/nmbd/nmbd_proto.h b/source3/nmbd/nmbd_proto.h
index 59ad423f03..4bcf100d57 100644
--- a/source3/nmbd/nmbd_proto.h
+++ b/source3/nmbd/nmbd_proto.h
@@ -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 */