#include "includes.h"
#include "smbd/process_model.h"
-#include "smbd/process_model_proto.h"
#include "param/param.h"
static const struct model_ops *process_model_byname(const char *name);
/*
setup the events for the chosen process model
*/
-_PUBLIC_ const struct model_ops *process_model_startup(struct event_context *ev, const char *model)
+_PUBLIC_ const struct model_ops *process_model_startup(struct tevent_context *ev, const char *model)
{
const struct model_ops *ops;
extern NTSTATUS process_model_thread_init(void);
extern NTSTATUS process_model_standard_init(void);
extern NTSTATUS process_model_prefork_init(void);
+ extern NTSTATUS process_model_onefork_init(void);
extern NTSTATUS process_model_single_init(void);
init_module_fn static_init[] = { STATIC_process_model_MODULES };
init_module_fn *shared_init = load_samba_modules(NULL, lp_ctx, "process_model");