diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-04-06 19:26:25 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-04-06 19:26:25 +0400 |
commit | 1cb8543e85476db7e01f9a30cedc509d26b78b9b (patch) | |
tree | 2560d92a859b651089443dc71360a30811f61c2d /src/upstream.h | |
parent | 87fd3373b9e8f0b3356ded2949e09b00b251599c (diff) | |
download | rspamd-1cb8543e85476db7e01f9a30cedc509d26b78b9b.tar.gz rspamd-1cb8543e85476db7e01f9a30cedc509d26b78b9b.zip |
* Add ability to specify dns nameservers in a config
* Add ability to select between round-robin and master-slave algorithms for dns servers
Diffstat (limited to 'src/upstream.h')
-rw-r--r-- | src/upstream.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/upstream.h b/src/upstream.h index 501071a42..0836d2cfd 100644 --- a/src/upstream.h +++ b/src/upstream.h @@ -36,6 +36,10 @@ struct upstream* get_upstream_by_hash_ketama (void *ups, size_t members, size_t time_t error_timeout, time_t revive_timeout, size_t max_errors, gchar *key, size_t keylen); +struct upstream* get_upstream_master_slave (void *ups, size_t members, size_t msize, + time_t now, time_t error_timeout, + time_t revive_timeout, size_t max_errors); + #endif /* UPSTREAM_H */ /* |