diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-15 12:55:03 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-15 12:55:03 +0000 |
commit | 844e34179a661f0c372ea726adff5776be55bbaa (patch) | |
tree | 08d8dd86dc37c0dce2aafc570e476181b0c8cdec /contrib/librdns/dns_private.h | |
parent | b7c422bbbfb760a6085e8b36e9be15151892960a (diff) | |
download | rspamd-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.h | 3 |
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; |