X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=blobdiff_plain;f=src%2Finternal.h;fp=src%2Finternal.h;h=5e3495610f24140c130c6a5ff45a48c8a242031c;hp=552db151b7ff495da637c416324c743fd7dd2c21;hb=66ade6021bca9f024d7bcd2b3ddeedf7a1b3a90c;hpb=1427b043b575b03a7e129e5cddb9db39ebdce722 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,