From 4458162a943a432b5f8517182e2ee7aab2590f85 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 3 Oct 2008 13:01:57 -0400 Subject: Initital server code. Includes test monitor task. --- server/service_proto.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 server/service_proto.h (limited to 'server/service_proto.h') diff --git a/server/service_proto.h b/server/service_proto.h new file mode 100644 index 00000000..a42a32dc --- /dev/null +++ b/server/service_proto.h @@ -0,0 +1,23 @@ +#ifndef __SSSD_SERVICE_PROTO_H__ +#define __SSSD_SERVICE_PROTO_H__ + +/* The following definitions come from service.c */ + +NTSTATUS register_server_service(const char *name, + void (*task_init)(struct task_server *)); +NTSTATUS server_service_startup(struct event_context *event_ctx, + struct loadparm_context *lp_ctx, + const char *model, const char **server_services); + +/* The following definitions come from service_task.c */ + +void task_server_terminate(struct task_server *task, const char *reason); +NTSTATUS task_server_startup(struct event_context *event_ctx, + struct loadparm_context *lp_ctx, + const char *service_name, + const struct model_ops *model_ops, + void (*task_init)(struct task_server *)); +void task_server_set_title(struct task_server *task, const char *title); + +#endif /* __SSSD_SERVICE_PROTO_H__ */ + -- cgit