X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Finternal.h;h=c03a77b2f69199986e3cc32a70b94cce1b2126ef;hb=5d3224e9de99d596dc8d973a75266afc603a46cd;hp=121c6d8fb36afd9f3e12edd1f388384a2266f007;hpb=a5152eee264fb0dc8aa24ec82686e3eec7ffc970;p=adns.git diff --git a/src/internal.h b/src/internal.h index 121c6d8..c03a77b 100644 --- a/src/internal.h +++ b/src/internal.h @@ -895,6 +895,8 @@ adns__timeout_clear(adns_query qu) { qu->timeout_ms= 0; timerclear(&qu->timeout_started); } +int adns__gettimeofday(adns_state ads, struct timeval *tv_buf); + void adns__must_gettimeofday(adns_state ads, const struct timeval **now_io, struct timeval *tv_buf); /* Call with care - might reentrantly cause queries to be completed! */