summaryrefslogtreecommitdiff
path: root/docs/man/man3/DNS.3
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man/man3/DNS.3')
-rw-r--r--docs/man/man3/DNS.310
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/man/man3/DNS.3 b/docs/man/man3/DNS.3
index 95597b880..d88cb6f54 100644
--- a/docs/man/man3/DNS.3
+++ b/docs/man/man3/DNS.3
@@ -1,4 +1,4 @@
-.TH "DNS" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "DNS" 3 "12 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -38,6 +38,10 @@ DNS \- The DNS class allows fast nonblocking resolution of hostnames and ip addr
.br
.RI "\fIThis method will return true when the lookup is completed. \fP"
.ti -1c
+.RI "bool \fBHasResult\fP (int fd)"
+.br
+.RI "\fIThis method will return true if the lookup's fd matches the one provided. \fP"
+.ti -1c
.RI "\fBstd::string\fP \fBGetResult\fP ()"
.br
.RI "\fIThis method returns the result of your query as a string, depending upon wether you called \fBDNS::ReverseLookup()\fP or \fBDNS::ForwardLookup\fP. \fP"
@@ -186,6 +190,10 @@ This method returns the result of your query as a string, depending upon wether
.PP
.SS "\fBstd::string\fP DNS::GetResultIP ()"
.PP
+.SS "bool DNS::HasResult (int fd)"
+.PP
+This method will return true if the lookup's fd matches the one provided.
+.PP
.SS "bool DNS::HasResult ()"
.PP
This method will return true when the lookup is completed.