X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fadns.h;h=698cfb4c5c8f6dfc7ec7bfc52b38a8263949d0da;hb=636b69b1a03bec395d304c354f4f2f8121b97150;hp=21bc52495d73960ac913dc01551657715215e25d;hpb=02b47faadfe03c3b302dadb78422e14648f07b50;p=adns.git 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);