summaryrefslogtreecommitdiff
path: root/source4/smbd/process_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd/process_model.h')
-rw-r--r--source4/smbd/process_model.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/source4/smbd/process_model.h b/source4/smbd/process_model.h
index 943538d7b2..2e064f4277 100644
--- a/source4/smbd/process_model.h
+++ b/source4/smbd/process_model.h
@@ -44,8 +44,14 @@ struct model_ops {
uint32_t , void *),
void *);
- /* function to terminate a connection */
- void (*terminate_connection)(struct event_context *, const char *reason);
+ /* function to create a task */
+ void (*new_task)(struct event_context *,
+ void (*)(struct event_context *, uint32_t, void *),
+ void *);
+
+ /* function to terminate a task */
+ void (*terminate)(struct event_context *, const char *reason);
+
};
/* this structure is used by modules to determine the size of some critical types */