summaryrefslogtreecommitdiff
path: root/include/dns.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-12 12:43:55 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-12 12:43:55 +0000
commitd4cb72e31251cf879e65854c82685dddf59072a6 (patch)
treec4bd6f8827179c9564ec61aeb2e4417830a48cd8 /include/dns.h
parent1905cc30e04e59bd40f5106cc66b575b0e680177 (diff)
Make it work:
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4357 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/dns.h')
-rw-r--r--include/dns.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dns.h b/include/dns.h
index 89dd4e270..6da7d4778 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -82,11 +82,11 @@ public:
* format, e.g. 1.2.3.4, and returns true if the lookup was successfully
* initiated.
*/
- bool ReverseLookup(const std::string &ip);
+ bool ReverseLookup(const std::string &ip, bool ins);
/** This method will start the forward lookup of a hostname, e.g. www.inspircd.org,
* and returns true if the lookup was successfully initiated.
*/
- bool ForwardLookup(const std::string &host);
+ bool ForwardLookup(const std::string &host, bool ins);
/** Used by modules to perform a dns lookup but have the socket engine poll a module, instead of the dns object directly.
*/
bool ForwardLookupWithFD(const std::string &host, int &fd);