#include "lib/socket/socket.h"
#include "smbd/service.h"
+#include "smbd/process_model_proto.h"
/* modules can use the following to determine if the interface has changed
* please increment the version number after each interface change
const char *name;
/* called at startup when the model is selected */
- void (*model_init)(struct tevent_context *);
+ void (*model_init)(void);
/* function to accept new connection */
void (*accept_connection)(struct tevent_context *,
extern const struct model_ops single_ops;
-const struct model_ops *process_model_startup(struct tevent_context *ev, const char *model);
-NTSTATUS register_process_model(const void *_ops);
+const struct model_ops *process_model_startup(const char *model);
+NTSTATUS register_process_model(const struct model_ops *ops);
NTSTATUS process_model_init(struct loadparm_context *lp_ctx);
#endif /* __PROCESS_MODEL_H__ */