diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-10 10:22:50 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-09-10 17:28:35 -0400 |
commit | 1f4f4f16337c37ab5680aacbfb45abecad8fcc0b (patch) | |
tree | 951a36797d1dd10cd83238b574a3f942af235305 /server/monitor/monitor.h | |
parent | 5b72a797f454639496087fde6715237115be0b0a (diff) | |
download | sssd-1f4f4f16337c37ab5680aacbfb45abecad8fcc0b.tar.gz sssd-1f4f4f16337c37ab5680aacbfb45abecad8fcc0b.tar.bz2 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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/monitor/monitor.h b/server/monitor/monitor.h index 0127bbff..78e10ef1 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 */ |