X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/adns/blobdiff_plain/0288732570d2a52a069ab5e6c377450e30c6eee6..1382623344fca3a3bd55187ca031ab00c79adab0:/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,