summaryrefslogtreecommitdiff
path: root/iterator/iter_utils.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2015-09-17 15:21:27 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2015-09-17 15:21:27 +0000
commitaf3dabbf15fa4d0e7e45a43fbf9a2195edfa941c (patch)
treeee00f42bccdce0e3581d05a17f58bb7429f0ceda /iterator/iter_utils.h
parent0ea28240053521a309698413a426b4d730a3d60c (diff)
downloadsrc-test2-af3dabbf15fa4d0e7e45a43fbf9a2195edfa941c.tar.gz
src-test2-af3dabbf15fa4d0e7e45a43fbf9a2195edfa941c.zip
Notes
Diffstat (limited to 'iterator/iter_utils.h')
-rw-r--r--iterator/iter_utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/iterator/iter_utils.h b/iterator/iter_utils.h
index 9373487e002c..3a4df3e45968 100644
--- a/iterator/iter_utils.h
+++ b/iterator/iter_utils.h
@@ -232,6 +232,14 @@ int reply_equal(struct reply_info* p, struct reply_info* q, struct regional* reg
void caps_strip_reply(struct reply_info* rep);
/**
+ * see if reply has a 'useful' rcode for capsforid comparison, so
+ * not SERVFAIL or REFUSED, and thus NOERROR or NXDOMAIN.
+ * @param rep: reply to check.
+ * @return true if the rcode is a bad type of message.
+ */
+int caps_failed_rcode(struct reply_info* rep);
+
+/**
* Store parent-side rrset in seperate rrset cache entries for later
* last-resort * lookups in case the child-side versions of this information
* fails.