zoneconf.c revision 3ddd814a97de1d152ba0913c592d6e6dc83d38a6
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * Copyright (C) 1999 Internet Software Consortium.
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * Permission to use, copy, modify, and distribute this software for any
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * purpose with or without fee is hereby granted, provided that the above
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * copyright notice and this permission notice appear in all copies.
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews/* XXX copied from zone.c */
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews#define MAX_XFER_TIME (2*3600) /* Documented default is 2 hours. */
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryver * Convenience function for configuring a single zone ACL.
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntconfigure_zone_acl(dns_c_zone_t *czone, dns_c_ctx_t *cctx,
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Hunt isc_result_t (*getcacl)(dns_c_zone_t *, dns_c_ipmatchlist_t **),
return (result);
return (ISC_R_SUCCESS);
return (ISC_R_SUCCESS);
return (result);
isc_uint32_t i;
const char *origin;
return (result);
return (result);
return (result);
case dns_c_zone_master:
return (result);
return (result);
return (result);
return (result);
return (result);
return (result);
return (result);
case dns_c_zone_forward:
#ifdef notyet
case dns_c_zone_slave:
return (result);
return (result);
return (result);
return (result);
case dns_c_zone_stub:
return (result);
return (result);
return (result);
return (result);
case dns_c_zone_hint:
return (result);
return (result);
return (DNS_R_SUCCESS);