X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/0288732570d2a52a069ab5e6c377450e30c6eee6..477b9c0b1054f927a3aa5194f8644fa94e513496:/src/internal.h diff --git a/src/internal.h b/src/internal.h index 552db15..5e34956 100644 --- a/src/internal.h +++ b/src/internal.h @@ -217,6 +217,12 @@ typedef struct typeinfo { /* Return the output resource-record element size; if this is null, then * the rrsz member can be used. */ + + void (*query_send)(adns_query qu, struct timeval now); + /* Send the query to nameservers, and hook it into the appropriate queue. + * Normal behaviour is to call adns__query_send, but this can be overridden + * for special effects. + */ } typeinfo; adns_status adns__ckl_hostname(adns_state ads, adns_queryflags flags,