X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/d13d6381a4d0d09b7e2ab05a2c7c470f2de3c9fd..636b69b1a03bec395d304c354f4f2f8121b97150:/src/adns.h diff --git a/src/adns.h b/src/adns.h index 21bc524..698cfb4 100644 --- a/src/adns.h +++ b/src/adns.h @@ -32,6 +32,9 @@ extern "C" { /* I really dislike this - iwj. */ #include #include +#include +#include +#include /* All struct in_addr anywhere in adns are in NETWORK byte order. */ @@ -300,6 +303,9 @@ void adns_cancel(adns_query query); * first adns_submit or _transact call using the same adns_state after * it became invalid, so you may compare it for equality with other * query handles until you next call _query or _transact. + * + * _submit and _synchronous return ENOSYS if they don't understand the + * query type. */ void adns_finish(adns_state ads);