aboutsummaryrefslogtreecommitdiff
path: root/services/mesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/mesh.h')
-rw-r--r--services/mesh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/mesh.h b/services/mesh.h
index 5bd53e065e8f..26ececbe6210 100644
--- a/services/mesh.h
+++ b/services/mesh.h
@@ -673,11 +673,12 @@ void mesh_serve_expired_callback(void* arg);
* the same behavior as when replying from cache.
* @param qstate: the module qstate.
* @param lookup_qinfo: the query info to look for in the cache.
+ * @param is_expired: set if the cached answer is expired.
* @return dns_msg if a cached answer was found, otherwise NULL.
*/
struct dns_msg*
mesh_serve_expired_lookup(struct module_qstate* qstate,
- struct query_info* lookup_qinfo);
+ struct query_info* lookup_qinfo, int* is_expired);
/**
* See if the mesh has space for more queries. You can allocate queries