summaryrefslogtreecommitdiffstats
path: root/lib/rules
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2023-05-04 12:48:27 +0200
committerVladimír Čunát <vladimir.cunat@nic.cz>2023-06-12 10:32:28 +0200
commit47b1c5e72855f73884cfed40d5ac381f07182ba2 (patch)
tree76887a638ec62c2831f289918e270a94b8d9fd79 /lib/rules
parentdoc comments: fix two cases of "@param is not found" (diff)
downloadknot-resolver-47b1c5e72855f73884cfed40d5ac381f07182ba2.tar.xz
knot-resolver-47b1c5e72855f73884cfed40d5ac381f07182ba2.zip
nits
Diffstat (limited to 'lib/rules')
-rw-r--r--lib/rules/api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rules/api.h b/lib/rules/api.h
index 16365ce1..7e2dd138 100644
--- a/lib/rules/api.h
+++ b/lib/rules/api.h
@@ -22,6 +22,8 @@ void kr_rules_deinit(void);
/** Try answering the query from local data.
*
+ * \return kr_error(): notably -ENOENT or 0
+ *
* FIXME: we probably want to ensure AA flags in answer as appropriate.
* Perhaps approach it like AD? Tweak flags in ranked_rr_array_entry
* and at the end decide whether to set AA=1?