X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=blobdiff_plain;f=src%2Fadns.h;h=400ba9f466b68a26bc303475be1c1d738cf6392d;hp=41bf699daea7b192013cf8098f1345c86cc1f37f;hb=eec1d9c837c2b0f0c64d74a3dbf25732c7c475f2;hpb=e2632eb98754dfc14592e9fcf96fd3ba4a5f6bf9 diff --git a/src/adns.h b/src/adns.h index 41bf699..400ba9f 100644 --- a/src/adns.h +++ b/src/adns.h @@ -48,7 +48,7 @@ typedef enum { typedef enum { adns_qf_search= 0x000001, /* use the searchlist */ adns_qf_usevc= 0x000002, /* use a virtual circuit (TCP connection) */ - adns_qf_owner= 0x000004, /* fill in the owner field in the answer fixme:do */ + adns_qf_owner= 0x000004, /* fill in the owner field in the answer */ adns_qf_quoteok_query= 0x000010, /* allow quote-requiring chars in query domain */ adns_qf_quoteok_cname= 0x000020, /* allow ... in CNAME we go via */ adns_qf_quoteok_anshost= 0x000040, /* allow ... in answers expected to be hostnames */ @@ -196,7 +196,7 @@ typedef struct { typedef struct { adns_status status; char *cname; /* always NULL if query was for CNAME records */ - char *owner; /* often NULL, depending on query flags */ + char *owner; /* only set if requested in query flags */ adns_rrtype type; /* guaranteed to be same as in query */ time_t expires; /* expiry time, defined only if _s_ok, nxdomain or nodata. NOT TTL! */ int nrrs, rrsz; @@ -272,7 +272,6 @@ int adns_wait(adns_state ads, adns_query *query_io, adns_answer **answer_r, void **context_r); -/* fixme: minor cache */ void adns_cancel(adns_query query);