X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/fcadeb25968afc703fb8f6053b67bf9b3374f8b7..42938084fac274dfa1c07ef15ebb4d1028edd2dd:/src/internal.h diff --git a/src/internal.h b/src/internal.h index 92b0d10..4144ec1 100644 --- a/src/internal.h +++ b/src/internal.h @@ -42,6 +42,7 @@ typedef unsigned char byte; #include +#define ADNS_FEATURE_MANYAF #include "adns.h" #include "dlist.h" @@ -109,6 +110,11 @@ typedef enum { rcode_refused } dns_rcode; +enum { + adns__qf_addr_answer= 0x01000000,/* addr query received an answer */ + adns__qf_addr_cname = 0x02000000 /* addr subquery performed on cname */ +}; + /* Shared data structures */ typedef struct { @@ -151,6 +157,9 @@ typedef struct { adns_rrtype rev_rrtype; struct af_addr addr; } ptr; + struct { + unsigned want, have; + } addr; } tinfo; /* type-specific state for the query itself: zero-init if you * don't know better. */