X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/c244361afe1cda10845960d6176e9b7a8dfa70a9..e1d31292a9c52afb49d6dcbb5dc140289774f8c7:/src/internal.h diff --git a/src/internal.h b/src/internal.h index a9ea879..f8f34c7 100644 --- a/src/internal.h +++ b/src/internal.h @@ -205,6 +205,11 @@ typedef struct typeinfo { * stuff.) May be 0 to mean nothing needs to be done. */ + int (*getrrsz)(adns_rrtype type); + /* 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