X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/3e2e5fab72e861e677586726f1420d2db3f1efd0..28de64428cfdb63ad07acfcfc254907b608d5137:/src/adns.h diff --git a/src/adns.h b/src/adns.h index c440222..96eb0a5 100644 --- 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. */ -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(). + * 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. */ /*