summaryrefslogtreecommitdiffstats
path: root/src/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-02-26 18:51:31 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-02-26 18:51:31 +0300
commit120980beba47758d7627038760382ee57f0d33ab (patch)
tree2213a14df2f90bf79a0a4f1a30be27a30b2a9a7a /src/cfg_file.h
parentcfb5348f75790ef694edd5a9c131890eeceec204 (diff)
downloadrspamd-120980beba47758d7627038760382ee57f0d33ab.tar.gz
rspamd-120980beba47758d7627038760382ee57f0d33ab.zip
* Fix logging when process is starting
* Add -t option for config testing * Try to search default config in install prefix not in current directory
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r--src/cfg_file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h
index 7bacb8aa9..78ad6e93a 100644
--- a/src/cfg_file.h
+++ b/src/cfg_file.h
@@ -153,7 +153,8 @@ struct config_file {
int controller_enabled; /**< whether controller is enabled */
char *control_password; /**< controller password */
- int no_fork; /**< if 1 do not call daemon() */
+ gboolean no_fork; /**< if 1 do not call daemon() */
+ gboolean config_test; /**< if TRUE do only config file test */
unsigned int workers_number; /**< number of workers */
enum rspamd_log_type log_type; /**< log type */