summaryrefslogtreecommitdiffstats
path: root/runtime/conf.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-07-29 10:07:50 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-07-29 10:07:50 +0200
commitd2feb7063e73938c05b76862ea2e211cc09b30fe (patch)
treebb37e988053c1be6a7227a7f616fa239ac11e214 /runtime/conf.h
parentb7c91420b0814ee20088d27953582a5064c9a467 (diff)
downloadrsyslog-d2feb7063e73938c05b76862ea2e211cc09b30fe.tar.gz
rsyslog-d2feb7063e73938c05b76862ea2e211cc09b30fe.tar.xz
rsyslog-d2feb7063e73938c05b76862ea2e211cc09b30fe.zip
enhanced configuration file error reporting and verification
- enhanced config file checking - no active actions are detected - added -N rsyslogd command line option for a config validation run (which does not execute actual syslogd code and does not interfere with a running instance) - somewhat improved emergency configuration. It is now also selected if the config contains no active actions - rsyslogd error messages are now reported to stderr by default. can be turned off by the new "$ErrorMessagesToStderr off" directive Thanks to HKS for suggesting these new features.
Diffstat (limited to 'runtime/conf.h')
-rw-r--r--runtime/conf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/conf.h b/runtime/conf.h
index 31ca27b3..2494d4dc 100644
--- a/runtime/conf.h
+++ b/runtime/conf.h
@@ -37,8 +37,10 @@ BEGINinterface(conf) /* name must also be changed in ENDinterface macro! */
rsRetVal (*doIncludeLine)(uchar **pp, __attribute__((unused)) void* pVal);
rsRetVal (*cfline)(uchar *line, selector_t **pfCurr);
rsRetVal (*processConfFile)(uchar *pConfFile);
+ rsRetVal (*ReInitConf)(void);
+ rsRetVal (*GetNbrActActions)(int *);
ENDinterface(conf)
-#define confCURR_IF_VERSION 1 /* increment whenever you change the interface structure! */
+#define confCURR_IF_VERSION 2 /* increment whenever you change the interface structure! */
/* prototypes */