diff options
Diffstat (limited to 'include/dns.h')
-rw-r--r-- | include/dns.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dns.h b/include/dns.h index 33b5f8c7a..91e655775 100644 --- a/include/dns.h +++ b/include/dns.h @@ -78,6 +78,9 @@ public: * and returns true if the lookup was successfully initiated. */ bool ForwardLookup(std::string host); + /** Used by modules to perform a dns lookup but have the socket engine poll a module, instead of the dns object directly. + */ + bool ForwardLookupWithFD(std::string host, int &fd); /** This method will return true when the lookup is completed. It uses poll internally * to determine the status of the socket. */ |