struct new_conn_state *state;
struct event_context *ev2;
- ev2 = event_context_init(ev);
+ ev2 = s4_event_context_init(ev);
if (ev2 == NULL) return;
state = talloc(ev2, struct new_conn_state);
struct new_task_state *state;
struct event_context *ev2;
- ev2 = event_context_init(ev);
+ ev2 = s4_event_context_init(ev);
if (ev2 == NULL) return;
state = talloc(ev2, struct new_task_state);
}
/* called when a task goes down */
-static void thread_terminate(struct event_context *event_ctx, const char *reason)
+static void thread_terminate(struct event_context *event_ctx, struct loadparm_context *lp_ctx, const char *reason)
{
DEBUG(10,("thread_terminate: reason[%s]\n",reason));