]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/dns.h
Probably doesnt work yet
[user/henk/code/inspircd.git] / include / dns.h
index 33b5f8c7ae7f21744294f89b901a27aac8ad573e..91e65577561fe6fc9035ca9d1966afe5ca3ba9ad 100644 (file)
@@ -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.
         */