aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/map.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-16 16:25:09 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-16 16:25:09 +0000
commit20efe9b2184ce2e0e0527db567fb8c74d0a5a34c (patch)
tree9505494e54a0b8c217b46320c5a2bfda7c6105be /src/libutil/map.h
parent947bd90138c8e5a5288a76708cf59349b79ebfe4 (diff)
downloadrspamd-20efe9b2184ce2e0e0527db567fb8c74d0a5a34c.tar.gz
rspamd-20efe9b2184ce2e0e0527db567fb8c74d0a5a34c.zip
Start the complete HTTP maps rework
Diffstat (limited to 'src/libutil/map.h')
-rw-r--r--src/libutil/map.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libutil/map.h b/src/libutil/map.h
index 56933a1cc..80be704e8 100644
--- a/src/libutil/map.h
+++ b/src/libutil/map.h
@@ -6,6 +6,7 @@
#include "mem_pool.h"
#include "radix.h"
+#include "dns.h"
/**
* Maps API is designed to load lists data from different dynamic sources.
@@ -57,7 +58,9 @@ gboolean rspamd_map_add (struct rspamd_config *cfg,
/**
* Start watching of maps by adding events to libevent event loop
*/
-void rspamd_map_watch (struct rspamd_config *cfg, struct event_base *ev_base);
+void rspamd_map_watch (struct rspamd_config *cfg,
+ struct rspamd_dns_resolver *resolver,
+ struct event_base *ev_base);
/**
* Remove all maps watched (remove events)