diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2013-01-05 20:29:26 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2013-01-05 20:29:26 +0400 |
commit | 393a7c39ecc9224faa7c11afc32c8e74f54ea3c5 (patch) | |
tree | 4082f7e479ada5b1002ca1592ad8577f745de0f1 /src/cfg_file.h | |
parent | 6de87da477a194e566e3c672d5d41da743d6641d (diff) | |
download | rspamd-393a7c39ecc9224faa7c11afc32c8e74f54ea3c5.tar.gz rspamd-393a7c39ecc9224faa7c11afc32c8e74f54ea3c5.zip |
Add webui handler for rspamd (skeleton).
Fix url detector.
Add group option for modules options.
Some fixes in controller and rrd code.
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r-- | src/cfg_file.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h index 47e22cafd..c6c8487ce 100644 --- a/src/cfg_file.h +++ b/src/cfg_file.h @@ -130,7 +130,9 @@ enum lua_var_type { */ struct module_opt { gchar *param; /**< parameter name */ - gchar *value; /**< paramater value */ + gchar *value; /**< parameter value */ + gchar *description; /**< parameter description */ + gchar *group; /**< parameter group */ gpointer actual_data; /**< parsed data */ gboolean is_lua; /**< actually this is lua variable */ enum lua_var_type lua_type; /**< type of lua variable */ @@ -337,6 +339,8 @@ struct config_file { gchar* dump_checksum; /**< dump checksum of config file */ gpointer lua_state; /**< pointer to lua state */ + gchar* rrd_file; /**< rrd file to store statistics */ + guint32 dns_timeout; /**< timeout in milliseconds for waiting for dns reply */ guint32 dns_retransmits; /**< maximum retransmits count */ guint32 dns_throttling_errors; /**< maximum errors for starting resolver throttling */ |