summaryrefslogtreecommitdiff
path: root/include/dns.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-12 12:49:12 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-12 12:49:12 +0000
commit2e816169a426511ec7c2a45b7bc7947358310b2d (patch)
treedb312b948d3821367f96c80cf713aed3194ad583 /include/dns.h
parent280f52aeae72a3383e1e10b2f2a5952e7b1413b7 (diff)
Attempts to make DNS nicer with new socket engine
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2332 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/dns.h')
-rw-r--r--include/dns.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dns.h b/include/dns.h
index f1c118909..63d5bb1fb 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -82,6 +82,9 @@ public:
* to determine the status of the socket.
*/
bool HasResult();
+ /** This method will return true if the lookup's fd matches the one provided
+ */
+ bool HasResult(int fd);
/** This method returns the result of your query as a string, depending upon wether you
* called DNS::ReverseLookup() or DNS::ForwardLookup.
*/