From d145c09388867031cff47e35bca74effd6c25fe8 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 21 Jul 2015 13:33:49 +0100 Subject: Add constraints to dns requests ammount per task. --- src/libserver/dns.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libserver/dns.h') 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 -- cgit v1.2.3