diff --git a/lib/dns/include/dns/zone.h b/lib/dns/include/dns/zone.h index 46611d1d58..9a2100ea45 100644 --- a/lib/dns/include/dns/zone.h +++ b/lib/dns/include/dns/zone.h @@ -476,7 +476,7 @@ isc_result_t dns_zone_callback(dns_c_ctx_t *ctx, dns_c_zone_t *zone, void *uap); */ void -dns_zone_setxfrtime(dns_zone_t *zone, u_int32_t xfrtime); +dns_zone_setxfrtime(dns_zone_t *zone, isc_uint32_t xfrtime); /* * Set the maximum time (in seconds) that a zone transfer (AXFR/IXFR) * in of this zone will use before being aborted. @@ -486,7 +486,7 @@ dns_zone_setxfrtime(dns_zone_t *zone, u_int32_t xfrtime); * 'xfrtime' to be non zero. */ -u_int32_t dns_zone_getxfrtime(dns_zone_t *zone); +isc_uint32_t dns_zone_getxfrtime(dns_zone_t *zone); /* * Returns the maximum transfer time for this zone. This will be * either the value set by the last call to dns_zone_setxfrtime() or diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 94cd0b2a6e..03926e374d 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: zone.c,v 1.4 1999/09/08 01:09:48 halley Exp $ */ + /* $Id: zone.c,v 1.5 1999/09/09 23:25:51 marka Exp $ */ #include @@ -139,7 +139,7 @@ struct dns_zone { dns_fetch_t *fetch; dns_resolver_t *res; isc_socketmgr_t *socketmgr; - u_int32_t xfrtime; + isc_uint32_t xfrtime; }; #define DNS_ZONE_FLAG(z,f) (((z)->flags & (f)) != 0) @@ -2648,13 +2648,13 @@ dns_zone_setresolver(dns_zone_t *zone, dns_resolver_t *resolver) { } void -dns_zone_setxfrtime(dns_zone_t *zone, u_int32_t xfrtime) { +dns_zone_setxfrtime(dns_zone_t *zone, isc_uint32_t xfrtime) { REQUIRE(VALID_ZONE(zone)); REQUIRE(xfrtime != 0); zone->xfrtime = xfrtime; } -u_int32_t +isc_uint32_t dns_zone_getxfrtime(dns_zone_t *zone) { REQUIRE(VALID_ZONE(zone));