summaryrefslogtreecommitdiff
path: root/include/dns.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-03-23 00:42:59 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-03-23 00:42:59 +0100
commit4dd7fb60a8e46856cb2df3fcda56b9b119072552 (patch)
tree1241083d40e5c390c91e651975d6b8d465525af5 /include/dns.h
parent74fa7f46dc0ad87c9e55b3fb26f65d7a3d05ab97 (diff)
parentc38d29fd760a52958377a0664cbcdf74e9a12c84 (diff)
Merge pull request #1004 from SaberUK/insp20+fix-various-warnings
[2.0] Fix various warnings with the new Doxygen and LLVM releases.
Diffstat (limited to 'include/dns.h')
-rw-r--r--include/dns.h2
1 files changed, 2 insertions, 0 deletions
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);