chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Also check specific query where applicable.
[adns]
/
src
/
adns.h
diff --git
a/src/adns.h
b/src/adns.h
index c440222d9f1f1ec2595cedbab6f596f128e42cc2..96eb0a5fd61073b66fcbf4290b717626237c46b8 100644
(file)
--- a/
src/adns.h
+++ b/
src/adns.h
@@
-381,9
+381,11
@@
adns_query adns_forallqueries_next(adns_state ads, void **context_r);
* context_r may be 0. *context_r may not be set when _next returns 0.
*/
* context_r may be 0. *context_r may not be set when _next returns 0.
*/
-void adns_checkconsistency(adns_state ads);
+void adns_checkconsistency(adns_state ads
, adns_query qu
);
/* Checks the consistency of adns's internal data structures.
* If any error is found, the program will abort().
/* Checks the consistency of adns's internal data structures.
* If any error is found, the program will abort().
+ * You may pass 0 for qu; if you pass non-null then additional checks
+ * are done to make sure that qu is a valid query.
*/
/*
*/
/*