diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-01 17:54:25 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-01 17:54:25 +0400 |
commit | 9ac84380ce6d4ceb40bc0f4ca10c8c2ce8818790 (patch) | |
tree | cc5ff370a6a37532ddb17e5abef8eda56f4e431c /src/cfg_file.h | |
parent | 83cc70ff18209116bd486b4932f206dd5a3fd83f (diff) | |
download | rspamd-9ac84380ce6d4ceb40bc0f4ca10c8c2ce8818790.tar.gz rspamd-9ac84380ce6d4ceb40bc0f4ca10c8c2ce8818790.zip |
* Add resolv.conf parsing into dns.c
* Fix microseconds<->milliseconds conversions
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r-- | src/cfg_file.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h index 24b8b327e..aad42d88c 100644 --- a/src/cfg_file.h +++ b/src/cfg_file.h @@ -300,6 +300,10 @@ struct config_file { gchar* checksum; /**< real checksum of config file */ gchar* dump_checksum; /**< dump checksum of config file */ gpointer lua_state; /**< pointer to lua state */ + + guint dns_timeout; /**< timeout in milliseconds for waiting for dns reply */ + guint dns_retransmits; /**< maximum retransmits count */ + GList *nameservers; /**< list of nameservers or NULL to parse resolv.conf */ }; |