diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-29 15:02:51 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-29 15:02:51 +0000 |
commit | 505e9556c01fe56a73e5582d33cc492c4a1815d1 (patch) | |
tree | 13affe4bfb35bd18b053119f4ebd509447099e59 /src/libserver | |
parent | 0088e71daa30e76061c88a582c7094fa888eabc0 (diff) | |
download | rspamd-505e9556c01fe56a73e5582d33cc492c4a1815d1.tar.gz rspamd-505e9556c01fe56a73e5582d33cc492c4a1815d1.zip |
Fix build.
Diffstat (limited to 'src/libserver')
-rw-r--r-- | src/libserver/dns.c | 7 | ||||
-rw-r--r-- | src/libserver/dns.h | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/src/libserver/dns.c b/src/libserver/dns.c index 1410442b7..3e97160af 100644 --- a/src/libserver/dns.c +++ b/src/libserver/dns.c @@ -30,13 +30,6 @@ #include "uthash.h" #include "rdns_event.h" -struct rspamd_dns_resolver { - struct rdns_resolver *r; - struct event_base *ev_base; - gdouble request_timeout; - guint max_retransmits; -}; - struct rspamd_dns_request_ud { struct rspamd_async_session *session; dns_callback_type cb; diff --git a/src/libserver/dns.h b/src/libserver/dns.h index 4882f539d..ffe80fae0 100644 --- a/src/libserver/dns.h +++ b/src/libserver/dns.h @@ -32,7 +32,12 @@ #include "logger.h" #include "rdns.h" -struct rspamd_dns_resolver; +struct rspamd_dns_resolver { + struct rdns_resolver *r; + struct event_base *ev_base; + gdouble request_timeout; + guint max_retransmits; +}; /* Rspamd DNS API */ |