aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/dns.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-21 13:33:49 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-21 15:04:01 +0100
commitd145c09388867031cff47e35bca74effd6c25fe8 (patch)
tree1a38ee94da419e2bed905b94fdeb98b170261932 /src/libserver/dns.h
parent2b2c4414ae050ac7f3cfe67aa8b20061dd5bcd5c (diff)
downloadrspamd-d145c09388867031cff47e35bca74effd6c25fe8.tar.gz
rspamd-d145c09388867031cff47e35bca74effd6c25fe8.zip
Add constraints to dns requests ammount per task.
Diffstat (limited to 'src/libserver/dns.h')
-rw-r--r--src/libserver/dns.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libserver/dns.h b/src/libserver/dns.h
index ffe80fae0..bc27f7d48 100644
--- a/src/libserver/dns.h
+++ b/src/libserver/dns.h
@@ -66,4 +66,10 @@ gboolean make_dns_request (struct rspamd_dns_resolver *resolver,
enum rdns_request_type type,
const char *name);
+gboolean make_dns_request_task (struct rspamd_task *task,
+ dns_callback_type cb,
+ gpointer ud,
+ enum rdns_request_type type,
+ const char *name);
+
#endif