diff options
Diffstat (limited to 'source4/smbd/process_model.h')
-rw-r--r-- | source4/smbd/process_model.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/source4/smbd/process_model.h b/source4/smbd/process_model.h index 19212606c1..c2a5c9e9e8 100644 --- a/source4/smbd/process_model.h +++ b/source4/smbd/process_model.h @@ -44,14 +44,21 @@ struct model_ops { void (*model_init)(struct event_context *); /* function to accept new connection */ - void (*accept_connection)(struct event_context *, struct socket_context *, - void (*)(struct event_context *, struct socket_context *, + void (*accept_connection)(struct event_context *, + struct loadparm_context *, + struct socket_context *, + void (*)(struct event_context *, + struct loadparm_context *, + struct socket_context *, struct server_id , void *), void *); /* function to create a task */ void (*new_task)(struct event_context *, - void (*)(struct event_context *, struct server_id, void *), + struct loadparm_context *lp_ctx, + void (*)(struct event_context *, + struct loadparm_context *, struct server_id, + void *), void *); /* function to terminate a connection or task */ |