s4:lib/tevent: rename structs
[samba.git] / source4 / nbt_server / register.c
index ebdb4dc0f8ce2b8546f39a8c2dd21410cccbf0fe..a2840ab5c03c4ba9b17ee479ffb2254299f92340 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "includes.h"
 #include "lib/events/events.h"
-#include "lib/util/dlinklist.h"
+#include "../lib/util/dlinklist.h"
 #include "nbt_server/nbt_server.h"
 #include "smbd/service_task.h"
 #include "libcli/composite/composite.h"
@@ -77,7 +77,7 @@ static void refresh_completion_handler(struct nbt_name_request *req)
 /*
   handle name refresh timer events
 */
-static void name_refresh_handler(struct event_context *ev, struct timed_event *te, 
+static void name_refresh_handler(struct tevent_context *ev, struct tevent_timer *te, 
                                 struct timeval t, void *private_data)
 {
        struct nbtd_iface_name *iname = talloc_get_type(private_data, struct nbtd_iface_name);