zoneconf.c revision 1adb2e87a20a480e640385609c9652dac04c7dff
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 1999, 2000 Internet Software Consortium.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Permission to use, copy, modify, and distribute this software for any
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * purpose with or without fee is hereby granted, provided that the above
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * copyright notice and this permission notice appear in all copies.
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews#include <isc/string.h> /* Required for HP/UX (and others?) */
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * These are BIND9 server defaults, not necessarily identical to the
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * library defaults defined in zone.c.
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews#define MAX_XFER_TIME (2*3600) /* Documented default is 2 hours. */
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews#define RETERR(x) do { \
return (_r); \
static isc_result_t
dns_c_ipmatchlist_t **),
, dns_c_ipmatchlist_t **),
dns_c_ipmatchlist_t **),
return (result);
return (ISC_R_SUCCESS);
return (ISC_R_SUCCESS);
return (result);
static dns_zonetype_t
switch (cztype) {
case dns_c_zone_master:
return dns_zone_master;
case dns_c_zone_slave:
return dns_zone_slave;
case dns_c_zone_stub:
return dns_zone_stub;
INSIST(0);
#ifdef notyet
#ifdef notyet
&maxxfr);
&maxxfr);
&maxxfr);
&maxxfr);
case dns_c_zone_slave:
case dns_c_zone_stub:
&sockaddr);
&sockaddr);
&sockaddr);
return (ISC_R_SUCCESS);
const char *cfilename;
const char *zfilename;
return (ISC_FALSE);
return (ISC_FALSE);
return (ISC_TRUE);
return (ISC_R_SUCCESS);