Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/external/mpl/bind/dist/lib/dns/include/dns/badcache.h,v rcsdiff: /ftp/cvs/cvsroot/src/external/mpl/bind/dist/lib/dns/include/dns/badcache.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1.1.1 retrieving revision 1.1.1.2 diff -u -p -r1.1.1.1 -r1.1.1.2 --- src/external/mpl/bind/dist/lib/dns/include/dns/badcache.h 2018/08/12 12:08:19 1.1.1.1 +++ src/external/mpl/bind/dist/lib/dns/include/dns/badcache.h 2019/01/09 16:48:22 1.1.1.2 @@ -1,4 +1,4 @@ -/* $NetBSD: badcache.h,v 1.1.1.1 2018/08/12 12:08:19 christos Exp $ */ +/* $NetBSD: badcache.h,v 1.1.1.2 2019/01/09 16:48:22 christos Exp $ */ /* * Copyright (C) Internet Systems Consortium, Inc. ("ISC") @@ -43,6 +43,9 @@ *** Imports ***/ +#include +#include + #include ISC_LANG_BEGINDECLS @@ -73,12 +76,12 @@ dns_badcache_destroy(dns_badcache_t **bc void dns_badcache_add(dns_badcache_t *bc, const dns_name_t *name, - dns_rdatatype_t type, isc_boolean_t update, - isc_uint32_t flags, isc_time_t *expire); + dns_rdatatype_t type, bool update, + uint32_t flags, isc_time_t *expire); /*% * Adds a badcache entry to the badcache 'bc' for name 'name' and * type 'type'. If an entry already exists, then it will be updated if - * 'update' is ISC_TRUE. The entry will be stored with flags 'flags' + * 'update' is true. The entry will be stored with flags 'flags' * and expiration date 'expire'. * * Requires: @@ -87,15 +90,15 @@ dns_badcache_add(dns_badcache_t *bc, con * \li expire != NULL */ -isc_boolean_t +bool dns_badcache_find(dns_badcache_t *bc, const dns_name_t *name, - dns_rdatatype_t type, isc_uint32_t *flagp, + dns_rdatatype_t type, uint32_t *flagp, isc_time_t *now); /*% - * Returns ISC_TRUE if a record is found in the badcache 'bc' matching + * Returns true if a record is found in the badcache 'bc' matching * 'name' and 'type', with an expiration date later than 'now'. * If 'flagp' is not NULL, then '*flagp' is updated to the flags - * that were stored in the badcache entry. Returns ISC_FALSE if + * that were stored in the badcache entry. Returns false if * no matching record is found. * * Requires: