X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/e19f3aca56892d5c87d58a13d92e9e570c1bb548..40aade6563d5fed2670fe25501ab6dd9ce9c08a9:/src/adns.h diff --git a/src/adns.h b/src/adns.h index a3b6bde..732351e 100644 --- a/src/adns.h +++ b/src/adns.h @@ -19,7 +19,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: adns.h,v 1.41 1999/04/11 15:51:10 ian Exp $ + * $Id: adns.h,v 1.43 1999/04/11 18:14:20 ian Exp $ */ #ifndef ADNS_H_INCLUDED @@ -195,6 +195,7 @@ typedef struct { adns_status status; char *cname; /* always NULL if query was for CNAME records */ 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; union { void *untyped; @@ -268,8 +269,7 @@ int adns_wait(adns_state ads, adns_query *query_io, adns_answer **answer_r, void **context_r); -/* fixme: include TTL in answer somehow */ -/* fixme: easy way to get lists of fd's */ +/* fixme: minor cache */ void adns_cancel(adns_query query);