diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-21 13:33:49 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-21 15:04:01 +0100 |
commit | d145c09388867031cff47e35bca74effd6c25fe8 (patch) | |
tree | 1a38ee94da419e2bed905b94fdeb98b170261932 /src/libserver/dns.h | |
parent | 2b2c4414ae050ac7f3cfe67aa8b20061dd5bcd5c (diff) | |
download | rspamd-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.h | 6 |
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 |