mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
Non portable type used. u_int32_t -> isc_uint32_t
This commit is contained in:
parent
fe4cf362bb
commit
bada60fd2a
@ -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
|
||||
|
@ -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 <config.h>
|
||||
|
||||
@ -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));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user