s4-server: make server sockets a child of the task context
[samba.git] / source4 / smb_server / smb_server.h
index 4399dc8c70fce24f9a6c48467be51e467f08ada2..6088853743bb941626bf5afc651e0fd33f799c1a 100644 (file)
@@ -395,10 +395,11 @@ struct smbsrv_connection {
 struct model_ops;
 struct loadparm_context;
 
-NTSTATUS smbsrv_add_socket(struct tevent_context *event_context,
+NTSTATUS smbsrv_add_socket(TALLOC_CTX *mem_ctx,
+                          struct tevent_context *event_context,
                           struct loadparm_context *lp_ctx,
-                              const struct model_ops *model_ops,
-                              const char *address);
+                          const struct model_ops *model_ops,
+                          const char *address);
 
 struct loadparm_context;