X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/09957b1ca58af52bbc90e88ec198f14b8a06c0f7..f44558a28cc5dc20b43a78752dc61bd724168b67:/src/adns.h?ds=inline diff --git a/src/adns.h b/src/adns.h index d4ca0df..82f29d4 100644 --- a/src/adns.h +++ b/src/adns.h @@ -1,11 +1,9 @@ /* - * Copyright (C)1998 Ian Jackson. - * This version provided for review and comment only. - * - * $Id$ + * adns.h + * - adns user-visible API (single-threaded, without any locking) */ /* - * This file is part of adns, which is Copyright (C) 1997, 1998 Ian Jackson + * This file is part of adns, which is Copyright (C) 1997-1999 Ian Jackson * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,7 +17,9 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ */ #ifndef ADNS_H_INCLUDED @@ -135,8 +135,6 @@ typedef enum { adns_s_max_misconfig= 199, - /* fixme: implement _s_cname */ - /* permanent problems with the query */ adns_s_querydomainwrong, adns_s_querydomaininvalid, @@ -270,6 +268,8 @@ 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 */ void adns_cancel(adns_query query);