summaryrefslogtreecommitdiff
path: root/source4/smbd/process_model.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd/process_model.c')
-rw-r--r--source4/smbd/process_model.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/source4/smbd/process_model.c b/source4/smbd/process_model.c
index f981b36798..0bdb316317 100644
--- a/source4/smbd/process_model.c
+++ b/source4/smbd/process_model.c
@@ -24,8 +24,7 @@
/*
setup the events for the chosen process model
*/
-void process_model_startup(struct event_context *events,
- const char *model)
+const struct model_ops *process_model_startup(const char *model)
{
const struct model_ops *ops;
@@ -37,12 +36,7 @@ void process_model_startup(struct event_context *events,
ops->model_startup();
- /* now setup the listening sockets, adding
- event handlers to the events structure */
- open_sockets_smbd(events, ops);
-
- /* setup any sockets we need to listen on for RPC over TCP */
- open_sockets_rpc(events, ops);
+ return ops;
}
/* the list of currently registered process models */