chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/: New type hook `query_send'.
[adns]
/
src
/
internal.h
diff --git
a/src/internal.h
b/src/internal.h
index 552db151b7ff495da637c416324c743fd7dd2c21..5e3495610f24140c130c6a5ff45a48c8a242031c 100644
(file)
--- 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.
*/
/* 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,
} typeinfo;
adns_status adns__ckl_hostname(adns_state ads, adns_queryflags flags,