aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/librdns/dns_private.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-15 12:55:03 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-15 12:55:03 +0000
commit844e34179a661f0c372ea726adff5776be55bbaa (patch)
tree08d8dd86dc37c0dce2aafc570e476181b0c8cdec /contrib/librdns/dns_private.h
parentb7c422bbbfb760a6085e8b36e9be15151892960a (diff)
downloadrspamd-844e34179a661f0c372ea726adff5776be55bbaa.tar.gz
rspamd-844e34179a661f0c372ea726adff5776be55bbaa.zip
[Feature] Rework librdns to interact with external upstreams
Diffstat (limited to 'contrib/librdns/dns_private.h')
-rw-r--r--contrib/librdns/dns_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/librdns/dns_private.h b/contrib/librdns/dns_private.h
index 76e32496d..28ab60a59 100644
--- a/contrib/librdns/dns_private.h
+++ b/contrib/librdns/dns_private.h
@@ -51,6 +51,7 @@ struct rdns_server {
unsigned int io_cnt;
struct rdns_io_channel **io_channels;
+ void *ups_elt;
upstream_entry_t up;
};
@@ -112,7 +113,7 @@ struct rdns_resolver {
struct rdns_io_channel *io_channels; /**< hash of io chains indexed by socket */
struct rdns_async_context *async; /** async callbacks */
void *periodic; /** periodic event for resolver */
-
+ struct rdns_upstream_context *ups;
struct rdns_plugin *curve_plugin;
rdns_log_function logger;