diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | include/dns.h | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index 0b02b1292..f39aa4a55 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ /BSDmakefile /GNUmakefile /build +/docs/doxygen /inspircd /org.inspircd.plist /run @@ -18,4 +18,4 @@ many different users. * [Website](http://inspircd.org) * [GitHub](https://github.com/inspircd) -* IRC: #inspircd on irc.inspircd.org
\ No newline at end of file +* IRC: \#inspircd on irc.inspircd.org diff --git a/include/dns.h b/include/dns.h index 95abaaf80..de4bcf422 100644 --- a/include/dns.h +++ b/include/dns.h @@ -92,6 +92,7 @@ class CoreExport DNSResult * @param res The request result, a hostname or IP * @param timetolive The request time-to-live * @param orig The original request, a hostname or IP + * @param qt The type of DNS query this result represents. */ DNSResult(int i, const std::string &res, unsigned long timetolive, const std::string &orig, QueryType qt = DNS_QUERY_NONE) : id(i), result(res), ttl(timetolive), original(orig), type(qt) { } }; @@ -118,6 +119,7 @@ class CoreExport CachedQuery /** Build a cached query * @param res The result data, an IP or hostname + * @param qt The type of DNS query this instance represents. * @param ttl The time-to-live value of the query result */ CachedQuery(const std::string &res, QueryType qt, unsigned int ttl); |