summaryrefslogtreecommitdiffstats
path: root/server/monitor/monitor.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-09-10 10:22:50 -0400
committerSimo Sorce <ssorce@redhat.com>2009-09-10 17:28:35 -0400
commit1f4f4f16337c37ab5680aacbfb45abecad8fcc0b (patch)
tree951a36797d1dd10cd83238b574a3f942af235305 /server/monitor/monitor.h
parent5b72a797f454639496087fde6715237115be0b0a (diff)
downloadsssd-1f4f4f16337c37ab5680aacbfb45abecad8fcc0b.tar.gz
sssd-1f4f4f16337c37ab5680aacbfb45abecad8fcc0b.tar.xz
sssd-1f4f4f16337c37ab5680aacbfb45abecad8fcc0b.zip
Read the configuration parsing before daemonization
We will now parse the config file and validate the confdb contents before processing the rest of the monitor startup. This will allow us to return an appropriate error code to the shell if the configuration is invalid.
Diffstat (limited to 'server/monitor/monitor.h')
-rw-r--r--server/monitor/monitor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/monitor/monitor.h b/server/monitor/monitor.h
index 0127bbffd..78e10ef1f 100644
--- a/server/monitor/monitor.h
+++ b/server/monitor/monitor.h
@@ -28,9 +28,9 @@
typedef int (*monitor_reconf_fn) (struct config_file_ctx *file_ctx,
const char *filename);
-int monitor_process_init(TALLOC_CTX *mem_ctx,
- struct tevent_context *event_ctx,
- struct confdb_ctx *cdb,
+struct mt_ctx;
+
+int monitor_process_init(struct mt_ctx *ctx,
const char *config_file);
#endif /* _MONITOR_H */