diff options
Diffstat (limited to 'iterator/iter_utils.h')
| -rw-r--r-- | iterator/iter_utils.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/iterator/iter_utils.h b/iterator/iter_utils.h index e971d930b164..ccfb280224b3 100644 --- a/iterator/iter_utils.h +++ b/iterator/iter_utils.h @@ -369,4 +369,13 @@ int iter_ds_toolow(struct dns_msg* msg, struct delegpt* dp); */ int iter_dp_cangodown(struct query_info* qinfo, struct delegpt* dp); +/** + * Lookup if no_cache is set in stub or fwd. + * @param qstate: query state with env with hints and fwds. + * @param qinf: query name to lookup for. + * @return true if no_cache is set in stub or fwd. + */ +int iter_stub_fwd_no_cache(struct module_qstate *qstate, + struct query_info *qinf); + #endif /* ITERATOR_ITER_UTILS_H */ |
