diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-02 16:34:34 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-02 16:34:34 +0000 |
commit | 656e19351668cb5ada005d4e9e7e6d1f787990e2 (patch) | |
tree | c1673703a495d282fa8e99c0814cfeb4896c6b03 /include/dns.h | |
parent | c49148019103154a0d70c408450d78775e989c9b (diff) |
*UNTESTED DO NOT USE YET* - async dns for InspSocket as test - removing requirement on nss_dns.so.1
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3017 e03df62e-2008-0410-955e-edbf42e46eb7
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. */ |